Searched refs:fib_nh_flags (Results 1 – 6 of 6) sorted by relevance
309 ((nh->fib_nh_flags ^ onh->fib_nh_flags) & ~RTNH_COMPARE_MASK)) in nh_comp()451 !(nh->fib_nh_flags & RTNH_F_DEAD)) { in ip_fib_check_default()639 nh->fib_nh_flags = cfg->fc_flags; in fib_nh_init()809 if (nh->fib_nh_flags & RTNH_F_DEAD) in fib_rebalance()813 nh->fib_nh_flags & RTNH_F_LINKDOWN) in fib_rebalance()823 if (nexthop_nh->fib_nh_flags & RTNH_F_DEAD) { in fib_rebalance()826 nexthop_nh->fib_nh_flags & RTNH_F_LINKDOWN) { in fib_rebalance()1050 .fc_flags = nh->fib_nh_flags | RTF_GATEWAY, in fib_check_nh_v6_gw()1120 if (nh->fib_nh_flags & RTNH_F_ONLINK) { in fib_check_nh_v4_gw()1142 nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib_check_nh_v4_gw()[all …]
2535 nh->nh_flags = fib_nh->fib_nh_flags; in nh_create_ipv4()2574 nh->nh_flags = fib6_nh->fib_nh_flags; in nh_create_ipv6()
471 if (nh->fib_nh_flags & RTNH_F_DEAD) in __rt6_device_match()541 if (!(nh->fib_nh_flags & RTNH_F_DEAD)) in rt6_device_match()578 if (nh->fib_nh_flags & RTNH_F_DEAD) { in rt6_device_match()738 if (nh->fib_nh_flags & RTNH_F_DEAD) in find_match()742 nh->fib_nh_flags & RTNH_F_LINKDOWN && in find_match()2993 if (nh->fib_nh_flags & RTNH_F_DEAD || !nh->fib_nh_gw_family || in ip6_redirect_nh_match()3552 fib6_nh->fib_nh_flags |= RTNH_F_ONLINK; in fib6_nh_init()3606 fib6_nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib6_nh_init()4682 if (rt->fib6_nh->fib_nh_flags & RTNH_F_DEAD || in rt6_is_dead()4683 (rt->fib6_nh->fib_nh_flags & RTNH_F_LINKDOWN && in rt6_is_dead()[all …]
118 #define fib_nh_flags nh_common.nhc_flags macro
2739 nh->fib_nh_flags |= RTNH_F_OFFLOAD; in ofdpa_fib4_add()2756 nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in ofdpa_fib4_del()2785 nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in ofdpa_fib4_abort()
3852 nh->key.fib_nh->fib_nh_flags |= RTNH_F_OFFLOAD; in mlxsw_sp_nexthop4_group_offload_refresh()3854 nh->key.fib_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_nexthop4_group_offload_refresh()3870 fib6_nh->fib_nh_flags |= RTNH_F_OFFLOAD; in __mlxsw_sp_nexthop6_group_offload_refresh()3872 fib6_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in __mlxsw_sp_nexthop6_group_offload_refresh()4405 fib_nh->fib_nh_flags & RTNH_F_LINKDOWN) { in mlxsw_sp_nexthop4_init()6705 fib6_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_rt6_destroy()