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

    IS_IPGRE_LINK_ASSERT(link);

    return ipgre->link;
}
/**
 * Get IPGRE tunnel interface index
 * @arg link            Link object
 *
 * @return interface index
 */
Get IPGRE tunnel interface index
@arg link            Link object

@return interface index
Get IPGRE tunnel interface index @arg link Link object @return interface index
uint32_t rtnl_link_ipgre_get_link(struct rtnl_link* link)
{
    struct ipgre_info* ipgre = link->l_info;
    IS_IPGRE_LINK_ASSERT(link);
    return ipgre->link;
}
uint32_t rtnl_link_ipgre_get_link ( struct rtnl_link * link ) { struct ipgre_info * ipgre = link -> l_info ; IS_IPGRE_LINK_ASSERT ( link ) ; return ipgre -> link ; }
Get IPGRE tunnel interface index
 @arg link            Link object
Get IPGRE tunnel interface index @arg link Link object