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_okey(struct rtnl_link* link, uint32_t okey)
{
    struct ipgre_info* ipgre = link->l_info;

    IS_IPGRE_LINK_ASSERT(link);

    ipgre->okey = okey;
    ipgre->ipgre_mask |= IPGRE_ATTR_OKEY;

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

@return 0 on success or a negative error code
Set IPGRE tunnel set okey @arg link Link object @arg okey gre okey @return 0 on success or a negative error code
int rtnl_link_ipgre_set_okey(struct rtnl_link* link, uint32_t okey)
{
    struct ipgre_info* ipgre = link->l_info;
    IS_IPGRE_LINK_ASSERT(link);
    ipgre->okey = okey;
    ipgre->ipgre_mask |= IPGRE_ATTR_OKEY;
    return 0;
}
int rtnl_link_ipgre_set_okey ( struct rtnl_link * link , uint32_t okey ) { struct ipgre_info * ipgre = link -> l_info ; IS_IPGRE_LINK_ASSERT ( link ) ; ipgre -> okey = okey ; ipgre -> ipgre_mask |= IPGRE_ATTR_OKEY ; return 0 ; }
Set IPGRE tunnel set okey
 @arg link            Link object
 @arg okey            gre okey
Set IPGRE tunnel set okey @arg link Link object @arg okey gre okey