Searched refs:rta_gw (Results 1 – 5 of 5) sorted by relevance
/linux-2.4.37.9/net/ipv4/ |
D | fib_semantics.c | 265 if (rta->rta_oif || rta->rta_gw) { in fib_nh_match() 267 (!rta->rta_gw || memcmp(rta->rta_gw, &fi->fib_nh->nh_gw, 4) == 0)) in fib_nh_match() 484 if (rta->rta_gw && memcmp(&fi->fib_nh->nh_gw, rta->rta_gw, 4)) in fib_create_info() 497 if (rta->rta_gw) in fib_create_info() 498 memcpy(&nh->nh_gw, rta->rta_gw, 4); in fib_create_info() 511 if (rta->rta_gw == NULL || nhs != 1 || rta->rta_oif) in fib_create_info() 513 memcpy(&fi->fib_nh->nh_gw, rta->rta_gw, 4); in fib_create_info() 519 if (rta->rta_gw || rta->rta_oif || rta->rta_mp) in fib_create_info() 808 rta->rta_gw = ptr; in fib_convert_rtentry() 816 if (r->rt_flags&RTF_GATEWAY && rta->rta_gw == NULL) in fib_convert_rtentry()
|
/linux-2.4.37.9/net/decnet/ |
D | dn_fib.c | 291 if (rta->rta_gw && memcmp(&fi->fib_nh->nh_gw, rta->rta_gw, 2)) in dn_fib_create_info() 297 if (rta->rta_gw) in dn_fib_create_info() 298 memcpy(&nh->nh_gw, rta->rta_gw, 2); in dn_fib_create_info() 304 if (rta->rta_gw || rta->rta_oif || rta->rta_mp) in dn_fib_create_info()
|
D | dn_table.c | 237 if (rta->rta_oif || rta->rta_gw) { in dn_fib_nh_match() 239 (!rta->rta_gw || memcmp(rta->rta_gw, &fi->fib_nh->nh_gw, 2) == 0)) in dn_fib_nh_match()
|
/linux-2.4.37.9/include/net/ |
D | dn_fib.h | 16 void *rta_gw; member
|
D | ip_fib.h | 27 void *rta_gw; member
|