openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/libnl/1_3.4.0-r0/libnl-3.4.0/lib/route/link/ip6tnl.c
int rtnl_link_ip6_tnl_set_ttl(struct rtnl_link* link, uint8_t ttl)
{
    struct ip6_tnl_info* ip6_tnl = link->l_info;

    IS_IP6_TNL_LINK_ASSERT(link);

    ip6_tnl->ttl = ttl;
    ip6_tnl->ip6_tnl_mask |= IP6_TNL_ATTR_TTL;

    return 0;
}
/**
 * Set IP6_TNL tunnel ttl
 * @arg link            Link object
 * @arg ttl             tunnel ttl
 *
 * @return 0 on success or a negative error code
 */
Set IP6_TNL tunnel ttl
@arg link            Link object
@arg ttl             tunnel ttl

@return 0 on success or a negative error code
Set IP6_TNL tunnel ttl @arg link Link object @arg ttl tunnel ttl @return 0 on success or a negative error code
int rtnl_link_ip6_tnl_set_ttl(struct rtnl_link* link, uint8_t ttl)
{
    struct ip6_tnl_info* ip6_tnl = link->l_info;
    IS_IP6_TNL_LINK_ASSERT(link);
    ip6_tnl->ttl = ttl;
    ip6_tnl->ip6_tnl_mask |= IP6_TNL_ATTR_TTL;
    return 0;
}
int rtnl_link_ip6_tnl_set_ttl ( struct rtnl_link * link , uint8_t ttl ) { struct ip6_tnl_info * ip6_tnl = link -> l_info ; IS_IP6_TNL_LINK_ASSERT ( link ) ; ip6_tnl -> ttl = ttl ; ip6_tnl -> ip6_tnl_mask |= IP6_TNL_ATTR_TTL ; return 0 ; }
Set IP6_TNL tunnel ttl
 @arg link            Link object
 @arg ttl             tunnel ttl
Set IP6_TNL tunnel ttl @arg link Link object @arg ttl tunnel ttl