Lines Matching refs:scope

102 		.scope	= RT_SCOPE_NOWHERE,
106 .scope = RT_SCOPE_UNIVERSE,
110 .scope = RT_SCOPE_HOST,
114 .scope = RT_SCOPE_LINK,
118 .scope = RT_SCOPE_LINK,
122 .scope = RT_SCOPE_UNIVERSE,
126 .scope = RT_SCOPE_UNIVERSE,
130 .scope = RT_SCOPE_UNIVERSE,
134 .scope = RT_SCOPE_UNIVERSE,
138 .scope = RT_SCOPE_UNIVERSE,
142 .scope = RT_SCOPE_NOWHERE,
146 .scope = RT_SCOPE_NOWHERE,
338 static unsigned int fib_info_hashfn_1(int init_val, u8 protocol, u8 scope,
343 val ^= (protocol << 8) | scope;
1097 * Every prefix is assigned a "scope" value: "host" is local address,
1103 * where gw must have narrower scope. This recursion stops
1104 * when gw has LOCAL scope or if "nexthop" is declared ONLINK,
1114 * {universe prefix} -> (gw, oif) [scope link]
1116 * |-> {link prefix} -> (gw, oif) [scope local]
1121 u8 scope, struct netlink_ext_ack *extack)
1130 if (scope >= RT_SCOPE_LINK) {
1131 NL_SET_ERR_MSG(extack, "Nexthop has invalid scope");
1160 .flowi4_scope = scope + 1,
1197 nh->fib_nh_scope = res.scope;
1249 int fib_check_nh(struct net *net, struct fib_nh *nh, u32 table, u8 scope,
1255 err = fib_check_nh_v4_gw(net, nh, table, scope, extack);
1325 unsigned char scope)
1331 return inet_select_addr(nhc->nhc_dev, 0, scope);
1334 saddr = inet_select_addr(nh->fib_nh_dev, nh->fib_nh_gw4, scope);
1399 if (fib_props[cfg->fc_type].scope > cfg->fc_scope) {
1400 NL_SET_ERR_MSG(extack, "Invalid scope");
1525 NL_SET_ERR_MSG(extack, "Invalid scope");
1539 "Route with host scope can not have multiple nexthops");
1544 "Route with host scope can not have a gateway");
1980 * NETDEV_CHANGE 0 LINKDOWN Carrier OFF, not for scope host
1981 * NETDEV_DOWN 0 LINKDOWN|DEAD Link down, not for scope host
1991 int scope = RT_SCOPE_NOWHERE;
1996 scope = -1;
2011 nexthop_nh->fib_nh_scope != scope) {
2086 if (next_fi->fib_scope != res->scope ||