Home
last modified time | relevance | path

Searched refs:rta_gw (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/net/ipv4/
Dfib_semantics.c265 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/
Ddn_fib.c291 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()
Ddn_table.c237 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/
Ddn_fib.h16 void *rta_gw; member
Dip_fib.h27 void *rta_gw; member