Home
last modified time | relevance | path

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

/linux-6.1.9/net/ipv4/
Droute.c742 __be32 old_gw = ip_hdr(skb)->saddr; in __ip_do_redirect() local
760 if (rt->rt_gw_family != AF_INET || rt->rt_gw4 != old_gw) in __ip_do_redirect()
768 if (new_gw == old_gw || !IN_DEV_RX_REDIRECTS(in_dev) || in __ip_do_redirect()
774 if (!inet_addr_onlink(in_dev, new_gw, old_gw)) in __ip_do_redirect()
816 &old_gw, dev->name, &new_gw, in __ip_do_redirect()