Lines Matching defs:scope
87 u8 scope;
91 .scope = RT_SCOPE_NOWHERE,
95 .scope = RT_SCOPE_UNIVERSE,
99 .scope = RT_SCOPE_HOST,
103 .scope = RT_SCOPE_LINK,
107 .scope = RT_SCOPE_LINK,
111 .scope = RT_SCOPE_UNIVERSE,
115 .scope = RT_SCOPE_UNIVERSE,
119 .scope = RT_SCOPE_UNIVERSE,
123 .scope = RT_SCOPE_UNIVERSE,
127 .scope = RT_SCOPE_UNIVERSE,
131 .scope = RT_SCOPE_NOWHERE,
135 .scope = RT_SCOPE_NOWHERE,
498 Every prefix is assigned a "scope" value: "host" is local address,
504 where gw must have narrower scope. This recursion stops
505 when gw has LOCAL scope or if "nexthop" is declared ONLINK,
515 {universe prefix} -> (gw, oif) [scope link]
517 |-> {link prefix} -> (gw, oif) [scope local]
553 .scope = cfg->fc_scope + 1,
568 nh->nh_scope = res.scope;
693 if (fib_props[cfg->fc_type].scope > cfg->fc_scope)
930 res->scope = fa->fa_scope;
940 return inet_select_addr(FIB_RES_DEV(*res), FIB_RES_GW(*res), res->scope);
944 u32 tb_id, u8 type, u8 scope, __be32 dst, int dst_len, u8 tos,
966 rtm->rtm_scope = scope;
1061 int scope = RT_SCOPE_NOWHERE;
1069 scope = -1;
1084 nexthop_nh->nh_scope != scope) {