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

/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/
H A Dfib_semantics.c145 nh->nh_gw != onh->nh_gw ||
187 if (nh->nh_dev == dev && nh->nh_gw == gw &&
241 nh->nh_gw = fib_get_attr32(RTNH_DATA(nhp), attrlen, RTA_GATEWAY);
267 (!rta->rta_gw || memcmp(rta->rta_gw, &fi->fib_nh->nh_gw, 4) == 0))
288 if (gw && gw != nh->nh_gw)
351 if (nh->nh_gw) {
364 if (inet_addr_type(nh->nh_gw) != RTN_UNICAST)
376 key.dst = nh->nh_gw;
481 if (rta->rta_gw && memcmp(&fi->fib_nh->nh_gw, rt
[all...]
H A Dfib_hash.c323 n = neigh_lookup(&arp_tbl, &fi->fib_nh[0].nh_gw, fi->fib_dev);
368 if (!next_fi->fib_nh[0].nh_gw || next_fi->fib_nh[0].nh_scope != RT_SCOPE_LINK)
H A Dfib_rules.c251 return (daddr&~mask)|res->fi->fib_nh->nh_gw;
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/decnet/
H A Ddn_fib.c117 nh->nh_gw != onh->nh_gw ||
184 nh->nh_gw = dn_fib_get_attr16(RTNH_DATA(nhp), attrlen, RTA_GATEWAY);
197 if (nh->nh_gw) {
217 key.dst = nh->nh_gw;
288 if (rta->rta_gw && memcmp(&fi->fib_nh->nh_gw, rta->rta_gw, 2))
295 memcpy(&nh->nh_gw, rta->rta_gw, 2);
313 if (nhs != 1 || nh->nh_gw)
H A Ddn_table.c239 (!rta->rta_gw || memcmp(rta->rta_gw, &fi->fib_nh->nh_gw, 2) == 0))
261 if (gw && gw != nh->nh_gw)
294 if (fi->fib_nh->nh_gw)
295 RTA_PUT(skb, RTA_GATEWAY, 2, &fi->fib_nh->nh_gw);
313 if (nh->nh_gw)
314 RTA_PUT(skb, RTA_GATEWAY, 2, &nh->nh_gw);
750 if (fi && fi->fib_nh->nh_gw)
767 fi->fib_nh->nh_gw, flags, 0, 0, fi->fib_priority,
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/net/
H A Ddn_fib.h51 u32 nh_gw; member in struct:dn_fib_nh
73 #define DN_FIB_RES_GW(res) (DN_FIB_RES_NH(res).nh_gw)
H A Dip_fib.h50 u32 nh_gw; member in struct:fib_nh
112 #define FIB_RES_GW(res) (FIB_RES_NH(res).nh_gw)
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/net/
H A Ddn_fib.h51 u32 nh_gw; member in struct:dn_fib_nh
73 #define DN_FIB_RES_GW(res) (DN_FIB_RES_NH(res).nh_gw)
H A Dip_fib.h50 u32 nh_gw; member in struct:fib_nh
112 #define FIB_RES_GW(res) (FIB_RES_NH(res).nh_gw)

Completed in 49 milliseconds