Lines Matching defs:gw
442 int ip_fib_check_default(__be32 gw, struct net_device *dev)
453 nh->fib_nh_gw4 == gw &&
677 static int fib_gw_from_attr(__be32 *gw, struct nlattr *nla,
680 if (nla_len(nla) < sizeof(*gw)) {
685 *gw = nla_get_in_addr(nla);
960 __be32 gw;
962 err = fib_gw_from_attr(&gw, nla, extack);
967 gw != nh->fib_nh_gw4)
1102 * Every prefix refers to a set of "nexthop"s (gw, oif),
1103 * where gw must have narrower scope. This recursion stops
1104 * when gw has LOCAL scope or if "nexthop" is declared ONLINK,
1105 * which means that gw is forced to be on link.
1114 * {universe prefix} -> (gw, oif) [scope link]
1116 * |-> {link prefix} -> (gw, oif) [scope local]