Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/ipv4/
Dfib_semantics.c309 ((nh->fib_nh_flags ^ onh->fib_nh_flags) & ~RTNH_COMPARE_MASK)) in nh_comp()
452 !(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()
1052 .fc_flags = nh->fib_nh_flags | RTF_GATEWAY, in fib_check_nh_v6_gw()
1122 if (nh->fib_nh_flags & RTNH_F_ONLINK) { in fib_check_nh_v4_gw()
1144 nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib_check_nh_v4_gw()
[all …]
Dnexthop.c1347 nh->nh_flags = fib_nh->fib_nh_flags; in nh_create_ipv4()
1386 nh->nh_flags = fib6_nh->fib_nh_flags; in nh_create_ipv6()
/kernel/linux/linux-5.10/net/ipv6/
Droute.c467 if (nh->fib_nh_flags & RTNH_F_DEAD) in __rt6_device_match()
537 if (!(nh->fib_nh_flags & RTNH_F_DEAD)) in rt6_device_match()
574 if (nh->fib_nh_flags & RTNH_F_DEAD) { in rt6_device_match()
733 if (nh->fib_nh_flags & RTNH_F_DEAD) in find_match()
737 nh->fib_nh_flags & RTNH_F_LINKDOWN && in find_match()
2869 if (nh->fib_nh_flags & RTNH_F_DEAD || !nh->fib_nh_gw_family || in ip6_redirect_nh_match()
3449 fib6_nh->fib_nh_flags |= RTNH_F_ONLINK; in fib6_nh_init()
3503 fib6_nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib6_nh_init()
4589 if (rt->fib6_nh->fib_nh_flags & RTNH_F_DEAD || in rt6_is_dead()
4590 (rt->fib6_nh->fib_nh_flags & RTNH_F_LINKDOWN && in rt6_is_dead()
[all …]
/kernel/linux/linux-5.10/include/net/
Dip_fib.h115 #define fib_nh_flags nh_common.nhc_flags macro
/kernel/linux/linux-5.10/drivers/net/ethernet/rocker/
Drocker_ofdpa.c2751 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c3405 nh->key.fib_nh->fib_nh_flags |= RTNH_F_OFFLOAD; in mlxsw_sp_nexthop4_group_offload_refresh()
3407 nh->key.fib_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_nexthop4_group_offload_refresh()
3423 fib6_nh->fib_nh_flags |= RTNH_F_OFFLOAD; in __mlxsw_sp_nexthop6_group_offload_refresh()
3425 fib6_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in __mlxsw_sp_nexthop6_group_offload_refresh()
3902 fib_nh->fib_nh_flags & RTNH_F_LINKDOWN) { in mlxsw_sp_nexthop4_init()
5053 fib6_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_rt6_destroy()