Home
last modified time | relevance | path

Searched refs:fib_nhs (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/net/decnet/
Ddn_fib.c54 for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++)
57 for(nhsel = 0, nh = (struct dn_fib_nh *)((fi)->fib_nh); nhsel < (fi)->fib_nhs; nh++, nhsel++)
137 if (fi->fib_nhs != nfi->fib_nhs) in dn_fib_find_info()
144 (nfi->fib_nhs == 0 || dn_fib_nh_comp(fi, nfi) == 0)) in dn_fib_find_info()
291 fi->fib_nhs = nhs; in dn_fib_create_info()
440 if (nhsel < fi->fib_nhs) { in dn_fib_semantic_match()
715 } else if (dev && fi->fib_nhs) { in dn_fib_sync_down()
731 if (dead == fi->fib_nhs) { in dn_fib_sync_down()
Ddn_table.c65 for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++)
285 if (fi->fib_nhs) { in dn_fib_nlmsg_size()
295 payload += nla_total_size(fi->fib_nhs * nhsize); in dn_fib_nlmsg_size()
337 if (fi->fib_nhs == 1) { in dn_fib_dump_info()
347 if (fi->fib_nhs > 1) { in dn_fib_dump_info()
Ddn_route.c1156 if (res.fi->fib_nhs > 1 && fld.flowidn_oif == 0) in dn_route_output_slow()
1397 if (res.fi->fib_nhs > 1 && fld.flowidn_oif == 0) in dn_route_input_slow()
/kernel/linux/linux-5.10/net/ipv4/
Dfib_semantics.c293 if (ofi->fib_nhs == 0) in nh_comp()
359 val = fib_info_hashfn_1(fi->fib_nhs, fi->fib_protocol, in fib_info_hashfn()
419 if (fi->fib_nhs != nfi->fib_nhs) in fib_find_info()
1492 fi->fib_nhs = nhs; in fib_create_info()
1577 if (linkdown == fi->fib_nhs) in fib_create_info()
2008 BUG_ON(!fi->fib_nhs); in fib_sync_down_dev()
2034 dead = fi->fib_nhs; in fib_sync_down_dev()
2039 if (dead == fi->fib_nhs) { in fib_sync_down_dev()
2166 BUG_ON(!fi->fib_nhs); in fib_sync_up()
/kernel/linux/linux-5.10/include/net/
Ddn_fib.h40 int fib_nhs; member
Dnexthop.h337 return fi->fib_nhs; in fib_info_num_path()
Dip_fib.h151 int fib_nhs; member