Home
last modified time | relevance | path

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

/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.c1118 if (!(iter->fib6_flags & RTF_EXPIRES)) in fib6_add_rt2node()
1120 if (!(rt->fib6_flags & RTF_EXPIRES)) in fib6_add_rt2node()
1327 (rt->fib6_flags & RTF_EXPIRES)) in fib6_start_gc()
2294 if (rt->fib6_flags & RTF_EXPIRES && rt->expires) { in fib6_age()
2486 unsigned int flags = rt->fib6_flags; in ipv6_route_native_seq_show()
Dndisc.c1351 rt->fib6_flags = (rt->fib6_flags & ~RTF_PREF_MASK) | RTF_PREF(pref); in ndisc_router_discovery()
Daddrconf.c1258 if (!(f6i->fib6_flags & RTF_EXPIRES)) in cleanup_prefix_route()
2483 if ((rt->fib6_flags & flags) != flags) in addrconf_get_prefix_route()
2485 if ((rt->fib6_flags & noflags) != 0) in addrconf_get_prefix_route()