Searched refs:fib6_flags (Results 1 – 7 of 7) sorted by relevance
| /linux/include/net/ |
| H A D | ip6_fib.h | 183 u32 fib6_flags; member 225 u32 fib6_flags; member 255 f6i->fib6_flags &= ~RTF_EXPIRES; in fib6_clean_expires() 266 f6i->fib6_flags |= RTF_EXPIRES; in fib6_set_expires() 271 if (f6i->fib6_flags & RTF_EXPIRES) in fib6_check_expired()
|
| H A D | nexthop.h | 550 res->fib6_flags |= RTF_REJECT; in nexthop_path_fib6_result()
|
| /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 in rt6_score_route() 770 find_match(struct fib6_nh * nh,u32 fib6_flags,int oif,int strict,int * mpri,bool * do_rr) find_match() argument [all...] |
| H A D | ip6_fib.c | 1143 if (!(iter->fib6_flags & RTF_EXPIRES)) in fib6_add_rt2node() 1145 if (!(rt->fib6_flags & RTF_EXPIRES)) { in fib6_add_rt2node() 1152 if (!(rt->fib6_flags & (RTF_ADDRCONF | RTF_PREFIX_RT)) && in fib6_add_rt2node() 1154 iter->fib6_flags &= ~RTF_ADDRCONF; in fib6_add_rt2node() 1155 iter->fib6_flags &= ~RTF_PREFIX_RT; in fib6_add_rt2node() 1387 (rt->fib6_flags & RTF_EXPIRES)) in fib6_start_gc() 1548 if (rt->fib6_flags & RTF_EXPIRES) in fib6_add() 2357 bool may_expire = rt->fib6_flags & RTF_EXPIRES && rt->expires; in fib6_age_exceptions() 2375 if (rt->fib6_flags & RTF_EXPIRES && rt->expires) { in fib6_age() 2608 unsigned int flags = rt->fib6_flags; in ipv6_route_native_seq_show()
|
| H A D | ndisc.c | 1396 } else if (rt && IPV6_EXTRACT_PREF(rt->fib6_flags) != pref) { in ndisc_router_discovery() 1400 rt->fib6_flags = (rt->fib6_flags & ~RTF_PREF_MASK) | RTF_PREF(pref); in ndisc_router_discovery()
|
| H A D | addrconf.c | 1278 if (!(f6i->fib6_flags & RTF_EXPIRES)) { in cleanup_prefix_route() 2521 if ((rt->fib6_flags & flags) != flags) in addrconf_get_prefix_route() 2523 if ((rt->fib6_flags & noflags) != 0) in addrconf_get_prefix_route()
|
| /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()
|