Searched refs:fib_nh_flags (Results 1 – 6 of 6) sorted by relevance
311 ((nh->fib_nh_flags ^ onh->fib_nh_flags) & ~RTNH_COMPARE_MASK)) in nh_comp()454 !(nh->fib_nh_flags & RTNH_F_DEAD)) { in ip_fib_check_default()641 nh->fib_nh_flags = cfg->fc_flags; in fib_nh_init()811 if (nh->fib_nh_flags & RTNH_F_DEAD) in fib_rebalance()815 nh->fib_nh_flags & RTNH_F_LINKDOWN) in fib_rebalance()1126 if (nh->fib_nh_flags & RTNH_F_ONLINK) { in fib_check_nh_v4_gw()1148 nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib_check_nh_v4_gw()1206 nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib_check_nh_v4_gw()1241 nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib_check_nh_nongw()1909 if (nh->fib_nh_flags & RTNH_F_DEAD) in call_fib_nh_notifiers()[all …]
2810 nh->nh_flags = fib_nh->fib_nh_flags; in nh_create_ipv4()2849 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()741 if (nh->fib_nh_flags & RTNH_F_DEAD) in find_match()745 nh->fib_nh_flags & RTNH_F_LINKDOWN && in find_match()3565 fib6_nh->fib_nh_flags |= RTNH_F_ONLINK; in fib6_nh_init()3620 fib6_nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib6_nh_init()4774 rt->fib6_nh->fib_nh_flags &= ~arg->nh_flags; in fib6_ifup()4828 rt->fib6_nh->fib_nh_flags & RTNH_F_DEAD) in rt6_multipath_dead_count()4845 rt->fib6_nh->fib_nh_flags |= nh_flags; in rt6_multipath_nh_flags_set()[all …]
120 #define fib_nh_flags nh_common.nhc_flags macro
2740 nh->fib_nh_flags |= RTNH_F_OFFLOAD; in ofdpa_fib4_add()2757 nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in ofdpa_fib4_del()2786 nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in ofdpa_fib4_abort()
4050 nh->key.fib_nh->fib_nh_flags |= RTNH_F_OFFLOAD; in mlxsw_sp_nexthop4_group_offload_refresh()4052 nh->key.fib_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_nexthop4_group_offload_refresh()4068 fib6_nh->fib_nh_flags |= RTNH_F_OFFLOAD; in __mlxsw_sp_nexthop6_group_offload_refresh()4070 fib6_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in __mlxsw_sp_nexthop6_group_offload_refresh()4640 fib_nh->fib_nh_flags & RTNH_F_LINKDOWN) { in mlxsw_sp_nexthop4_init()6935 fib6_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_rt6_destroy()