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

    IS_IP6_TNL_LINK_ASSERT(link);

    memcpy(&ip6_tnl->remote, addr, sizeof(struct in6_addr));
    ip6_tnl->ip6_tnl_mask |= IP6_TNL_ATTR_REMOTE;

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

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