Searched refs:fib6_flags (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/include/net/ |
H A D | ip6_fib.h | 186 u32 fib6_flags; member 227 u32 fib6_flags; member 254 f6i->fib6_flags &= ~RTF_EXPIRES; in fib6_clean_expires() 262 f6i->fib6_flags |= RTF_EXPIRES; in fib6_set_expires() 267 if (f6i->fib6_flags & RTF_EXPIRES) in fib6_check_expired()
|
H A D | ip6_route.h | 77 return !(f6i->fib6_flags & RTF_ADDRCONF) && !f6i->nh && in rt6_qualify_for_ecmp()
|
H A D | nexthop.h | 518 res->fib6_flags |= RTF_REJECT; in nexthop_path_fib6_result()
|
/openbmc/linux/net/ipv6/ |
H A D | route.c | 107 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, 287 .fib6_flags = (RTF_REJECT | RTF_NONEXTHOP), 456 if (rt6_score_route(nh, sibling->fib6_flags, oif, strict) < 0) in fib6_select_path() 590 res->fib6_flags = res->f6i->fib6_flags; in rt6_device_match() 594 res->fib6_flags |= RTF_REJECT; in rt6_device_match() 716 static int rt6_score_route(const struct fib6_nh *nh, u32 fib6_flags, int oif, in rt6_score_route() argument 727 m |= IPV6_DECODE_PREF(IPV6_EXTRACT_PREF(fib6_flags)) << 2; in rt6_score_route() 730 !(fib6_flags & RTF_NONEXTHOP) && nh->fib_nh_gw_family) { in rt6_score_route() 738 static bool find_match(struct fib6_nh *nh, u32 fib6_flags, in find_match() argument 753 m = rt6_score_route(nh, fib6_flags, oif, strict); in find_match() [all …]
|
H A D | ip6_fib.c | 1122 if (!(iter->fib6_flags & RTF_EXPIRES)) in fib6_add_rt2node() 1124 if (!(rt->fib6_flags & RTF_EXPIRES)) in fib6_add_rt2node() 1331 (rt->fib6_flags & RTF_EXPIRES)) in fib6_start_gc() 2301 if (rt->fib6_flags & RTF_EXPIRES && rt->expires) { in fib6_age() 2493 unsigned int flags = rt->fib6_flags; in ipv6_route_native_seq_show()
|
H A D | ndisc.c | 1408 } else if (rt && IPV6_EXTRACT_PREF(rt->fib6_flags) != pref) { in ndisc_router_discovery() 1412 rt->fib6_flags = (rt->fib6_flags & ~RTF_PREF_MASK) | RTF_PREF(pref); in ndisc_router_discovery()
|
H A D | addrconf.c | 1280 if (!(f6i->fib6_flags & RTF_EXPIRES)) in cleanup_prefix_route() 2484 if ((rt->fib6_flags & flags) != flags) in addrconf_get_prefix_route() 2486 if ((rt->fib6_flags & noflags) != 0) in addrconf_get_prefix_route()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | bpf_iter_ipv6_route.c | 25 flags = rt->fib6_flags; in dump_ipv6_route()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | 6649 if (rt->fib6_flags & RTF_CACHE) in mlxsw_sp_fib6_rt_should_ignore() 7088 if (rt->fib6_flags & RTF_LOCAL) in mlxsw_sp_fib6_entry_type_set() 7091 if (rt->fib6_flags & RTF_ANYCAST) in mlxsw_sp_fib6_entry_type_set() 7095 else if (rt->fib6_flags & RTF_REJECT) in mlxsw_sp_fib6_entry_type_set()
|