fib_nh 60 include/net/dn_fib.h struct dn_fib_nh fib_nh[0]; fib_nh 61 include/net/dn_fib.h #define dn_fib_dev fib_nh[0].nh_dev fib_nh 66 include/net/dn_fib.h #define DN_FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel]) fib_nh 89 include/net/ip_fib.h struct fib_nh fib_nh[0]; fib_nh 90 include/net/ip_fib.h #define fib_dev fib_nh[0].nh_dev fib_nh 126 include/net/ip_fib.h #define FIB_RES_NH(res) ((res).fi->fib_nh[(res).nh_sel]) fib_nh 133 include/net/ip_fib.h #define FIB_RES_NH(res) ((res).fi->fib_nh[0]) fib_nh 50 include/net/route.h struct fib_nh; fib_nh 51 net/decnet/dn_fib.c for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++) fib_nh 54 net/decnet/dn_fib.c for(nhsel = 0, nh = (struct dn_fib_nh *)((fi)->fib_nh); nhsel < (fi)->fib_nhs; nh++, nhsel++) fib_nh 117 net/decnet/dn_fib.c const struct dn_fib_nh *onh = ofi->fib_nh; fib_nh 319 net/decnet/dn_fib.c if (rta->rta_oif && fi->fib_nh->nh_oif != *rta->rta_oif) fib_nh 321 net/decnet/dn_fib.c if (rta->rta_gw && memcmp(&fi->fib_nh->nh_gw, rta->rta_gw, 2)) fib_nh 324 net/decnet/dn_fib.c struct dn_fib_nh *nh = fi->fib_nh; fib_nh 336 net/decnet/dn_fib.c memcpy(&fi->fib_nh->nh_gw, rta->rta_gw, 2); fib_nh 350 net/decnet/dn_fib.c struct dn_fib_nh *nh = fi->fib_nh; fib_nh 356 net/decnet/dn_fib.c nh->nh_dev = dev_get_by_index(&init_net, fi->fib_nh->nh_oif); fib_nh 864 net/decnet/dn_route.c return (daddr&~mask)|res->fi->fib_nh->nh_gw; fib_nh 64 net/decnet/dn_table.c for(nhsel = 0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++) fib_nh 235 net/decnet/dn_table.c if ((!rta->rta_oif || *rta->rta_oif == fi->fib_nh->nh_oif) && fib_nh 236 net/decnet/dn_table.c (!rta->rta_gw || memcmp(rta->rta_gw, &fi->fib_nh->nh_gw, 2) == 0)) fib_nh 320 net/decnet/dn_table.c if (fi->fib_nh->nh_gw) fib_nh 321 net/decnet/dn_table.c RTA_PUT(skb, RTA_GATEWAY, 2, &fi->fib_nh->nh_gw); fib_nh 322 net/decnet/dn_table.c if (fi->fib_nh->nh_oif) fib_nh 323 net/decnet/dn_table.c RTA_PUT(skb, RTA_OIF, sizeof(int), &fi->fib_nh->nh_oif); fib_nh 309 net/ipv4/fib_hash.c if (!next_fi->fib_nh[0].nh_gw || fib_nh 310 net/ipv4/fib_hash.c next_fi->fib_nh[0].nh_scope != RT_SCOPE_LINK) fib_nh 987 net/ipv4/fib_hash.c if (fi && fi->fib_nh->nh_gw) fib_nh 1029 net/ipv4/fib_hash.c fi->fib_nh->nh_gw, flags, 0, 0, fi->fib_priority, fib_nh 62 net/ipv4/fib_semantics.c #define for_nexthops(fi) { int nhsel; const struct fib_nh * nh; \ fib_nh 63 net/ipv4/fib_semantics.c for (nhsel=0, nh = (fi)->fib_nh; nhsel < (fi)->fib_nhs; nh++, nhsel++) fib_nh 65 net/ipv4/fib_semantics.c #define change_nexthops(fi) { int nhsel; struct fib_nh * nh; \ fib_nh 66 net/ipv4/fib_semantics.c for (nhsel=0, nh = (struct fib_nh*)((fi)->fib_nh); nhsel < (fi)->fib_nhs; nh++, nhsel++) fib_nh 72 net/ipv4/fib_semantics.c #define for_nexthops(fi) { int nhsel=0; const struct fib_nh * nh = (fi)->fib_nh; \ fib_nh 75 net/ipv4/fib_semantics.c #define change_nexthops(fi) { int nhsel=0; struct fib_nh * nh = (struct fib_nh*)((fi)->fib_nh); \ fib_nh 177 net/ipv4/fib_semantics.c const struct fib_nh *onh = ofi->fib_nh; fib_nh 256 net/ipv4/fib_semantics.c struct fib_nh *nh; fib_nh 356 net/ipv4/fib_semantics.c n = neigh_lookup(&arp_tbl, &fi->fib_nh[0].nh_gw, fi->fib_dev); fib_nh 432 net/ipv4/fib_semantics.c if ((!cfg->fc_oif || cfg->fc_oif == fi->fib_nh->nh_oif) && fib_nh 433 net/ipv4/fib_semantics.c (!cfg->fc_gw || cfg->fc_gw == fi->fib_nh->nh_gw)) fib_nh 727 net/ipv4/fib_semantics.c fi = kzalloc(sizeof(*fi)+nhs*sizeof(struct fib_nh), GFP_KERNEL); fib_nh 763 net/ipv4/fib_semantics.c if (cfg->fc_oif && fi->fib_nh->nh_oif != cfg->fc_oif) fib_nh 765 net/ipv4/fib_semantics.c if (cfg->fc_gw && fi->fib_nh->nh_gw != cfg->fc_gw) fib_nh 768 net/ipv4/fib_semantics.c if (cfg->fc_flow && fi->fib_nh->nh_tclassid != cfg->fc_flow) fib_nh 775 net/ipv4/fib_semantics.c struct fib_nh *nh = fi->fib_nh; fib_nh 798 net/ipv4/fib_semantics.c struct fib_nh *nh = fi->fib_nh; fib_nh 804 net/ipv4/fib_semantics.c nh->nh_dev = dev_get_by_index(net, fi->fib_nh->nh_oif); fib_nh 984 net/ipv4/fib_semantics.c if (fi->fib_nh->nh_gw) fib_nh 985 net/ipv4/fib_semantics.c NLA_PUT_BE32(skb, RTA_GATEWAY, fi->fib_nh->nh_gw); fib_nh 987 net/ipv4/fib_semantics.c if (fi->fib_nh->nh_oif) fib_nh 988 net/ipv4/fib_semantics.c NLA_PUT_U32(skb, RTA_OIF, fi->fib_nh->nh_oif); fib_nh 990 net/ipv4/fib_semantics.c if (fi->fib_nh[0].nh_tclassid) fib_nh 991 net/ipv4/fib_semantics.c NLA_PUT_U32(skb, RTA_FLOW, fi->fib_nh[0].nh_tclassid); fib_nh 1068 net/ipv4/fib_semantics.c struct fib_nh *nh; fib_nh 1125 net/ipv4/fib_semantics.c struct fib_nh *nh; fib_nh 1838 net/ipv4/fib_trie.c if (!next_fi->fib_nh[0].nh_gw || fib_nh 1839 net/ipv4/fib_trie.c next_fi->fib_nh[0].nh_scope != RT_SCOPE_LINK) fib_nh 2543 net/ipv4/fib_trie.c if (fi && fi->fib_nh->nh_gw) fib_nh 2592 net/ipv4/fib_trie.c fi->fib_nh->nh_gw, flags, 0, 0,