Home
last modified time | relevance | path

Searched refs:fib_nh_flags (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/net/ipv4/
Dfib_semantics.c309 ((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 …]
Dnexthop.c2535 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()
/linux-5.19.10/net/ipv6/
Droute.c471 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 …]
/linux-5.19.10/include/net/
Dip_fib.h118 #define fib_nh_flags nh_common.nhc_flags macro
/linux-5.19.10/drivers/net/ethernet/rocker/
Drocker_ofdpa.c2739 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()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c3852 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()