Home
last modified time | relevance | path

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

/linux/net/ipv6/
H A Droute.c107 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif,
285 .fib6_flags = (RTF_REJECT | RTF_NONEXTHOP),
454 if (rt6_score_route(nh, sibling->fib6_flags, oif, strict) < 0) in fib6_select_path()
588 res->fib6_flags = res->f6i->fib6_flags; in rt6_device_match()
592 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 …]
H A Dndisc.c1413 } else if (rt && IPV6_EXTRACT_PREF(rt->fib6_flags) != pref) { in ndisc_router_discovery()
1417 rt->fib6_flags = (rt->fib6_flags & ~RTF_PREF_MASK) | RTF_PREF(pref); in ndisc_router_discovery()
H A Daddrconf.c1271 if (!(f6i->fib6_flags & RTF_EXPIRES)) { in cleanup_prefix_route()
2518 if ((rt->fib6_flags & flags) != flags) in addrconf_get_prefix_route()
2520 if ((rt->fib6_flags & noflags) != 0) in addrconf_get_prefix_route()
/linux/include/net/
H A Dip6_route.h76 return !(f6i->fib6_flags & RTF_ADDRCONF) && !f6i->nh && in rt6_qualify_for_ecmp()
H A Dnexthop.h548 res->fib6_flags |= RTF_REJECT; in nexthop_path_fib6_result()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c6895 if (rt->fib6_flags & RTF_CACHE) in mlxsw_sp_fib6_rt_should_ignore()
7337 if (rt->fib6_flags & RTF_LOCAL) in mlxsw_sp_fib6_entry_type_set()
7340 if (rt->fib6_flags & RTF_ANYCAST) in mlxsw_sp_fib6_entry_type_set()
7344 else if (rt->fib6_flags & RTF_REJECT) in mlxsw_sp_fib6_entry_type_set()