Searched refs:fib6_nh (Results 1 – 9 of 9) sorted by relevance
| /Linux-v4.19/net/ipv6/ |
| D | route.c | 445 if (fl6->mp_hash <= atomic_read(&match->fib6_nh.nh_upper_bound)) in fib6_multipath_select() 452 nh_upper_bound = atomic_read(&sibling->fib6_nh.nh_upper_bound); in fib6_multipath_select() 477 !(rt->fib6_nh.nh_flags & RTNH_F_DEAD)) in rt6_device_match() 481 const struct net_device *dev = sprt->fib6_nh.nh_dev; in rt6_device_match() 483 if (sprt->fib6_nh.nh_flags & RTNH_F_DEAD) in rt6_device_match() 499 return rt->fib6_nh.nh_flags & RTNH_F_DEAD ? net->ipv6.fib6_null_entry : rt; in rt6_device_match() 540 nh_gw = &rt->fib6_nh.nh_gw; in rt6_probe() 541 dev = rt->fib6_nh.nh_dev; in rt6_probe() 586 const struct net_device *dev = rt->fib6_nh.nh_dev; in rt6_check_dev() 603 neigh = __ipv6_neigh_lookup_noref(rt->fib6_nh.nh_dev, in rt6_check_neigh() [all …]
|
| D | ip6_fib.c | 203 lwtstate_put(f6i->fib6_nh.nh_lwtstate); in fib6_info_destroy_rcu() 205 if (f6i->fib6_nh.nh_dev) in fib6_info_destroy_rcu() 206 dev_put(f6i->fib6_nh.nh_dev); in fib6_info_destroy_rcu() 2269 seq_printf(seq, "%pi6", &rt->fib6_nh.nh_gw); in ipv6_route_seq_show() 2273 dev = rt->fib6_nh.nh_dev; in ipv6_route_seq_show()
|
| D | ndisc.c | 1279 neigh = ip6_neigh_lookup(&rt->fib6_nh.nh_gw, in ndisc_router_discovery() 1280 rt->fib6_nh.nh_dev, NULL, in ndisc_router_discovery() 1309 neigh = ip6_neigh_lookup(&rt->fib6_nh.nh_gw, in ndisc_router_discovery() 1310 rt->fib6_nh.nh_dev, NULL, in ndisc_router_discovery()
|
| D | addrconf.c | 2369 if (rt->fib6_nh.nh_dev->ifindex != dev->ifindex) in addrconf_get_prefix_route()
|
| /Linux-v4.19/include/net/ |
| D | ip6_route.h | 277 return a->fib6_nh.nh_dev == b->fib6_nh.nh_dev && in rt6_duplicate_nexthop() 278 ipv6_addr_equal(&a->fib6_nh.nh_gw, &b->fib6_nh.nh_gw) && in rt6_duplicate_nexthop() 279 !lwtunnel_cmp_encap(a->fib6_nh.nh_lwtstate, b->fib6_nh.nh_lwtstate); in rt6_duplicate_nexthop()
|
| D | ip6_fib.h | 126 struct fib6_nh { struct 176 struct fib6_nh fib6_nh; member 422 return f6i->fib6_nh.nh_dev; in fib6_info_nh_dev() 428 return f6i->fib6_nh.nh_lwtstate; in fib6_info_nh_lwt()
|
| /Linux-v4.19/include/trace/events/ |
| D | fib6.h | 65 if (f6i->fib6_nh.nh_dev) { 66 __assign_str(name, f6i->fib6_nh.nh_dev); 78 *in6 = f6i->fib6_nh.nh_gw;
|
| /Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_router.c | 2764 ifindex = mlxsw_sp_rt6->rt->fib6_nh.nh_dev->ifindex; in mlxsw_sp_nexthop6_group_cmp() 2765 weight = mlxsw_sp_rt6->rt->fib6_nh.nh_weight; in mlxsw_sp_nexthop6_group_cmp() 2766 gw = &mlxsw_sp_rt6->rt->fib6_nh.nh_gw; in mlxsw_sp_nexthop6_group_cmp() 2832 dev = mlxsw_sp_rt6->rt->fib6_nh.nh_dev; in mlxsw_sp_nexthop6_group_hash() 3834 if (nh->rif && nh->rif->dev == rt->fib6_nh.nh_dev && in mlxsw_sp_rt6_nexthop() 3836 &rt->fib6_nh.nh_gw)) in mlxsw_sp_rt6_nexthop() 3893 list)->rt->fib6_nh.nh_flags |= RTNH_F_OFFLOAD; in mlxsw_sp_fib6_entry_offload_set() 3903 mlxsw_sp_rt6->rt->fib6_nh.nh_flags |= RTNH_F_OFFLOAD; in mlxsw_sp_fib6_entry_offload_set() 3905 mlxsw_sp_rt6->rt->fib6_nh.nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_fib6_entry_offload_set() 3920 rt->fib6_nh.nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_fib6_entry_offload_unset() [all …]
|
| /Linux-v4.19/net/core/ |
| D | filter.c | 4437 if (f6i->fib6_nh.nh_lwtstate) in bpf_ipv6_fib_lookup() 4441 *dst = f6i->fib6_nh.nh_gw; in bpf_ipv6_fib_lookup() 4443 dev = f6i->fib6_nh.nh_dev; in bpf_ipv6_fib_lookup()
|