Searched refs:fib6_flags (Results 1 – 9 of 9) sorted by relevance
| /linux/include/net/ |
| H A D | ip6_fib.h | 183 u32 fib6_flags; member 225 u32 fib6_flags; member 255 f6i->fib6_flags &= ~RTF_EXPIRES; in fib6_clean_expires() 266 f6i->fib6_flags |= RTF_EXPIRES; in fib6_set_expires() 271 if (f6i->fib6_flags & RTF_EXPIRES) in fib6_check_expired()
|
| H A D | ip6_route.h | 76 return !(f6i->fib6_flags & RTF_ADDRCONF) && !f6i->nh && in rt6_qualify_for_ecmp()
|
| H A D | nexthop.h | 550 res->fib6_flags |= RTF_REJECT; in nexthop_path_fib6_result()
|
| /linux/net/ipv6/ |
| H A D | route.c | 107 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, 285 .fib6_flags = (RTF_REJECT | RTF_NONEXTHOP), 473 if (rt6_score_route(first->fib6_nh, first->fib6_flags, oif, in fib6_select_path() 487 if (rt6_score_route(nh, sibling->fib6_flags, oif, strict) < 0) in fib6_select_path() 621 res->fib6_flags = res->f6i->fib6_flags; in rt6_device_match() 625 res->fib6_flags |= RTF_REJECT; in rt6_device_match() 748 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, in rt6_score_route() argument 759 m |= IPV6_DECODE_PREF(IPV6_EXTRACT_PREF(fib6_flags)) << 2; in rt6_score_route() 762 !(fib6_flags & RTF_NONEXTHOP) && nh->fib_nh_gw_family) { in rt6_score_route() 770 static bool find_match(struct fib6_nh *nh, u32 fib6_flags, in find_match() argument [all …]
|
| H A D | ip6_fib.c | 1140 if (!(iter->fib6_flags & RTF_EXPIRES)) in fib6_add_rt2node() 1142 if (!(rt->fib6_flags & RTF_EXPIRES)) { in fib6_add_rt2node() 1149 if (!(rt->fib6_flags & (RTF_ADDRCONF | RTF_PREFIX_RT)) && in fib6_add_rt2node() 1151 iter->fib6_flags &= ~RTF_ADDRCONF; in fib6_add_rt2node() 1152 iter->fib6_flags &= ~RTF_PREFIX_RT; in fib6_add_rt2node() 1384 (rt->fib6_flags & RTF_EXPIRES)) in fib6_force_start_gc() 1553 if (rt->fib6_flags & RTF_EXPIRES) in fib6_add() 2362 bool may_expire = rt->fib6_flags & RTF_EXPIRES && rt->expires; 2380 if (rt->fib6_flags & RTF_EXPIRES && rt->expires) { in fib6_age() 2613 unsigned int flags = rt->fib6_flags; in ipv6_route_native_seq_show() [all...] |
| H A D | ndisc.c | 1395 } else if (rt && IPV6_EXTRACT_PREF(rt->fib6_flags) != pref) { in ndisc_router_discovery() 1399 rt->fib6_flags = (rt->fib6_flags & ~RTF_PREF_MASK) | RTF_PREF(pref); in ndisc_router_discovery()
|
| H A D | addrconf.c | 1277 if (!(f6i->fib6_flags & RTF_EXPIRES)) { in cleanup_prefix_route() 2520 if ((rt->fib6_flags & flags) != flags) in addrconf_get_prefix_route() 2522 if ((rt->fib6_flags & noflags) != 0) in addrconf_get_prefix_route()
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | bpf_iter_ipv6_route.c | 25 flags = rt->fib6_flags; in dump_ipv6_route()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_router.c | 6897 if (rt->fib6_flags & RTF_CACHE) in mlxsw_sp_fib6_rt_should_ignore() 7338 if (rt->fib6_flags & RTF_LOCAL) in mlxsw_sp_fib6_entry_type_set() 7341 if (rt->fib6_flags & RTF_ANYCAST) in mlxsw_sp_fib6_entry_type_set() 7345 else if (rt->fib6_flags & RTF_REJECT) in mlxsw_sp_fib6_entry_type_set()
|