Searched refs:nh_gw (Results 1 - 8 of 8) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/ipv4/
H A Dfib_semantics.c182 nh->nh_gw != onh->nh_gw ||
266 nh->nh_gw == gw &&
358 n = neigh_lookup(&arp_tbl, &fi->fib_nh[0].nh_gw, fi->fib_dev);
409 nexthop_nh->nh_gw = nla ? nla_get_be32(nla) : 0;
436 (!cfg->fc_gw || cfg->fc_gw == fi->fib_nh->nh_gw))
462 if (nla && nla_get_be32(nla) != nh->nh_gw)
529 if (nh->nh_gw) {
537 if (inet_addr_type(net, nh->nh_gw) != RTN_UNICAST)
552 .daddr = nh->nh_gw,
[all...]
H A Dfib_hash.c309 if (!next_fi->fib_nh[0].nh_gw ||
982 if (fi && fi->fib_nh->nh_gw)
1024 fi->fib_nh->nh_gw, flags, 0, 0, fi->fib_priority,
H A Dfib_trie.c1855 if (!next_fi->fib_nh[0].nh_gw ||
2554 if (fi && fi->fib_nh->nh_gw)
2603 fi->fib_nh->nh_gw, flags, 0, 0,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/net/
H A Ddn_fib.h39 __le16 nh_gw; member in struct:dn_fib_nh
64 #define DN_FIB_RES_GW(res) (DN_FIB_RES_NH(res).nh_gw)
H A Dip_fib.h62 __be32 nh_gw; member in struct:fib_nh
139 #define FIB_RES_GW(res) (FIB_RES_NH(res).nh_gw)
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/decnet/
H A Ddn_fib.c122 nh->nh_gw != onh->nh_gw ||
190 nh->nh_gw = dn_fib_get_attr16(RTNH_DATA(nhp), attrlen, RTA_GATEWAY);
203 if (nh->nh_gw) {
212 if (dnet_addr_type(nh->nh_gw) != RTN_UNICAST)
225 fl.fld_dst = nh->nh_gw;
322 if (rta->rta_gw && memcmp(&fi->fib_nh->nh_gw, rta->rta_gw, 2))
329 memcpy(&nh->nh_gw, rta->rta_gw, 2);
337 memcpy(&fi->fib_nh->nh_gw, rta->rta_gw, 2);
354 if (nhs != 1 || nh->nh_gw)
[all...]
H A Ddn_table.c237 (!rta->rta_gw || memcmp(rta->rta_gw, &fi->fib_nh->nh_gw, 2) == 0))
259 if (gw && gw != nh->nh_gw)
321 if (fi->fib_nh->nh_gw)
322 RTA_PUT(skb, RTA_GATEWAY, 2, &fi->fib_nh->nh_gw);
340 if (nh->nh_gw)
341 RTA_PUT(skb, RTA_GATEWAY, 2, &nh->nh_gw);
H A Ddn_route.c871 return (daddr&~mask)|res->fi->fib_nh->nh_gw;

Completed in 170 milliseconds