Lines Matching defs:scope

100 		.scope	= RT_SCOPE_NOWHERE,
104 .scope = RT_SCOPE_UNIVERSE,
108 .scope = RT_SCOPE_HOST,
112 .scope = RT_SCOPE_LINK,
116 .scope = RT_SCOPE_LINK,
120 .scope = RT_SCOPE_UNIVERSE,
124 .scope = RT_SCOPE_UNIVERSE,
128 .scope = RT_SCOPE_UNIVERSE,
132 .scope = RT_SCOPE_UNIVERSE,
136 .scope = RT_SCOPE_UNIVERSE,
140 .scope = RT_SCOPE_NOWHERE,
144 .scope = RT_SCOPE_NOWHERE,
338 static unsigned int fib_info_hashfn_1(int init_val, u8 protocol, u8 scope,
343 val ^= (protocol << 8) | scope;
1095 * Every prefix is assigned a "scope" value: "host" is local address,
1101 * where gw must have narrower scope. This recursion stops
1102 * when gw has LOCAL scope or if "nexthop" is declared ONLINK,
1112 * {universe prefix} -> (gw, oif) [scope link]
1114 * |-> {link prefix} -> (gw, oif) [scope local]
1119 u8 scope, struct netlink_ext_ack *extack)
1128 if (scope >= RT_SCOPE_LINK) {
1129 NL_SET_ERR_MSG(extack, "Nexthop has invalid scope");
1158 .flowi4_scope = scope + 1,
1195 nh->fib_nh_scope = res.scope;
1247 int fib_check_nh(struct net *net, struct fib_nh *nh, u32 table, u8 scope,
1253 err = fib_check_nh_v4_gw(net, nh, table, scope, extack);
1345 unsigned char scope)
1351 return inet_select_addr(nhc->nhc_dev, 0, scope);
1354 saddr = inet_select_addr(nh->fib_nh_dev, nh->fib_nh_gw4, scope);
1419 if (fib_props[cfg->fc_type].scope > cfg->fc_scope) {
1420 NL_SET_ERR_MSG(extack, "Invalid scope");
1545 NL_SET_ERR_MSG(extack, "Invalid scope");
1559 "Route with host scope can not have multiple nexthops");
1564 "Route with host scope can not have a gateway");
1996 * NETDEV_CHANGE 0 LINKDOWN Carrier OFF, not for scope host
1997 * NETDEV_DOWN 0 LINKDOWN|DEAD Link down, not for scope host
2007 int scope = RT_SCOPE_NOWHERE;
2012 scope = -1;
2027 nexthop_nh->fib_nh_scope != scope) {
2101 if (next_fi->fib_scope != res->scope ||