Home
last modified time | relevance | path

Searched refs:nhc_dev (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.15/include/net/
Dip_fib.h81 struct net_device *nhc_dev; member
113 #define fib_nh_dev nh_common.nhc_dev
204 #define FIB_RES_DEV(res) (FIB_RES_NHC(res)->nhc_dev)
454 if (nhc->nhc_dev == dev || in nhc_l3mdev_matches_dev()
455 l3mdev_master_ifindex_rcu(nhc->nhc_dev) == dev->ifindex) in nhc_l3mdev_matches_dev()
/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dbpf_tracing_net.h28 #define fib_nh_dev nh_common.nhc_dev
/Linux-v5.15/net/ipv4/
Dfib_semantics.c211 dev_put(nhc->nhc_dev); in fib_nh_common_release()
547 n = neigh_lookup(&arp_tbl, &nhc->nhc_gw.ipv4, nhc->nhc_dev); in fib_detect_death()
550 nhc->nhc_dev); in fib_detect_death()
1294 return inet_select_addr(nhc->nhc_dev, 0, scope); in fib_info_update_nhc_saddr()
1604 if (ip_ignore_linkdown(nhc->nhc_dev)) in fib_nexthop_info()
1608 if (ip6_ignore_linkdown(nhc->nhc_dev)) in fib_nexthop_info()
1646 if (!skip_oif && nhc->nhc_dev && in fib_nexthop_info()
1647 nla_put_u32(skb, RTA_OIF, nhc->nhc_dev->ifindex)) in fib_nexthop_info()
1666 const struct net_device *dev = nhc->nhc_dev; in fib_add_nexthop()
Dfib_rules.c152 dev = nhc->nhc_dev; in fib4_rule_suppress()
Dnexthop.c87 nh_info->dev = nhi->fib_nhc.nhc_dev; in __nh_notifier_single_info_init()
455 struct net_device *dev = nhi->fib_nhc.nhc_dev; in nexthop_devhash_add()
737 dev = nhi->fib_nhc.nhc_dev; in nh_fill_node()
1875 if (nhi->fib_nhc.nhc_dev) in __remove_nexthop()
2362 if (nhi->fib_nhc.nhc_dev != dev) in nexthop_flush_dev()
3055 dev = nhi->fib_nhc.nhc_dev; in nh_dump_filtered()
3532 if (nhi->fib_nhc.nhc_dev == dev) { in nexthop_sync_mtu()
Dfib_frontend.c227 if (!dev || dev == nhc->nhc_dev) in __inet_dev_addr_type()
327 if (fib_info_nhc(fi, 0)->nhc_dev == dev) in fib_info_nh_uses_dev()
Dfib_trie.c1417 if (ip_ignore_linkdown(nhc->nhc_dev) && in fib_lookup_good_nhc()
2987 nhc->nhc_dev ? nhc->nhc_dev->name : "*", in fib_route_seq_show()
Droute.c646 genid = fnhe_genid(dev_net(nhc->nhc_dev)); in update_or_create_fnhe()
1390 struct net_device *dev = nhc->nhc_dev; in ip_mtu_from_fib_result()
1781 struct net_device *dev = nhc->nhc_dev; in __mkroute_input()
2187 dev = l3mdev_master_dev_rcu(nhc->nhc_dev); in ip_rt_get_dev()
/Linux-v5.15/include/trace/events/
Dfib.h68 dev = nhc ? nhc->nhc_dev : NULL;
/Linux-v5.15/net/core/
Dfilter.c5469 dev = nhc->nhc_dev; in bpf_ipv4_fib_lookup()