Home
last modified time | relevance | path

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

/linux/net/ipv4/
A Dfib_semantics.c303 ((nh->fib_nh_flags ^ onh->fib_nh_flags) & ~RTNH_COMPARE_MASK)) in nh_comp()
442 !(nh->fib_nh_flags & RTNH_F_DEAD)) { in ip_fib_check_default()
630 nh->fib_nh_flags = cfg->fc_flags; in fib_nh_init()
800 if (nh->fib_nh_flags & RTNH_F_DEAD) in fib_rebalance()
804 nh->fib_nh_flags & RTNH_F_LINKDOWN) in fib_rebalance()
1106 if (nh->fib_nh_flags & RTNH_F_ONLINK) { in fib_check_nh_v4_gw()
1128 nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib_check_nh_v4_gw()
1186 nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib_check_nh_v4_gw()
1221 nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib_check_nh_nongw()
1903 if (nh->fib_nh_flags & RTNH_F_DEAD) in call_fib_nh_notifiers()
[all …]
A 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/net/ipv6/
A Droute.c469 if (nh->fib_nh_flags & RTNH_F_DEAD) in __rt6_device_match()
539 if (!(nh->fib_nh_flags & RTNH_F_DEAD)) in rt6_device_match()
576 if (nh->fib_nh_flags & RTNH_F_DEAD) { in rt6_device_match()
735 if (nh->fib_nh_flags & RTNH_F_DEAD) in find_match()
739 nh->fib_nh_flags & RTNH_F_LINKDOWN && in find_match()
3562 fib6_nh->fib_nh_flags |= RTNH_F_ONLINK; in fib6_nh_init()
3616 fib6_nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib6_nh_init()
4773 rt->fib6_nh->fib_nh_flags &= ~arg->nh_flags; in fib6_ifup()
4827 rt->fib6_nh->fib_nh_flags & RTNH_F_DEAD) in rt6_multipath_dead_count()
4844 rt->fib6_nh->fib_nh_flags |= nh_flags; in rt6_multipath_nh_flags_set()
[all …]
/linux/include/net/
A Dip_fib.h115 #define fib_nh_flags nh_common.nhc_flags macro
/linux/drivers/net/ethernet/rocker/
A 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/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_router.c3791 nh->key.fib_nh->fib_nh_flags |= RTNH_F_OFFLOAD; in mlxsw_sp_nexthop4_group_offload_refresh()
3793 nh->key.fib_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_nexthop4_group_offload_refresh()
3809 fib6_nh->fib_nh_flags |= RTNH_F_OFFLOAD; in __mlxsw_sp_nexthop6_group_offload_refresh()
3811 fib6_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in __mlxsw_sp_nexthop6_group_offload_refresh()
4344 fib_nh->fib_nh_flags & RTNH_F_LINKDOWN) { in mlxsw_sp_nexthop4_init()
6642 fib6_nh->fib_nh_flags &= ~RTNH_F_OFFLOAD; in mlxsw_sp_rt6_destroy()

Completed in 51 milliseconds