Home
last modified time | relevance | path

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

/net/ipv4/
Droute.c748 __be32 old_gw = ip_hdr(skb)->saddr; in __ip_do_redirect() local
766 if (rt->rt_gw_family != AF_INET || rt->rt_gw4 != old_gw) in __ip_do_redirect()
774 if (new_gw == old_gw || !IN_DEV_RX_REDIRECTS(in_dev) || in __ip_do_redirect()
780 if (!inet_addr_onlink(in_dev, new_gw, old_gw)) in __ip_do_redirect()
822 &old_gw, dev->name, &new_gw, in __ip_do_redirect()