Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/include/net/
Dip6_route.h314 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
/kernel/linux/linux-5.10/include/trace/events/
Dfib6.h78 *in6 = res->nh->fib_nh_gw6;
/kernel/linux/linux-5.10/net/ipv4/
Dfib_semantics.c317 ipv6_addr_cmp(&nh->fib_nh_gw6, &onh->fib_nh_gw6)) in nh_comp()
637 nh->fib_nh_gw6 = cfg->fc_gw6; in fib_nh_init()
780 ipv6_addr_cmp(&nh->fib_nh_gw6, &cfg->fc_gw6))) { in fib_get_nhs()
921 ipv6_addr_cmp(&cfg->fc_gw6, &nh->fib_nh_gw6)) in fib_nh_match()
982 &nh->fib_nh_gw6)) in fib_nh_match()
1054 .fc_gateway = nh->fib_nh_gw6, in fib_check_nh_v6_gw()
2214 &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()
/kernel/linux/linux-5.10/net/ipv6/
Droute.c629 nh_gw = &fib6_nh->fib_nh_gw6; in rt6_probe()
683 &fib6_nh->fib_nh_gw6); in rt6_check_neigh()
1127 rt->rt6i_gateway = nh->fib_nh_gw6; in ip6_rt_copy_init()
1947 (arg->gw && !ipv6_addr_equal(arg->gw, &nh->fib_nh_gw6))) in fib6_nh_find_match()
2878 if (!ipv6_addr_equal(gw, &nh->fib_nh_gw6)) { in ip6_redirect_nh_match()
3424 fib6_nh->fib_nh_gw6 = cfg->fc_gateway; in fib6_nh_init()
3484 fib6_nh->fib_nh_gw6 = cfg->fc_gateway; in fib6_nh_init()
4003 !ipv6_addr_equal(&cfg->fc_gateway, &nh->fib_nh_gw6)) in ip6_route_del()
4193 if (!ipv6_addr_equal(&rt->fib6_nh->fib_nh_gw6, gwaddr)) in rt6_get_route_info()
4260 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c2955 gw = &fib6_nh->fib_nh_gw6; in mlxsw_sp_nexthop6_group_cmp()
3023 struct in6_addr *gw = &fib6_nh->fib_nh_gw6; in mlxsw_sp_nexthop6_group_hash()
4150 &rt->fib6_nh->fib_nh_gw6)) in mlxsw_sp_rt6_nexthop()
5141 memcpy(&nh->gw_addr, &rt->fib6_nh->fib_nh_gw6, sizeof(nh->gw_addr)); in mlxsw_sp_nexthop6_init()
/kernel/linux/linux-5.10/net/core/
Dfilter.c5507 *dst = res.nh->fib_nh_gw6; in bpf_ipv6_fib_lookup()