Lines Matching refs: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,
316 static unsigned int fib_info_hashfn_1(int init_val, u8 protocol, u8 scope, in fib_info_hashfn_1() argument
321 val ^= (protocol << 8) | scope; in fib_info_hashfn_1()
1145 u8 scope, struct netlink_ext_ack *extack) in fib_check_nh_v4_gw() argument
1154 if (scope >= RT_SCOPE_LINK) { in fib_check_nh_v4_gw()
1184 .flowi4_scope = scope + 1, in fib_check_nh_v4_gw()
1221 nh->fib_nh_scope = res.scope; in fib_check_nh_v4_gw()
1273 int fib_check_nh(struct net *net, struct fib_nh *nh, u32 table, u8 scope, in fib_check_nh() argument
1279 err = fib_check_nh_v4_gw(net, nh, table, scope, extack); in fib_check_nh()
1289 unsigned char scope) in fib_info_update_nhc_saddr() argument
1295 return inet_select_addr(nhc->nhc_dev, 0, scope); in fib_info_update_nhc_saddr()
1298 saddr = inet_select_addr(nh->fib_nh_dev, nh->fib_nh_gw4, scope); in fib_info_update_nhc_saddr()
1364 if (fib_props[cfg->fc_type].scope > cfg->fc_scope) { in fib_create_info()
1934 int scope = RT_SCOPE_NOWHERE; in fib_sync_down_dev() local
1939 scope = -1; in fib_sync_down_dev()
1955 nexthop_nh->fib_nh_scope != scope) { in fib_sync_down_dev()
2029 if (next_fi->fib_scope != res->scope || in fib_select_default()