Searched refs:fib6_flags (Results 1 – 8 of 8) sorted by relevance
| /Linux-v5.4/include/net/ |
| D | ip6_fib.h | 158 u32 fib6_flags; member 197 u32 fib6_flags; member 217 f6i->fib6_flags &= ~RTF_EXPIRES; in fib6_clean_expires() 225 f6i->fib6_flags |= RTF_EXPIRES; in fib6_set_expires() 230 if (f6i->fib6_flags & RTF_EXPIRES) in fib6_check_expired()
|
| D | nexthop.h | 297 res->fib6_flags |= RTF_REJECT; in nexthop_path_fib6_result()
|
| D | ip6_route.h | 77 return !(f6i->fib6_flags & RTF_ADDRCONF) && !f6i->nh && in rt6_qualify_for_ecmp()
|
| /Linux-v5.4/net/ipv6/ |
| D | route.c | 101 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, 293 .fib6_flags = (RTF_REJECT | RTF_NONEXTHOP), 458 if (rt6_score_route(nh, sibling->fib6_flags, oif, strict) < 0) in fib6_select_path() 592 res->fib6_flags = res->f6i->fib6_flags; in rt6_device_match() 596 res->fib6_flags |= RTF_REJECT; in rt6_device_match() 715 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, in rt6_score_route() argument 726 m |= IPV6_DECODE_PREF(IPV6_EXTRACT_PREF(fib6_flags)) << 2; in rt6_score_route() 729 !(fib6_flags & RTF_NONEXTHOP) && nh->fib_nh_gw_family) { in rt6_score_route() 737 static bool find_match(struct fib6_nh *nh, u32 fib6_flags, in find_match() argument 752 m = rt6_score_route(nh, fib6_flags, oif, strict); in find_match() [all …]
|
| D | ip6_fib.c | 1061 if (!(iter->fib6_flags & RTF_EXPIRES)) in fib6_add_rt2node() 1063 if (!(rt->fib6_flags & RTF_EXPIRES)) in fib6_add_rt2node() 1255 (rt->fib6_flags & RTF_EXPIRES)) in fib6_start_gc() 2188 if (rt->fib6_flags & RTF_EXPIRES && rt->expires) { in fib6_age() 2376 unsigned int flags = rt->fib6_flags; in ipv6_route_seq_show()
|
| D | ndisc.c | 1334 rt->fib6_flags = (rt->fib6_flags & ~RTF_PREF_MASK) | RTF_PREF(pref); in ndisc_router_discovery()
|
| D | addrconf.c | 1239 if (!(f6i->fib6_flags & RTF_EXPIRES)) in cleanup_prefix_route() 2429 if ((rt->fib6_flags & flags) != flags) in addrconf_get_prefix_route() 2431 if ((rt->fib6_flags & noflags) != 0) in addrconf_get_prefix_route()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
| D | spectrum_router.c | 4940 if (rt->fib6_flags & RTF_CACHE) in mlxsw_sp_fib6_rt_should_ignore() 4984 return !(rt->fib6_flags & RTF_ADDRCONF) && in mlxsw_sp_fib6_rt_can_mp() 5331 if (rt->fib6_flags & (RTF_LOCAL | RTF_ANYCAST)) in mlxsw_sp_fib6_entry_type_set() 5335 else if (rt->fib6_flags & RTF_REJECT) in mlxsw_sp_fib6_entry_type_set()
|