Home
last modified time | relevance | path

Searched refs:fib_nh_gw6 (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dbpf_iter_ipv6_route.c43 BPF_SEQ_PRINTF(seq, "%pi6 ", &fib6_nh->fib_nh_gw6); in dump_ipv6_route()
Dbpf_tracing_net.h22 #define fib_nh_gw6 nh_common.nhc_gw.ipv6 macro
/Linux-v5.10/include/net/
Dip6_route.h307 ipv6_addr_equal(&nha->fib_nh_gw6, &nhb->fib_nh_gw6) && in rt6_duplicate_nexthop()
Dip_fib.h120 #define fib_nh_gw6 nh_common.nhc_gw.ipv6 macro
/Linux-v5.10/include/trace/events/
Dfib6.h78 *in6 = res->nh->fib_nh_gw6;
/Linux-v5.10/net/ipv4/
Dfib_semantics.c313 ipv6_addr_cmp(&nh->fib_nh_gw6, &onh->fib_nh_gw6)) in nh_comp()
629 nh->fib_nh_gw6 = cfg->fc_gw6; in fib_nh_init()
747 ipv6_addr_cmp(&nh->fib_nh_gw6, &cfg->fc_gw6))) { in fib_get_nhs()
881 ipv6_addr_cmp(&cfg->fc_gw6, &nh->fib_nh_gw6)) in fib_nh_match()
936 &nh->fib_nh_gw6)) in fib_nh_match()
1002 .fc_gateway = nh->fib_nh_gw6, in fib_check_nh_v6_gw()
2164 &nh->fib_nh_gw6); in fib_good_nh()
Dnexthop.c286 nla_put_in6_addr(skb, NHA_GATEWAY, &fib6_nh->fib_nh_gw6)) in nh_fill_node()
516 n = __ipv6_neigh_lookup_noref_stub(nh->fib_nh_dev, &nh->fib_nh_gw6); in ipv6_good_nh()
/Linux-v5.10/net/ipv6/
Droute.c646 nh_gw = &fib6_nh->fib_nh_gw6; in rt6_probe()
700 &fib6_nh->fib_nh_gw6); in rt6_check_neigh()
1144 rt->rt6i_gateway = nh->fib_nh_gw6; in ip6_rt_copy_init()
1954 (arg->gw && !ipv6_addr_equal(arg->gw, &nh->fib_nh_gw6))) in fib6_nh_find_match()
2885 if (!ipv6_addr_equal(gw, &nh->fib_nh_gw6)) { in ip6_redirect_nh_match()
3430 fib6_nh->fib_nh_gw6 = cfg->fc_gateway; in fib6_nh_init()
3490 fib6_nh->fib_nh_gw6 = cfg->fc_gateway; in fib6_nh_init()
3986 !ipv6_addr_equal(&cfg->fc_gateway, &nh->fib_nh_gw6)) in ip6_route_del()
4176 if (!ipv6_addr_equal(&rt->fib6_nh->fib_nh_gw6, gwaddr)) in rt6_get_route_info()
4243 ipv6_addr_equal(&nh->fib_nh_gw6, addr)) in rt6_get_dflt_router()
[all …]
Dndisc.c1295 neigh = ip6_neigh_lookup(&rt->fib6_nh->fib_nh_gw6, in ndisc_router_discovery()
1325 neigh = ip6_neigh_lookup(&rt->fib6_nh->fib_nh_gw6, in ndisc_router_discovery()
Dip6_fib.c2500 seq_printf(seq, "%pi6", &fib6_nh->fib_nh_gw6); in ipv6_route_native_seq_show()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2952 gw = &fib6_nh->fib_nh_gw6; in mlxsw_sp_nexthop6_group_cmp()
3020 struct in6_addr *gw = &fib6_nh->fib_nh_gw6; in mlxsw_sp_nexthop6_group_hash()
4147 &rt->fib6_nh->fib_nh_gw6)) in mlxsw_sp_rt6_nexthop()
5138 memcpy(&nh->gw_addr, &rt->fib6_nh->fib_nh_gw6, sizeof(nh->gw_addr)); in mlxsw_sp_nexthop6_init()
/Linux-v5.10/net/core/
Dfilter.c5496 *dst = res.nh->fib_nh_gw6; in bpf_ipv6_fib_lookup()