Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dfib_semantics.c311 ((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 …]
H A Dnexthop.c2810 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()
/linux/net/ipv6/
H A 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()
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 …]
/linux/include/net/
H A Dip_fib.h120 #define fib_nh_flags nh_common.nhc_flags macro
/linux/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c2740 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()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c4050 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()