Searched refs:fib6_flags (Results 1 – 6 of 6) sorted by relevance
| /linux/net/ipv6/ |
| H A D | route.c | 107 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, 285 .fib6_flags = (RTF_REJECT | RTF_NONEXTHOP), 473 if (rt6_score_route(first->fib6_nh, first->fib6_flags, oif, in fib6_select_path() 487 if (rt6_score_route(nh, sibling->fib6_flags, oif, strict) < 0) in fib6_select_path() 621 res->fib6_flags = res->f6i->fib6_flags; in rt6_device_match() 625 res->fib6_flags |= RTF_REJECT; in rt6_device_match() 748 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, in rt6_score_route() argument 759 m |= IPV6_DECODE_PREF(IPV6_EXTRACT_PREF(fib6_flags)) << 2; in rt6_score_route() 762 !(fib6_flags & RTF_NONEXTHOP) && nh->fib_nh_gw_family) { in rt6_score_route() 770 static bool find_match(struct fib6_nh *nh, u32 fib6_flags, in find_match() argument [all …]
|
| H A D | ip6_fib.c | 1132 if (!(iter->fib6_flags & RTF_EXPIRES)) in fib6_add_rt2node() 1134 if (!(rt->fib6_flags & RTF_EXPIRES)) { in fib6_add_rt2node() 1141 if (!(rt->fib6_flags & (RTF_ADDRCONF | RTF_PREFIX_RT)) && in fib6_add_rt2node() 1143 iter->fib6_flags &= ~RTF_ADDRCONF; in fib6_add_rt2node() 1144 iter->fib6_flags &= ~RTF_PREFIX_RT; in fib6_add_rt2node() 1376 (rt->fib6_flags & RTF_EXPIRES)) in fib6_start_gc() 1545 if (rt->fib6_flags & RTF_EXPIRES) in fib6_add() 2361 if (rt->fib6_flags & RTF_EXPIRES && rt->expires) { in fib6_age() 2594 unsigned int flags = rt->fib6_flags; in ipv6_route_native_seq_show()
|
| H A D | ndisc.c | 1392 } else if (rt && IPV6_EXTRACT_PREF(rt->fib6_flags) != pref) { in ndisc_router_discovery() 1396 rt->fib6_flags = (rt->fib6_flags & ~RTF_PREF_MASK) | RTF_PREF(pref); in ndisc_router_discovery()
|
| H A D | addrconf.c | 1277 if (!(f6i->fib6_flags & RTF_EXPIRES)) { in cleanup_prefix_route() 2520 if ((rt->fib6_flags & flags) != flags) in addrconf_get_prefix_route() 2522 if ((rt->fib6_flags & noflags) != 0) in addrconf_get_prefix_route()
|
| /linux/include/net/ |
| H A D | nexthop.h | 550 res->fib6_flags |= RTF_REJECT; in nexthop_path_fib6_result()
|
| /linux/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_router.c | 6897 if (rt->fib6_flags & RTF_CACHE) in mlxsw_sp_fib6_rt_should_ignore() 7338 if (rt->fib6_flags & RTF_LOCAL) in mlxsw_sp_fib6_entry_type_set() 7341 if (rt->fib6_flags & RTF_ANYCAST) in mlxsw_sp_fib6_entry_type_set() 7345 else if (rt->fib6_flags & RTF_REJECT) in mlxsw_sp_fib6_entry_type_set()
|