Lines Matching defs:gateway
1991 /* determine if fib6_nh has given device and gateway */
2090 const struct in6_addr *gateway)
2110 ipv6_addr_equal(gateway,
2129 /* we are pruning and obsoleting aged-out and non gateway exceptions
2154 pr_debug("purging route %p via non-router but gateway\n",
3054 /* rt_cache's gateway might be different from its 'parent'
3056 * So we keep searching in the exception table if the gateway
3091 struct in6_addr gateway;
3106 .gw = &rdfl->gateway,
3141 if (ip6_redirect_nh_match(&res, fl6, &rdfl->gateway,
3180 const struct in6_addr *gateway)
3186 rdfl.gateway = *gateway;
3415 "Nexthop has invalid gateway or device mismatch");
3437 /* gw_addr can not require a gateway or resolve to a reject
3512 NL_SET_ERR_MSG(extack, "Invalid gateway address");
4192 /* if gateway was specified only delete the one hop */
4731 /* Remove routers and update dst entries when gateway turn into host. */
4734 struct in6_addr *gateway = (struct in6_addr *)arg;
4743 nh->fib_nh_gw_family && ipv6_addr_equal(gateway, &nh->fib_nh_gw6))
4748 * gateway than its 'parent' in the case of an ip redirect.
4750 fib6_nh_exceptions_clean_tohost(nh, gateway);
4755 void rt6_clean_tohost(struct net *net, struct in6_addr *gateway)
4757 fib6_clean_all(net, fib6_clean_tohost, gateway);