Home
last modified time | relevance | path

Searched refs:fib6_flags (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.10/include/net/
Dip6_fib.h185 u32 fib6_flags; member
226 u32 fib6_flags; member
251 f6i->fib6_flags &= ~RTF_EXPIRES; in fib6_clean_expires()
259 f6i->fib6_flags |= RTF_EXPIRES; in fib6_set_expires()
264 if (f6i->fib6_flags & RTF_EXPIRES) in fib6_check_expired()
Dip6_route.h77 return !(f6i->fib6_flags & RTF_ADDRCONF) && !f6i->nh && in rt6_qualify_for_ecmp()
Dnexthop.h403 res->fib6_flags |= RTF_REJECT; in nexthop_path_fib6_result()
/Linux-v5.10/net/ipv6/
Droute.c103 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif,
296 .fib6_flags = (RTF_REJECT | RTF_NONEXTHOP),
464 if (rt6_score_route(nh, sibling->fib6_flags, oif, strict) < 0) in fib6_select_path()
598 res->fib6_flags = res->f6i->fib6_flags; in rt6_device_match()
602 res->fib6_flags |= RTF_REJECT; in rt6_device_match()
721 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, in rt6_score_route() argument
732 m |= IPV6_DECODE_PREF(IPV6_EXTRACT_PREF(fib6_flags)) << 2; in rt6_score_route()
735 !(fib6_flags & RTF_NONEXTHOP) && nh->fib_nh_gw_family) { in rt6_score_route()
743 static bool find_match(struct fib6_nh *nh, u32 fib6_flags, in find_match() argument
758 m = rt6_score_route(nh, fib6_flags, oif, strict); in find_match()
[all …]
Dip6_fib.c1113 if (!(iter->fib6_flags & RTF_EXPIRES)) in fib6_add_rt2node()
1115 if (!(rt->fib6_flags & RTF_EXPIRES)) in fib6_add_rt2node()
1322 (rt->fib6_flags & RTF_EXPIRES)) in fib6_start_gc()
2297 if (rt->fib6_flags & RTF_EXPIRES && rt->expires) { in fib6_age()
2485 unsigned int flags = rt->fib6_flags; in ipv6_route_native_seq_show()
Dndisc.c1337 rt->fib6_flags = (rt->fib6_flags & ~RTF_PREF_MASK) | RTF_PREF(pref); in ndisc_router_discovery()
Daddrconf.c1241 if (!(f6i->fib6_flags & RTF_EXPIRES)) in cleanup_prefix_route()
2445 if ((rt->fib6_flags & flags) != flags) in addrconf_get_prefix_route()
2447 if ((rt->fib6_flags & noflags) != 0) in addrconf_get_prefix_route()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dbpf_iter_ipv6_route.c26 flags = rt->fib6_flags; in dump_ipv6_route()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c5011 if (rt->fib6_flags & RTF_CACHE) in mlxsw_sp_fib6_rt_should_ignore()
5372 if (rt->fib6_flags & (RTF_LOCAL | RTF_ANYCAST)) in mlxsw_sp_fib6_entry_type_set()
5376 else if (rt->fib6_flags & RTF_REJECT) in mlxsw_sp_fib6_entry_type_set()