Home
last modified time | relevance | path

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

/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dbpf_iter_ipv6_route.c42 BPF_SEQ_PRINTF(seq, "%pi6 ", &fib6_nh->fib_nh_gw6); in dump_ipv6_route()
Dbpf_tracing_net.h30 #define fib_nh_gw6 nh_common.nhc_gw.ipv6 macro
/Linux-v5.15/include/net/
Dip6_route.h315 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.15/include/trace/events/
Dfib6.h78 *in6 = res->nh->fib_nh_gw6;
/Linux-v5.15/net/ipv4/
Dfib_semantics.c311 ipv6_addr_cmp(&nh->fib_nh_gw6, &onh->fib_nh_gw6)) in nh_comp()
628 nh->fib_nh_gw6 = cfg->fc_gw6; in fib_nh_init()
746 ipv6_addr_cmp(&nh->fib_nh_gw6, &cfg->fc_gw6))) { in fib_get_nhs()
880 ipv6_addr_cmp(&cfg->fc_gw6, &nh->fib_nh_gw6)) in fib_nh_match()
935 &nh->fib_nh_gw6)) in fib_nh_match()
1001 .fc_gateway = nh->fib_nh_gw6, in fib_check_nh_v6_gw()
2167 &nh->fib_nh_gw6); in fib_good_nh()
Dnexthop.c754 nla_put_in6_addr(skb, NHA_GATEWAY, &fib6_nh->fib_nh_gw6)) in nh_fill_node()
1128 n = __ipv6_neigh_lookup_noref_stub(nh->fib_nh_dev, &nh->fib_nh_gw6); in ipv6_good_nh()
/Linux-v5.15/net/ipv6/
Droute.c631 nh_gw = &fib6_nh->fib_nh_gw6; in rt6_probe()
685 &fib6_nh->fib_nh_gw6); in rt6_check_neigh()
1129 rt->rt6i_gateway = nh->fib_nh_gw6; in ip6_rt_copy_init()
1949 (arg->gw && !ipv6_addr_equal(arg->gw, &nh->fib_nh_gw6))) in fib6_nh_find_match()
3006 if (!ipv6_addr_equal(gw, &nh->fib_nh_gw6)) { in ip6_redirect_nh_match()
3534 fib6_nh->fib_nh_gw6 = cfg->fc_gateway; in fib6_nh_init()
3594 fib6_nh->fib_nh_gw6 = cfg->fc_gateway; in fib6_nh_init()
4093 !ipv6_addr_equal(&cfg->fc_gateway, &nh->fib_nh_gw6)) in ip6_route_del()
4283 if (!ipv6_addr_equal(&rt->fib6_nh->fib_nh_gw6, gwaddr)) in rt6_get_route_info()
4350 ipv6_addr_equal(&nh->fib_nh_gw6, addr)) in rt6_get_dflt_router()
[all …]
Dndisc.c1296 neigh = ip6_neigh_lookup(&rt->fib6_nh->fib_nh_gw6, in ndisc_router_discovery()
1329 neigh = ip6_neigh_lookup(&rt->fib6_nh->fib_nh_gw6, in ndisc_router_discovery()
Dip6_fib.c2504 seq_printf(seq, "%pi6", &fib6_nh->fib_nh_gw6); in ipv6_route_native_seq_show()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c3196 gw = &fib6_nh->fib_nh_gw6; in mlxsw_sp_nexthop6_group_cmp()
3265 struct in6_addr *gw = &fib6_nh->fib_nh_gw6; in mlxsw_sp_nexthop6_group_hash()
5408 &rt->fib6_nh->fib_nh_gw6)) in mlxsw_sp_rt6_nexthop()
6584 memcpy(&nh->gw_addr, &rt->fib6_nh->fib_nh_gw6, sizeof(nh->gw_addr)); in mlxsw_sp_nexthop6_init()
/Linux-v5.15/net/core/
Dfilter.c5596 *dst = res.nh->fib_nh_gw6; in bpf_ipv6_fib_lookup()