Searched refs:fib_nh_flags (Results 1 – 6 of 6) sorted by relevance
305 ((nh->fib_nh_flags ^ onh->fib_nh_flags) & ~RTNH_COMPARE_MASK)) in nh_comp()444 !(nh->fib_nh_flags & RTNH_F_DEAD)) { in ip_fib_check_default()622 nh->fib_nh_flags = cfg->fc_flags; in fib_nh_init()767 if (nh->fib_nh_flags & RTNH_F_DEAD) in fib_rebalance()771 nh->fib_nh_flags & RTNH_F_LINKDOWN) in fib_rebalance()781 if (nexthop_nh->fib_nh_flags & RTNH_F_DEAD) { in fib_rebalance()784 nexthop_nh->fib_nh_flags & RTNH_F_LINKDOWN) { in fib_rebalance()991 .fc_flags = nh->fib_nh_flags | RTF_GATEWAY, in fib_check_nh_v6_gw()1061 if (nh->fib_nh_flags & RTNH_F_ONLINK) { in fib_check_nh_v4_gw()1083 nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib_check_nh_v4_gw()[all …]
1165 nh->nh_flags = fib_nh->fib_nh_flags; in nh_create_ipv4()1199 nh->nh_flags = fib6_nh->fib_nh_flags; in nh_create_ipv6()
478 if (nh->fib_nh_flags & RTNH_F_DEAD) in __rt6_device_match()548 if (!(nh->fib_nh_flags & RTNH_F_DEAD)) in rt6_device_match()585 if (nh->fib_nh_flags & RTNH_F_DEAD) { in rt6_device_match()744 if (nh->fib_nh_flags & RTNH_F_DEAD) in find_match()748 nh->fib_nh_flags & RTNH_F_LINKDOWN && in find_match()2842 if (nh->fib_nh_flags & RTNH_F_DEAD || !nh->fib_nh_gw_family || in ip6_redirect_nh_match()3417 fib6_nh->fib_nh_flags |= RTNH_F_ONLINK; in fib6_nh_init()3471 fib6_nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib6_nh_init()4517 if (rt->fib6_nh->fib_nh_flags & RTNH_F_DEAD || in rt6_is_dead()4518 (rt->fib6_nh->fib_nh_flags & RTNH_F_LINKDOWN && in rt6_is_dead()[all …]
115 #define fib_nh_flags nh_common.nhc_flags macro
3773 fib_nh->fib_nh_flags & RTNH_F_LINKDOWN) in mlxsw_sp_nexthop4_init()4036 nh_grp->nexthops->key.fib_nh->fib_nh_flags |= RTNH_F_OFFLOAD; in mlxsw_sp_fib4_entry_offload_set()4044 nh->key.fib_nh->fib_nh_flags |= RTNH_F_OFFLOAD; in mlxsw_sp_fib4_entry_offload_set()4046 nh->key.fib_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_fib4_entry_offload_set()4062 nh->key.fib_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_fib4_entry_offload_unset()4078 list)->rt->fib6_nh->fib_nh_flags |= RTNH_F_OFFLOAD; in mlxsw_sp_fib6_entry_offload_set()4089 fib6_nh->fib_nh_flags |= RTNH_F_OFFLOAD; in mlxsw_sp_fib6_entry_offload_set()4091 fib6_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_fib6_entry_offload_set()4106 rt->fib6_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_fib6_entry_offload_unset()
2751 nh->fib_nh_flags |= RTNH_F_OFFLOAD; in ofdpa_fib4_add()2768 nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in ofdpa_fib4_del()2797 nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in ofdpa_fib4_abort()