Symbol: nexthop
drivers/net/ethernet/intel/fm10k/fm10k_pf.c
1640
fm10k_record_global_table_data(&err_msg.nexthop, &hw->swapi.nexthop);
drivers/net/ethernet/intel/fm10k/fm10k_pf.h
81
struct fm10k_global_table_data nexthop;
drivers/net/ethernet/intel/fm10k/fm10k_type.h
563
struct fm10k_swapi_table_info nexthop;
drivers/net/netdevsim/fib.c
1115
struct nsim_nexthop *nexthop;
drivers/net/netdevsim/fib.c
1119
nexthop = kzalloc_obj(*nexthop);
drivers/net/netdevsim/fib.c
1120
if (!nexthop)
drivers/net/netdevsim/fib.c
1123
nexthop->id = info->id;
drivers/net/netdevsim/fib.c
1139
nexthop->is_resilient = true;
drivers/net/netdevsim/fib.c
1143
kfree(nexthop);
drivers/net/netdevsim/fib.c
1147
nexthop->occ = occ;
drivers/net/netdevsim/fib.c
1148
return nexthop;
drivers/net/netdevsim/fib.c
1151
static void nsim_nexthop_destroy(struct nsim_nexthop *nexthop)
drivers/net/netdevsim/fib.c
1153
kfree(nexthop);
drivers/net/netdevsim/fib.c
1184
const struct nsim_nexthop *nexthop,
drivers/net/netdevsim/fib.c
1189
nexthop_set_hw_flags(net, nexthop->id, false, trap);
drivers/net/netdevsim/fib.c
1191
if (!nexthop->is_resilient)
drivers/net/netdevsim/fib.c
1194
for (i = 0; i < nexthop->occ; i++)
drivers/net/netdevsim/fib.c
1195
nexthop_bucket_set_hw_flags(net, nexthop->id, i, false, trap);
drivers/net/netdevsim/fib.c
1199
struct nsim_nexthop *nexthop,
drivers/net/netdevsim/fib.c
1205
err = nsim_nexthop_account(data, nexthop->occ, true, extack);
drivers/net/netdevsim/fib.c
1209
err = rhashtable_insert_fast(&data->nexthop_ht, &nexthop->ht_node,
drivers/net/netdevsim/fib.c
1216
nsim_nexthop_hw_flags_set(net, nexthop, true);
drivers/net/netdevsim/fib.c
1221
nsim_nexthop_account(data, nexthop->occ, false, extack);
drivers/net/netdevsim/fib.c
1226
struct nsim_nexthop *nexthop,
drivers/net/netdevsim/fib.c
1233
err = nsim_nexthop_account(data, nexthop->occ, true, extack);
drivers/net/netdevsim/fib.c
1238
&nexthop_old->ht_node, &nexthop->ht_node,
drivers/net/netdevsim/fib.c
1245
nsim_nexthop_hw_flags_set(net, nexthop, true);
drivers/net/netdevsim/fib.c
1252
nsim_nexthop_account(data, nexthop->occ, false, extack);
drivers/net/netdevsim/fib.c
1259
struct nsim_nexthop *nexthop, *nexthop_old;
drivers/net/netdevsim/fib.c
1262
nexthop = nsim_nexthop_create(data, info);
drivers/net/netdevsim/fib.c
1263
if (IS_ERR(nexthop))
drivers/net/netdevsim/fib.c
1264
return PTR_ERR(nexthop);
drivers/net/netdevsim/fib.c
1269
err = nsim_nexthop_add(data, nexthop, info->extack);
drivers/net/netdevsim/fib.c
1271
err = nsim_nexthop_replace(data, nexthop, nexthop_old,
drivers/net/netdevsim/fib.c
1275
nsim_nexthop_destroy(nexthop);
drivers/net/netdevsim/fib.c
1283
struct nsim_nexthop *nexthop;
drivers/net/netdevsim/fib.c
1285
nexthop = rhashtable_lookup_fast(&data->nexthop_ht, &info->id,
drivers/net/netdevsim/fib.c
1287
if (!nexthop)
drivers/net/netdevsim/fib.c
1290
rhashtable_remove_fast(&data->nexthop_ht, &nexthop->ht_node,
drivers/net/netdevsim/fib.c
1292
nsim_nexthop_account(data, nexthop->occ, false, info->extack);
drivers/net/netdevsim/fib.c
1293
nsim_nexthop_destroy(nexthop);
drivers/net/netdevsim/fib.c
1354
struct nsim_nexthop *nexthop = ptr;
drivers/net/netdevsim/fib.c
1359
nsim_nexthop_hw_flags_set(net, nexthop, false);
drivers/net/netdevsim/fib.c
1360
nsim_nexthop_account(data, nexthop->occ, false, NULL);
drivers/net/netdevsim/fib.c
1361
nsim_nexthop_destroy(nexthop);
drivers/net/netdevsim/fib.c
1370
struct nsim_nexthop *nexthop;
drivers/net/netdevsim/fib.c
1391
nexthop = rhashtable_lookup_fast(&data->nexthop_ht, &nhid,
drivers/net/netdevsim/fib.c
1393
if (!nexthop || !nexthop->is_resilient ||
drivers/net/netdevsim/fib.c
1394
bucket_index >= nexthop->occ) {
drivers/net/netdevsim/fib.c
1399
activity = bitmap_zalloc(nexthop->occ, GFP_KERNEL);
drivers/net/netdevsim/fib.c
1406
nexthop_res_grp_activity_update(net, nhid, nexthop->occ, activity);
drivers/net/vrf.c
606
const struct in6_addr *nexthop;
drivers/net/vrf.c
616
nexthop = rt6_nexthop(dst_rt6_info(dst), &ipv6_hdr(skb)->daddr);
drivers/net/vrf.c
617
neigh = __ipv6_neigh_lookup_noref(dst->dev, nexthop);
drivers/net/vrf.c
619
neigh = __neigh_create(&nd_tbl, nexthop, dst->dev, false);
drivers/net/vxlan/vxlan_core.c
165
struct nexthop *nh;
drivers/net/vxlan/vxlan_core.c
2654
struct nexthop *nh;
drivers/net/vxlan/vxlan_core.c
2685
struct nexthop *nh;
drivers/net/vxlan/vxlan_core.c
2999
struct nexthop *nh = rtnl_dereference(f->nh);
drivers/net/vxlan/vxlan_core.c
4886
static void vxlan_fdb_nh_flush(struct nexthop *nh)
drivers/net/vxlan/vxlan_core.c
4907
struct nexthop *nh;
drivers/net/vxlan/vxlan_core.c
797
struct nexthop *old_nh = rtnl_dereference(fdb->nh);
drivers/net/vxlan/vxlan_core.c
798
struct nexthop *nh;
drivers/net/vxlan/vxlan_core.c
912
struct nexthop *nh;
drivers/net/vxlan/vxlan_private.h
44
struct nexthop __rcu *nh;
include/net/inet_sock.h
44
__be32 nexthop;
include/net/ip6_fib.h
203
struct nexthop *nh;
include/net/ip_fib.h
134
struct nexthop;
include/net/ip_fib.h
160
struct nexthop *nh;
include/net/mctp.h
272
mctp_eid_t nexthop;
include/net/net_namespace.h
137
struct netns_nexthop nexthop;
include/net/nexthop.h
106
struct nexthop *nh;
include/net/nexthop.h
124
struct nexthop *nh_parent; /* nexthop of group with this entry */
include/net/nexthop.h
22
struct nexthop;
include/net/nexthop.h
261
struct nexthop *nexthop_find_by_id(struct net *net, u32 id);
include/net/nexthop.h
264
static inline bool nexthop_get(struct nexthop *nh)
include/net/nexthop.h
269
static inline void nexthop_put(struct nexthop *nh)
include/net/nexthop.h
275
static inline bool nexthop_cmp(const struct nexthop *nh1,
include/net/nexthop.h
276
const struct nexthop *nh2)
include/net/nexthop.h
281
static inline bool nexthop_is_fdb(const struct nexthop *nh)
include/net/nexthop.h
296
static inline bool nexthop_has_v4(const struct nexthop *nh)
include/net/nexthop.h
307
static inline bool nexthop_is_multipath(const struct nexthop *nh)
include/net/nexthop.h
318
struct nexthop *nexthop_select_path(struct nexthop *nh, int hash);
include/net/nexthop.h
320
static inline unsigned int nexthop_num_path(const struct nexthop *nh)
include/net/nexthop.h
336
struct nexthop *nexthop_mpath_select(const struct nh_group *nhg, int nhsel)
include/net/nexthop.h
348
int nexthop_mpath_fill_node(struct sk_buff *skb, struct nexthop *nh,
include/net/nexthop.h
355
struct nexthop *nhe = nhg->nh_entries[i].nh;
include/net/nexthop.h
368
static inline bool nexthop_is_blackhole(const struct nexthop *nh)
include/net/nexthop.h
389
struct nexthop *nh;
include/net/nexthop.h
398
struct fib_nh_common *nexthop_fib_nhc(struct nexthop *nh, int nhsel)
include/net/nexthop.h
422
struct fib_nh_common *nexthop_get_nhc_lookup(const struct nexthop *nh,
include/net/nexthop.h
434
struct nexthop *nhe = nhg->nh_entries[i].nh;
include/net/nexthop.h
453
static inline bool nexthop_uses_dev(const struct nexthop *nh,
include/net/nexthop.h
463
struct nexthop *nhe = nhg->nh_entries[i].nh;
include/net/nexthop.h
486
int fib_check_nexthop(struct nexthop *nh, u8 scope,
include/net/nexthop.h
508
int fib6_check_nexthop(struct nexthop *nh, struct fib6_config *cfg,
include/net/nexthop.h
512
static inline struct fib6_nh *nexthop_fib6_nh(struct nexthop *nh)
include/net/nexthop.h
542
struct nexthop *nh = res->f6i->nh;
include/net/nexthop.h
557
int nexthop_for_each_fib6_nh(struct nexthop *nh,
include/net/nexthop.h
561
static inline int nexthop_get_family(struct nexthop *nh)
include/net/nexthop.h
569
struct fib_nh_common *nexthop_fdb_nhc(struct nexthop *nh)
include/net/nexthop.h
576
static inline struct fib_nh_common *nexthop_path_fdb_result(struct nexthop *nh,
include/net/nexthop.h
580
struct nexthop *nhp;
include/net/nexthop.h
61
struct nexthop *nh_parent;
include/net/vxlan.h
564
static inline bool vxlan_fdb_nh_path_select(struct nexthop *nh,
net/bluetooth/6lowpan.c
146
const struct in6_addr *nexthop;
net/bluetooth/6lowpan.c
157
nexthop = daddr;
net/bluetooth/6lowpan.c
161
nexthop = &lowpan_cb(skb)->gw;
net/bluetooth/6lowpan.c
164
nexthop = rt6_nexthop(rt, daddr);
net/bluetooth/6lowpan.c
170
memcpy(&lowpan_cb(skb)->gw, nexthop, sizeof(struct in6_addr));
net/bluetooth/6lowpan.c
173
BT_DBG("gw %pI6c", nexthop);
net/bluetooth/6lowpan.c
182
if (!ipv6_addr_cmp(&peer->peer_addr, nexthop)) {
net/bluetooth/6lowpan.c
189
neigh = __ipv6_neigh_lookup(dev->netdev, nexthop);
net/core/filter.c
2213
const struct in6_addr *nexthop;
net/core/filter.c
2237
nexthop = rt6_nexthop(dst_rt6_info(dst),
net/core/filter.c
2240
nexthop = &nh->ipv6_nh;
net/core/filter.c
2242
neigh = ip_neigh_gw6(dev, nexthop);
net/ipv4/fib_semantics.c
1353
struct nexthop *nh = NULL;
net/ipv4/ip_options.c
561
if (memcmp(&opt->nexthop, &optptr[srrptr-1], 4) == 0)
net/ipv4/ip_options.c
566
ip_hdr(skb)->daddr = opt->nexthop;
net/ipv4/ip_options.c
589
__be32 nexthop;
net/ipv4/ip_options.c
616
memcpy(&nexthop, &optptr[srrptr-1], 4);
net/ipv4/ip_options.c
619
err = ip_route_input(skb, nexthop, iph->saddr, ip4h_dscp(iph),
net/ipv4/ip_options.c
631
iph->daddr = nexthop;
net/ipv4/ip_options.c
636
opt->nexthop = nexthop;
net/ipv4/nexthop.c
1006
static size_t nh_nlmsg_size_grp(struct nexthop *nh, u32 op_flags)
net/ipv4/nexthop.c
1035
static size_t nh_nlmsg_size_single(struct nexthop *nh)
net/ipv4/nexthop.c
1066
static size_t nh_nlmsg_size(struct nexthop *nh, u32 op_flags)
net/ipv4/nexthop.c
1082
static void nexthop_notify(int event, struct nexthop *nh, struct nl_info *info)
net/ipv4/nexthop.c
114
const struct nexthop *nh)
net/ipv4/nexthop.c
1154
static int nh_fill_res_bucket(struct sk_buff *skb, struct nexthop *nh,
net/ipv4/nexthop.c
1206
struct nexthop *nh = nhge->nh_parent;
net/ipv4/nexthop.c
1228
static bool valid_group_nh(struct nexthop *nh, unsigned int npaths,
net/ipv4/nexthop.c
1260
static int nh_check_attr_fdb_group(struct nexthop *nh, u8 *nh_family,
net/ipv4/nexthop.c
1355
struct nexthop *nh;
net/ipv4/nexthop.c
1411
static bool nexthop_is_good_nh(const struct nexthop *nh)
net/ipv4/nexthop.c
1425
static struct nexthop *nexthop_select_path_fdb(struct nh_group *nhg, int hash)
net/ipv4/nexthop.c
1443
static struct nexthop *nexthop_select_path_hthr(struct nh_group *nhg, int hash)
net/ipv4/nexthop.c
1476
static struct nexthop *nexthop_select_path_res(struct nh_group *nhg, int hash)
net/ipv4/nexthop.c
1493
struct nexthop *nexthop_select_path(struct nexthop *nh, int hash)
net/ipv4/nexthop.c
1511
int nexthop_for_each_fib6_nh(struct nexthop *nh,
net/ipv4/nexthop.c
1552
int fib6_check_nexthop(struct nexthop *nh, struct fib6_config *cfg,
net/ipv4/nexthop.c
1596
static int fib6_check_nh_list(struct nexthop *old, struct nexthop *new,
net/ipv4/nexthop.c
1633
int fib_check_nexthop(struct nexthop *nh, u8 scope,
net/ipv4/nexthop.c
1672
static int fib_check_nh_list(struct nexthop *old, struct nexthop *new,
net/ipv4/nexthop.c
194
const struct nexthop *nh)
net/ipv4/nexthop.c
2024
struct nexthop *nhp = nhge->nh_parent;
net/ipv4/nexthop.c
2026
struct nexthop *nh = nhge->nh;
net/ipv4/nexthop.c
206
const struct nexthop *nh)
net/ipv4/nexthop.c
2098
static void remove_nexthop_from_groups(struct net *net, struct nexthop *nh,
net/ipv4/nexthop.c
2123
static void remove_nexthop_group(struct nexthop *nh, struct nl_info *nlinfo)
net/ipv4/nexthop.c
2145
static void __remove_nexthop_fib(struct net *net, struct nexthop *nh)
net/ipv4/nexthop.c
217
const struct nexthop *nh)
net/ipv4/nexthop.c
2178
static void __remove_nexthop(struct net *net, struct nexthop *nh,
net/ipv4/nexthop.c
2196
static void remove_nexthop(struct net *net, struct nexthop *nh,
net/ipv4/nexthop.c
2202
rb_erase(&nh->rb_node, &net->nexthop.rb_root);
net/ipv4/nexthop.c
2216
static void nh_rt_cache_flush(struct net *net, struct nexthop *nh,
net/ipv4/nexthop.c
2217
struct nexthop *replaced_nh)
net/ipv4/nexthop.c
2245
static int replace_nexthop_grp(struct net *net, struct nexthop *old,
net/ipv4/nexthop.c
2246
struct nexthop *new, const struct nh_config *cfg,
net/ipv4/nexthop.c
228
const struct nexthop *nh)
net/ipv4/nexthop.c
23
static void remove_nexthop(struct net *net, struct nexthop *nh,
net/ipv4/nexthop.c
2351
struct nexthop *old,
net/ipv4/nexthop.c
238
struct nexthop *nh,
net/ipv4/nexthop.c
2392
struct nexthop *group_nh,
net/ipv4/nexthop.c
2393
struct nexthop *old,
net/ipv4/nexthop.c
2414
static int replace_nexthop_single(struct net *net, struct nexthop *old,
net/ipv4/nexthop.c
2415
struct nexthop *new,
net/ipv4/nexthop.c
2461
struct nexthop *nhp = nhge->nh_parent;
net/ipv4/nexthop.c
2474
struct nexthop *nhp = nhge->nh_parent;
net/ipv4/nexthop.c
2492
struct nexthop *nhp = nhge->nh_parent;
net/ipv4/nexthop.c
2500
static void __nexthop_replace_notify(struct net *net, struct nexthop *nh,
net/ipv4/nexthop.c
2529
static void nexthop_replace_notify(struct net *net, struct nexthop *nh,
net/ipv4/nexthop.c
2540
static int replace_nexthop(struct net *net, struct nexthop *old,
net/ipv4/nexthop.c
2541
struct nexthop *new, const struct nh_config *cfg,
net/ipv4/nexthop.c
258
err = blocking_notifier_call_chain(&net->nexthop.notifier_chain,
net/ipv4/nexthop.c
2600
static int insert_nexthop(struct net *net, struct nexthop *new_nh,
net/ipv4/nexthop.c
2604
struct rb_root *root = &net->nexthop.rb_root;
net/ipv4/nexthop.c
2613
struct nexthop *nh;
net/ipv4/nexthop.c
2621
nh = rb_entry(parent, struct nexthop, rb_node);
net/ipv4/nexthop.c
2678
rb_erase(&new_nh->rb_node, &net->nexthop.rb_root);
net/ipv4/nexthop.c
2698
struct hlist_head *head = &net->nexthop.devhash[hash];
net/ipv4/nexthop.c
271
struct nexthop *nh;
net/ipv4/nexthop.c
2717
struct rb_root *root = &net->nexthop.rb_root;
net/ipv4/nexthop.c
2719
struct nexthop *nh;
net/ipv4/nexthop.c
2722
nh = rb_entry(node, struct nexthop, rb_node);
net/ipv4/nexthop.c
2728
static struct nexthop *nexthop_create_group(struct net *net,
net/ipv4/nexthop.c
2735
struct nexthop *nh;
net/ipv4/nexthop.c
2761
struct nexthop *nhe;
net/ipv4/nexthop.c
2835
static int nh_create_ipv4(struct net *net, struct nexthop *nh,
net/ipv4/nexthop.c
2874
static int nh_create_ipv6(struct net *net, struct nexthop *nh,
net/ipv4/nexthop.c
2909
static struct nexthop *nexthop_create(struct net *net, struct nh_config *cfg,
net/ipv4/nexthop.c
2913
struct nexthop *nh;
net/ipv4/nexthop.c
2966
static struct nexthop *nexthop_add(struct net *net, struct nh_config *cfg,
net/ipv4/nexthop.c
2969
struct nexthop *nh;
net/ipv4/nexthop.c
3272
struct nexthop *nh;
net/ipv4/nexthop.c
3346
struct nexthop *nh;
net/ipv4/nexthop.c
3380
struct nexthop *nh;
net/ipv4/nexthop.c
3430
static bool nh_dump_filtered(struct nexthop *nh,
net/ipv4/nexthop.c
3539
struct nexthop *nh, void *data),
net/ipv4/nexthop.c
3561
struct nexthop *nh;
net/ipv4/nexthop.c
3563
nh = rb_entry(tmp, struct nexthop, rb_node);
net/ipv4/nexthop.c
358
err = blocking_notifier_call_chain(&net->nexthop.notifier_chain,
net/ipv4/nexthop.c
3580
struct nexthop *nh;
net/ipv4/nexthop.c
3582
nh = rb_entry(node, struct nexthop, rb_node);
net/ipv4/nexthop.c
3594
struct nexthop *nh, void *data)
net/ipv4/nexthop.c
3612
struct rb_root *root = &net->nexthop.rb_root;
net/ipv4/nexthop.c
3623
cb->seq = net->nexthop.seq;
net/ipv4/nexthop.c
3628
static struct nexthop *
net/ipv4/nexthop.c
3633
struct nexthop *nh;
net/ipv4/nexthop.c
3731
struct nexthop *nh,
net/ipv4/nexthop.c
3774
struct nexthop *nh, void *data)
net/ipv4/nexthop.c
3796
struct nexthop *nh;
net/ipv4/nexthop.c
3810
struct rb_root *root = &net->nexthop.rb_root;
net/ipv4/nexthop.c
3816
cb->seq = net->nexthop.seq;
net/ipv4/nexthop.c
3880
struct nexthop *nh;
net/ipv4/nexthop.c
391
struct nexthop *old_nh,
net/ipv4/nexthop.c
392
struct nexthop *new_nh,
net/ipv4/nexthop.c
3924
struct hlist_head *head = &net->nexthop.devhash[hash];
net/ipv4/nexthop.c
3970
struct rb_root *root = &net->nexthop.rb_root;
net/ipv4/nexthop.c
3975
struct nexthop *nh;
net/ipv4/nexthop.c
3977
nh = rb_entry(node, struct nexthop, rb_node);
net/ipv4/nexthop.c
3995
err = blocking_notifier_chain_register(&net->nexthop.notifier_chain,
net/ipv4/nexthop.c
4007
err = blocking_notifier_chain_unregister(&net->nexthop.notifier_chain,
net/ipv4/nexthop.c
402
static int call_nexthop_res_table_notifiers(struct net *net, struct nexthop *nh,
net/ipv4/nexthop.c
4028
struct nexthop *nexthop;
net/ipv4/nexthop.c
4032
nexthop = nexthop_find_by_id(net, id);
net/ipv4/nexthop.c
4033
if (!nexthop)
net/ipv4/nexthop.c
4036
nexthop->nh_flags &= ~(RTNH_F_OFFLOAD | RTNH_F_TRAP);
net/ipv4/nexthop.c
4038
nexthop->nh_flags |= RTNH_F_OFFLOAD;
net/ipv4/nexthop.c
4040
nexthop->nh_flags |= RTNH_F_TRAP;
net/ipv4/nexthop.c
4052
struct nexthop *nexthop;
net/ipv4/nexthop.c
4057
nexthop = nexthop_find_by_id(net, id);
net/ipv4/nexthop.c
4058
if (!nexthop || !nexthop->is_group)
net/ipv4/nexthop.c
4061
nhg = rcu_dereference(nexthop->nh_grp);
net/ipv4/nexthop.c
4085
struct nexthop *nexthop;
net/ipv4/nexthop.c
4091
nexthop = nexthop_find_by_id(net, id);
net/ipv4/nexthop.c
4092
if (!nexthop || !nexthop->is_group)
net/ipv4/nexthop.c
4095
nhg = rcu_dereference(nexthop->nh_grp);
net/ipv4/nexthop.c
4125
kfree(net->nexthop.devhash);
net/ipv4/nexthop.c
4126
net->nexthop.devhash = NULL;
net/ipv4/nexthop.c
4133
net->nexthop.rb_root = RB_ROOT;
net/ipv4/nexthop.c
4134
net->nexthop.devhash = kzalloc(sz, GFP_KERNEL);
net/ipv4/nexthop.c
4135
if (!net->nexthop.devhash)
net/ipv4/nexthop.c
4137
BLOCKING_INIT_NOTIFIER_HEAD(&net->nexthop.notifier_chain);
net/ipv4/nexthop.c
429
err = blocking_notifier_call_chain(&net->nexthop.notifier_chain,
net/ipv4/nexthop.c
439
struct nexthop *nh,
net/ipv4/nexthop.c
476
head = &net->nexthop.devhash[hash];
net/ipv4/nexthop.c
480
static void nexthop_free_group(struct nexthop *nh)
net/ipv4/nexthop.c
503
static void nexthop_free_single(struct nexthop *nh)
net/ipv4/nexthop.c
521
struct nexthop *nh = container_of(head, struct nexthop, rcu);
net/ipv4/nexthop.c
532
static struct nexthop *nexthop_alloc(void)
net/ipv4/nexthop.c
534
struct nexthop *nh;
net/ipv4/nexthop.c
536
nh = kzalloc_obj(struct nexthop);
net/ipv4/nexthop.c
584
while (++net->nexthop.seq == 0)
net/ipv4/nexthop.c
589
struct nexthop *nexthop_find_by_id(struct net *net, u32 id)
net/ipv4/nexthop.c
593
pp = &net->nexthop.rb_root.rb_node;
net/ipv4/nexthop.c
595
struct nexthop *nh;
net/ipv4/nexthop.c
602
nh = rb_entry(parent, struct nexthop, rb_node);
net/ipv4/nexthop.c
617
u32 id_start = net->nexthop.last_id_allocated;
net/ipv4/nexthop.c
620
net->nexthop.last_id_allocated++;
net/ipv4/nexthop.c
621
if (net->nexthop.last_id_allocated == id_start)
net/ipv4/nexthop.c
624
if (!nexthop_find_by_id(net, net->nexthop.last_id_allocated))
net/ipv4/nexthop.c
625
return net->nexthop.last_id_allocated;
net/ipv4/nexthop.c
706
const struct nexthop *nh)
net/ipv4/nexthop.c
745
static void nh_grp_hw_stats_apply_update(struct nexthop *nh,
net/ipv4/nexthop.c
761
static int nh_grp_hw_stats_update(struct nexthop *nh, bool *hw_stats_used)
net/ipv4/nexthop.c
778
err = blocking_notifier_call_chain(&net->nexthop.notifier_chain,
net/ipv4/nexthop.c
823
static int nla_put_nh_group_stats(struct sk_buff *skb, struct nexthop *nh,
net/ipv4/nexthop.c
865
static int nla_put_nh_group(struct sk_buff *skb, struct nexthop *nh,
net/ipv4/nexthop.c
914
static int nh_fill_node(struct sk_buff *skb, struct nexthop *nh,
net/ipv4/nexthop.c
93
return !net->nexthop.notifier_chain.head;
net/ipv4/tcp_ipv4.c
231
__be32 daddr, nexthop;
net/ipv4/tcp_ipv4.c
242
nexthop = daddr = usin->sin_addr.s_addr;
net/ipv4/tcp_ipv4.c
248
nexthop = inet_opt->opt.faddr;
net/ipv4/tcp_ipv4.c
254
rt = ip_route_connect(fl4, nexthop, inet->inet_saddr,
net/ipv6/ip6_output.c
123
nexthop = rt6_nexthop(dst_rt6_info(dst), daddr);
net/ipv6/ip6_output.c
124
neigh = __ipv6_neigh_lookup_noref(dev, nexthop);
net/ipv6/ip6_output.c
128
neigh = __neigh_create(&nd_tbl, nexthop, dev, false);
net/ipv6/ip6_output.c
66
const struct in6_addr *daddr, *nexthop;
net/ipv6/route.c
3871
struct nexthop *nh;
net/ipv6/route.c
541
static struct fib6_nh *rt6_nh_dev_match(struct net *net, struct nexthop *nh,
net/ipv6/route.c
5726
static int rt6_fill_node_nexthop(struct sk_buff *skb, struct nexthop *nh,
net/mctp/route.c
646
if (mctp_neigh_lookup(dst->dev, dst->nexthop, daddr_buf) == 0)
net/mctp/route.c
888
dst->nexthop = eid;
net/mctp/route.c
926
dst->nexthop = 0;
net/mctp/test/route-test.c
1177
KUNIT_EXPECT_EQ(test, dst.nexthop, 9);
net/mctp/test/route-test.c
1336
dst.nexthop = 9;
tools/testing/selftests/bpf/progs/bpf_iter_ipv6_route.c
19
struct nexthop *nh;