Searched refs:nhc_gw (Results 1 – 8 of 8) sorted by relevance
74 *p32 = nhc->nhc_gw.ipv4;83 *in6 = nhc->nhc_gw.ipv6;
22 #define fib_nh_gw6 nh_common.nhc_gw.ipv6
92 } nhc_gw; member119 #define fib_nh_gw4 nh_common.nhc_gw.ipv4120 #define fib_nh_gw6 nh_common.nhc_gw.ipv6
506 rdst->remote_ip.sin.sin_addr.s_addr = nhc->nhc_gw.ipv4; in vxlan_fdb_nh_path_select()510 rdst->remote_ip.sin6.sin6_addr = nhc->nhc_gw.ipv6; in vxlan_fdb_nh_path_select()
556 n = neigh_lookup(&arp_tbl, &nhc->nhc_gw.ipv4, nhc->nhc_dev); in fib_detect_death()558 n = neigh_lookup(ipv6_stub->nd_tbl, &nhc->nhc_gw.ipv6, in fib_detect_death()1670 if (nla_put_in_addr(skb, RTA_GATEWAY, nhc->nhc_gw.ipv4)) in fib_nexthop_info()1688 memcpy(via->rtvia_addr, &nhc->nhc_gw.ipv6, alen); in fib_nexthop_info()1690 &nhc->nhc_gw.ipv6) < 0) { in fib_nexthop_info()
1625 rt->rt_gw4 = nhc->nhc_gw.ipv4; in rt_set_nexthop()1627 rt->rt_gw6 = nhc->nhc_gw.ipv6; in rt_set_nexthop()1869 gw = nhc->nhc_gw_family == AF_INET ? nhc->nhc_gw.ipv4 : 0; in __mkroute_input()
2904 if (nhc->nhc_gw.ipv4) in fib_flag_trans()2955 gw = nhc->nhc_gw.ipv4; in fib_route_seq_show()
5392 params->ipv4_dst = nhc->nhc_gw.ipv4; in bpf_ipv4_fib_lookup()5400 *dst = nhc->nhc_gw.ipv6; in bpf_ipv4_fib_lookup()