Lines Matching defs:new_gw
1348 void ip_rt_redirect(__be32 old_gw, __be32 daddr, __be32 new_gw,
1363 if (new_gw == old_gw || !IN_DEV_RX_REDIRECTS(in_dev) ||
1364 ipv4_is_multicast(new_gw) || ipv4_is_lbcast(new_gw) ||
1365 ipv4_is_zeronet(new_gw))
1372 if (!inet_addr_onlink(in_dev, new_gw, old_gw))
1374 if (IN_DEV_SEC_REDIRECTS(in_dev) && ip_fib_check_default(new_gw, dev))
1377 if (inet_addr_type(net, new_gw) != RTN_UNICAST)
1437 rt->rt_gateway = new_gw;
1476 &old_gw, dev->name, &new_gw,