Home
last modified time | relevance | path

Searched refs:rtvia_addr (Results 1 – 5 of 5) sorted by relevance

/linux/net/ipv4/
A Dfib_frontend.c683 if (nla_len(nla) < offsetof(struct rtvia, rtvia_addr)) { in fib_gw_from_via()
689 alen = nla_len(nla) - offsetof(struct rtvia, rtvia_addr); in fib_gw_from_via()
698 cfg->fc_gw4 = *((__be32 *)via->rtvia_addr); in fib_gw_from_via()
707 cfg->fc_gw6 = *((struct in6_addr *)via->rtvia_addr); in fib_gw_from_via()
A Dfib_semantics.c1672 memcpy(via->rtvia_addr, &nhc->nhc_gw.ipv6, alen); in fib_nexthop_info()
A Droute.c2985 memcpy(via->rtvia_addr, &rt->rt_gw6, alen); in rt_fill_info()
/linux/net/mpls/
A Daf_mpls.c726 if (nla_len(nla) < offsetof(struct rtvia, rtvia_addr)) { in nla_get_via()
732 offsetof(struct rtvia, rtvia_addr); in nla_get_via()
759 memcpy(via_addr, via->rtvia_addr, alen); in nla_get_via()
853 offsetof(struct rtvia, rtvia_addr)) { in mpls_count_nexthops()
855 offsetof(struct rtvia, rtvia_addr); in mpls_count_nexthops()
1695 memcpy(via->rtvia_addr, addr, alen); in nla_put_via()
/linux/include/uapi/linux/
A Drtnetlink.h434 __u8 rtvia_addr[0]; member

Completed in 22 milliseconds