Home
last modified time | relevance | path

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

/Linux-v5.15/include/net/
Dip6_fib.h185 u32 fib6_flags; member
227 u32 fib6_flags; member
252 f6i->fib6_flags &= ~RTF_EXPIRES; in fib6_clean_expires()
260 f6i->fib6_flags |= RTF_EXPIRES; in fib6_set_expires()
265 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.h541 res->fib6_flags |= RTF_REJECT; in nexthop_path_fib6_result()
/Linux-v5.15/net/ipv6/
Droute.c106 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif,
281 .fib6_flags = (RTF_REJECT | RTF_NONEXTHOP),
449 if (rt6_score_route(nh, sibling->fib6_flags, oif, strict) < 0) in fib6_select_path()
583 res->fib6_flags = res->f6i->fib6_flags; in rt6_device_match()
587 res->fib6_flags |= RTF_REJECT; in rt6_device_match()
706 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, in rt6_score_route() argument
717 m |= IPV6_DECODE_PREF(IPV6_EXTRACT_PREF(fib6_flags)) << 2; in rt6_score_route()
720 !(fib6_flags & RTF_NONEXTHOP) && nh->fib_nh_gw_family) { in rt6_score_route()
728 static bool find_match(struct fib6_nh *nh, u32 fib6_flags, in find_match() argument
743 m = rt6_score_route(nh, fib6_flags, oif, strict); in find_match()
[all …]
Dip6_fib.c1117 if (!(iter->fib6_flags & RTF_EXPIRES)) in fib6_add_rt2node()
1119 if (!(rt->fib6_flags & RTF_EXPIRES)) in fib6_add_rt2node()
1326 (rt->fib6_flags & RTF_EXPIRES)) in fib6_start_gc()
2297 if (rt->fib6_flags & RTF_EXPIRES && rt->expires) { in fib6_age()
2489 unsigned int flags = rt->fib6_flags; in ipv6_route_native_seq_show()
Dndisc.c1341 rt->fib6_flags = (rt->fib6_flags & ~RTF_PREF_MASK) | RTF_PREF(pref); in ndisc_router_discovery()
Daddrconf.c1250 if (!(f6i->fib6_flags & RTF_EXPIRES)) in cleanup_prefix_route()
2455 if ((rt->fib6_flags & flags) != flags) in addrconf_get_prefix_route()
2457 if ((rt->fib6_flags & noflags) != 0) in addrconf_get_prefix_route()
/Linux-v5.15/tools/testing/selftests/bpf/progs/
Dbpf_iter_ipv6_route.c25 flags = rt->fib6_flags; in dump_ipv6_route()
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c6501 if (rt->fib6_flags & RTF_CACHE) in mlxsw_sp_fib6_rt_should_ignore()
6895 if (rt->fib6_flags & (RTF_LOCAL | RTF_ANYCAST)) in mlxsw_sp_fib6_entry_type_set()
6899 else if (rt->fib6_flags & RTF_REJECT) in mlxsw_sp_fib6_entry_type_set()