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/ipgre.c
int rtnl_link_ipgre_set_tos(struct rtnl_link* link, uint8_t tos)
{
    struct ipgre_info* ipgre = link->l_info;

    IS_IPGRE_LINK_ASSERT(link);

    ipgre->tos = tos;
    ipgre->ipgre_mask |= IPGRE_ATTR_TOS;

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

@return 0 on success or a negative error code
Set IPGRE tunnel tos @arg link Link object @arg tos tunnel tos @return 0 on success or a negative error code
int rtnl_link_ipgre_set_tos(struct rtnl_link* link, uint8_t tos)
{
    struct ipgre_info* ipgre = link->l_info;
    IS_IPGRE_LINK_ASSERT(link);
    ipgre->tos = tos;
    ipgre->ipgre_mask |= IPGRE_ATTR_TOS;
    return 0;
}
int rtnl_link_ipgre_set_tos ( struct rtnl_link * link , uint8_t tos ) { struct ipgre_info * ipgre = link -> l_info ; IS_IPGRE_LINK_ASSERT ( link ) ; ipgre -> tos = tos ; ipgre -> ipgre_mask |= IPGRE_ATTR_TOS ; return 0 ; }
Set IPGRE tunnel tos
 @arg link            Link object
 @arg tos             tunnel tos
Set IPGRE tunnel tos @arg link Link object @arg tos tunnel tos