Home
last modified time | relevance | path

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

/linux-6.1.9/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.h59 #define fib_nh_gw6 nh_common.nhc_gw.ipv6 macro
/linux-6.1.9/include/net/
Dip6_route.h315 ipv6_addr_equal(&nha->fib_nh_gw6, &nhb->fib_nh_gw6) && in rt6_duplicate_nexthop()
Dip_fib.h123 #define fib_nh_gw6 nh_common.nhc_gw.ipv6 macro
/linux-6.1.9/include/trace/events/
Dfib6.h78 *in6 = res->nh->fib_nh_gw6;
/linux-6.1.9/net/ipv4/
Dfib_semantics.c318 ipv6_addr_cmp(&nh->fib_nh_gw6, &onh->fib_nh_gw6)) in nh_comp()
639 nh->fib_nh_gw6 = cfg->fc_gw6; in fib_nh_init()
782 ipv6_addr_cmp(&nh->fib_nh_gw6, &cfg->fc_gw6))) { in fib_get_nhs()
923 ipv6_addr_cmp(&cfg->fc_gw6, &nh->fib_nh_gw6)) in fib_nh_match()
984 &nh->fib_nh_gw6)) in fib_nh_match()
1057 .fc_gateway = nh->fib_nh_gw6, in fib_check_nh_v6_gw()
2201 &nh->fib_nh_gw6); in fib_good_nh()
Dnexthop.c755 nla_put_in6_addr(skb, NHA_GATEWAY, &fib6_nh->fib_nh_gw6)) in nh_fill_node()
1129 n = __ipv6_neigh_lookup_noref_stub(nh->fib_nh_dev, &nh->fib_nh_gw6); in ipv6_good_nh()
/linux-6.1.9/net/ipv6/
Droute.c634 nh_gw = &fib6_nh->fib_nh_gw6; in rt6_probe()
688 &fib6_nh->fib_nh_gw6); in rt6_check_neigh()
1132 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()
3002 if (!ipv6_addr_equal(gw, &nh->fib_nh_gw6)) { in ip6_redirect_nh_match()
3524 fib6_nh->fib_nh_gw6 = cfg->fc_gateway; in fib6_nh_init()
3584 fib6_nh->fib_nh_gw6 = cfg->fc_gateway; in fib6_nh_init()
4088 !ipv6_addr_equal(&cfg->fc_gateway, &nh->fib_nh_gw6)) in ip6_route_del()
4278 if (!ipv6_addr_equal(&rt->fib6_nh->fib_nh_gw6, gwaddr)) in rt6_get_route_info()
4345 ipv6_addr_equal(&nh->fib_nh_gw6, addr)) in rt6_get_dflt_router()
[all …]
Dndisc.c1357 neigh = ip6_neigh_lookup(&rt->fib6_nh->fib_nh_gw6, in ndisc_router_discovery()
1393 neigh = ip6_neigh_lookup(&rt->fib6_nh->fib_nh_gw6, in ndisc_router_discovery()
Dip6_fib.c2506 seq_printf(seq, "%pi6", &fib6_nh->fib_nh_gw6); in ipv6_route_native_seq_show()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c3226 gw = &fib6_nh->fib_nh_gw6; in mlxsw_sp_nexthop6_group_cmp()
3295 struct in6_addr *gw = &fib6_nh->fib_nh_gw6; in mlxsw_sp_nexthop6_group_hash()
5512 &rt->fib6_nh->fib_nh_gw6)) in mlxsw_sp_rt6_nexthop()
6507 memcpy(&nh->gw_addr, &rt->fib6_nh->fib_nh_gw6, sizeof(nh->gw_addr)); in mlxsw_sp_nexthop6_init()
/linux-6.1.9/net/core/
Dfilter.c5915 *dst = res.nh->fib_nh_gw6; in bpf_ipv6_fib_lookup()