Searched refs:rtvia_addr (Results 1 – 5 of 5) sorted by relevance
/linux/net/ipv4/ |
A D | fib_frontend.c | 683 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 D | fib_semantics.c | 1672 memcpy(via->rtvia_addr, &nhc->nhc_gw.ipv6, alen); in fib_nexthop_info()
|
A D | route.c | 2985 memcpy(via->rtvia_addr, &rt->rt_gw6, alen); in rt_fill_info()
|
/linux/net/mpls/ |
A D | af_mpls.c | 726 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 D | rtnetlink.h | 434 __u8 rtvia_addr[0]; member
|
Completed in 22 milliseconds