Home
last modified time | relevance | path

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

/linux/include/net/
A 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/tools/testing/selftests/bpf/progs/
A Dbpf_tracing_net.h28 #define fib_nh_dev nh_common.nhc_dev
/linux/net/ipv4/
A 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()
1331 return inet_select_addr(nhc->nhc_dev, 0, scope); in fib_info_update_nhc_saddr()
1641 if (ip_ignore_linkdown(nhc->nhc_dev)) in fib_nexthop_info()
1645 if (ip6_ignore_linkdown(nhc->nhc_dev)) in fib_nexthop_info()
1683 if (!skip_oif && nhc->nhc_dev && in fib_nexthop_info()
1684 nla_put_u32(skb, RTA_OIF, nhc->nhc_dev->ifindex)) in fib_nexthop_info()
1703 const struct net_device *dev = nhc->nhc_dev; in fib_add_nexthop()
A Dfib_rules.c153 dev = nhc->nhc_dev; in fib4_rule_suppress()
A 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()
2383 if (nhi->fib_nhc.nhc_dev != dev) in nexthop_flush_dev()
3080 dev = nhi->fib_nhc.nhc_dev; in nh_dump_filtered()
3557 if (nhi->fib_nhc.nhc_dev == dev) { in nexthop_sync_mtu()
A 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()
A 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()
A Droute.c638 genid = fnhe_genid(dev_net(nhc->nhc_dev)); in update_or_create_fnhe()
1382 struct net_device *dev = nhc->nhc_dev; in ip_mtu_from_fib_result()
1773 struct net_device *dev = nhc->nhc_dev; in __mkroute_input()
2179 dev = l3mdev_master_dev_rcu(nhc->nhc_dev); in ip_rt_get_dev()
/linux/include/trace/events/
A Dfib.h68 dev = nhc ? nhc->nhc_dev : NULL;
/linux/net/core/
A Dfilter.c5469 dev = nhc->nhc_dev; in bpf_ipv4_fib_lookup()

Completed in 47 milliseconds