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_get_local(struct rtnl_link* link, struct in6_addr* addr)
{
    struct ip6_tnl_info* ip6_tnl = link->l_info;

    IS_IP6_TNL_LINK_ASSERT(link);

    memcpy(addr, &ip6_tnl->local, sizeof(struct in6_addr));

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

@return 0 on success or a negative error code
Get IP6_TNL tunnel local address @arg link Link object @return 0 on success or a negative error code
int rtnl_link_ip6_tnl_get_local(struct rtnl_link* link, struct in6_addr* addr)
{
    struct ip6_tnl_info* ip6_tnl = link->l_info;
    IS_IP6_TNL_LINK_ASSERT(link);
    memcpy(addr, &ip6_tnl->local, sizeof(struct in6_addr));
    return 0;
}
int rtnl_link_ip6_tnl_get_local ( struct rtnl_link * link , struct in6_addr * addr ) { struct ip6_tnl_info * ip6_tnl = link -> l_info ; IS_IP6_TNL_LINK_ASSERT ( link ) ; memcpy ( addr , & ip6_tnl -> local , sizeof ( struct in6_addr ) ) ; return 0 ; }
Get IP6_TNL tunnel local address
 @arg link            Link object
Get IP6_TNL tunnel local address @arg link Link object