Searched refs:fib_flags (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/linux-5.10/net/decnet/ |
D | dn_fib.c | 143 ((nfi->fib_flags^fi->fib_flags)&~RTNH_F_DEAD) == 0 && in dn_fib_find_info() 292 fi->fib_flags = r->rtm_flags; in dn_fib_create_info() 421 if (fi->fib_flags & RTNH_F_DEAD) in dn_fib_semantic_match() 713 fi->fib_flags |= RTNH_F_DEAD; in dn_fib_sync_down() 732 fi->fib_flags |= RTNH_F_DEAD; in dn_fib_sync_down() 768 fi->fib_flags &= ~RTNH_F_DEAD; in dn_fib_sync_up()
|
D | dn_table.c | 318 rtm->rtm_flags = fi->fib_flags; in dn_fib_dump_info() 756 if (fi && ((f->fn_state & DN_S_ZOMBIE) || (fi->fib_flags & RTNH_F_DEAD))) { in dn_flush_list()
|
/kernel/linux/linux-5.10/include/net/ |
D | nexthop.h | 277 int fib_flags, in nexthop_get_nhc_lookup() argument 291 if (fib_lookup_good_nhc(&nhi->fib_nhc, fib_flags, flp)) { in nexthop_get_nhc_lookup() 298 if (fib_lookup_good_nhc(&nhi->fib_nhc, fib_flags, flp)) { in nexthop_get_nhc_lookup()
|
D | ip_fib.h | 138 unsigned int fib_flags; member 269 struct fib_result *res, int fib_flags); 492 bool fib_lookup_good_nhc(const struct fib_nh_common *nhc, int fib_flags,
|
D | dn_fib.h | 35 unsigned int fib_flags; member
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | fib_semantics.c | 400 !((cfg->fc_flags ^ fi->fib_flags) & ~RTNH_COMPARE_MASK)) in fib_find_info_nh() 428 !((nfi->fib_flags ^ fi->fib_flags) & ~RTNH_COMPARE_MASK) && in fib_find_info() 1483 fi->fib_flags = cfg->fc_flags; in fib_create_info() 1575 fi->fib_flags |= RTNH_F_LINKDOWN; in fib_create_info() 1812 rtm->rtm_flags = fi->fib_flags; in fib_dump_info() 1898 fi->fib_flags |= RTNH_F_DEAD; in fib_sync_down_addr() 2040 fi->fib_flags |= RTNH_F_DEAD; in fib_sync_down_dev() 2043 fi->fib_flags |= RTNH_F_LINKDOWN; in fib_sync_down_dev() 2083 if (next_fi->fib_flags & RTNH_F_DEAD) in fib_select_default() 2186 fi->fib_flags &= ~nh_flags; in fib_sync_up()
|
D | fib_trie.c | 1374 bool fib_lookup_good_nhc(const struct fib_nh_common *nhc, int fib_flags, in fib_lookup_good_nhc() argument 1382 !(fib_flags & FIB_LOOKUP_IGNORE_LINKSTATE)) in fib_lookup_good_nhc() 1396 struct fib_result *res, int fib_flags) in fib_table_lookup() argument 1549 if (fi->fib_flags & RTNH_F_DEAD) in fib_table_lookup() 1558 nhc = nexthop_get_nhc_lookup(fi->nh, fib_flags, flp, in fib_table_lookup() 1568 if (!fib_lookup_good_nhc(nhc, fib_flags, flp)) in fib_table_lookup() 1571 if (!(fib_flags & FIB_LOOKUP_NOREF)) in fib_table_lookup() 2023 (!(fi->fib_flags & RTNH_F_DEAD) && in fib_table_flush()
|
D | nexthop.c | 874 fi->fib_flags |= RTNH_F_DEAD; in __remove_nexthop_fib()
|