Home
last modified time | relevance | path

Searched refs:fib_nh_gw6 (Results 1 - 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_ipv6_route.c43 BPF_SEQ_PRINTF(seq, "%pi6 ", &fib6_nh->fib_nh_gw6); in dump_ipv6_route()
H A Dbpf_tracing_net.h22 #define fib_nh_gw6 nh_common.nhc_gw.ipv6 macro
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dbpf_iter_ipv6_route.c42 BPF_SEQ_PRINTF(seq, "%pi6 ", &fib6_nh->fib_nh_gw6); in dump_ipv6_route()
H A Dbpf_tracing_net.h68 #define fib_nh_gw6 nh_common.nhc_gw.ipv6 macro
/kernel/linux/linux-5.10/include/trace/events/
H A Dfib6.h78 *in6 = res->nh->fib_nh_gw6;
/kernel/linux/linux-6.6/include/trace/events/
H A Dfib6.h75 *in6 = res->nh->fib_nh_gw6;
/kernel/linux/linux-5.10/net/ipv4/
H A Dfib_semantics.c319 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()
2224 &nh->fib_nh_gw6); in fib_good_nh()
H A Dnexthop.c287 nla_put_in6_addr(skb, NHA_GATEWAY, &fib6_nh->fib_nh_gw6)) in nh_fill_node()
517 n = __ipv6_neigh_lookup_noref_stub(nh->fib_nh_dev, &nh->fib_nh_gw6); in ipv6_good_nh()
/kernel/linux/linux-6.6/net/ipv4/
H A Dfib_semantics.c319 ipv6_addr_cmp(&nh->fib_nh_gw6, &onh->fib_nh_gw6)) in nh_comp()
640 nh->fib_nh_gw6 = cfg->fc_gw6; in fib_nh_init()
783 ipv6_addr_cmp(&nh->fib_nh_gw6, &cfg->fc_gw6))) { in fib_get_nhs()
924 ipv6_addr_cmp(&cfg->fc_gw6, &nh->fib_nh_gw6)) in fib_nh_match()
985 &nh->fib_nh_gw6)) in fib_nh_match()
1058 .fc_gateway = nh->fib_nh_gw6, in fib_check_nh_v6_gw()
2209 &nh->fib_nh_gw6); in fib_good_nh()
H A 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()
/kernel/linux/linux-5.10/include/net/
H A Dip6_route.h314 ipv6_addr_equal(&nha->fib_nh_gw6, &nhb->fib_nh_gw6) && in rt6_duplicate_nexthop()
H A Dip_fib.h120 #define fib_nh_gw6 nh_common.nhc_gw.ipv6 macro
/kernel/linux/linux-6.6/include/net/
H A Dip6_route.h311 ipv6_addr_equal(&nha->fib_nh_gw6, &nhb->fib_nh_gw6) && in rt6_duplicate_nexthop()
H A Dip_fib.h123 #define fib_nh_gw6 nh_common.nhc_gw.ipv6 macro
/kernel/linux/linux-5.10/net/ipv6/
H A Droute.c630 nh_gw = &fib6_nh->fib_nh_gw6; in rt6_probe()
686 &fib6_nh->fib_nh_gw6); in rt6_check_neigh()
1130 rt->rt6i_gateway = nh->fib_nh_gw6; in ip6_rt_copy_init()
1951 (arg->gw && !ipv6_addr_equal(arg->gw, &nh->fib_nh_gw6))) in fib6_nh_find_match()
2882 if (!ipv6_addr_equal(gw, &nh->fib_nh_gw6)) { in ip6_redirect_nh_match()
3425 fib6_nh->fib_nh_gw6 = cfg->fc_gateway; in fib6_nh_init()
3485 fib6_nh->fib_nh_gw6 = cfg->fc_gateway; in fib6_nh_init()
4004 !ipv6_addr_equal(&cfg->fc_gateway, &nh->fib_nh_gw6)) in ip6_route_del()
4194 if (!ipv6_addr_equal(&rt->fib6_nh->fib_nh_gw6, gwaddr)) in rt6_get_route_info()
4261 ipv6_addr_equal(&nh->fib_nh_gw6, add in rt6_get_dflt_router()
[all...]
H A Dndisc.c1302 neigh = ip6_neigh_lookup(&rt->fib6_nh->fib_nh_gw6, in ndisc_router_discovery()
1332 neigh = ip6_neigh_lookup(&rt->fib6_nh->fib_nh_gw6, in ndisc_router_discovery()
H A Dip6_fib.c2500 seq_printf(seq, "%pi6", &fib6_nh->fib_nh_gw6); in ipv6_route_native_seq_show()
/kernel/linux/linux-6.6/net/ipv6/
H A Droute.c635 nh_gw = &fib6_nh->fib_nh_gw6; in rt6_probe()
689 &fib6_nh->fib_nh_gw6); in rt6_check_neigh()
1133 rt->rt6i_gateway = nh->fib_nh_gw6; in ip6_rt_copy_init()
1950 (arg->gw && !ipv6_addr_equal(arg->gw, &nh->fib_nh_gw6))) in fib6_nh_find_match()
3004 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()
3586 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, add in rt6_get_dflt_router()
[all...]
H A 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()
H A Dip6_fib.c2501 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/
H A 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-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c3397 gw = &fib6_nh->fib_nh_gw6; in mlxsw_sp_nexthop6_group_cmp()
3466 struct in6_addr *gw = &fib6_nh->fib_nh_gw6; in mlxsw_sp_nexthop6_group_hash()
5736 &rt->fib6_nh->fib_nh_gw6)) in mlxsw_sp_rt6_nexthop()
6732 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/
H A Dfilter.c5590 *dst = res.nh->fib_nh_gw6; in bpf_ipv6_fib_lookup()
/kernel/linux/linux-6.6/net/core/
H A Dfilter.c6045 *dst = res.nh->fib_nh_gw6; in bpf_ipv6_fib_lookup()

Completed in 89 milliseconds