Home
last modified time | relevance | path

Searched refs:RTNH_F_LINKDOWN (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/net/ipv4/
Dfib_semantics.c710 if (rtnh->rtnh_flags & (RTNH_F_DEAD | RTNH_F_LINKDOWN)) { in fib_get_nhs()
815 nh->fib_nh_flags & RTNH_F_LINKDOWN) in fib_rebalance()
828 nexthop_nh->fib_nh_flags & RTNH_F_LINKDOWN) { in fib_rebalance()
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()
1399 if (cfg->fc_flags & (RTNH_F_DEAD | RTNH_F_LINKDOWN)) { in fib_create_info()
1558 if (nexthop_nh->fib_nh_flags & RTNH_F_LINKDOWN) in fib_create_info()
1562 fi->fib_flags |= RTNH_F_LINKDOWN; in fib_create_info()
1635 if (nhc->nhc_flags & RTNH_F_LINKDOWN) { in fib_nexthop_info()
[all …]
Dfib_frontend.c1497 fib_sync_up(dev, RTNH_F_LINKDOWN); in fib_netdev_event()
Dfib_trie.c1433 nhc->nhc_flags & RTNH_F_LINKDOWN && in fib_lookup_good_nhc()
/linux-6.1.9/net/mpls/
Daf_mpls.c258 if (nh_flags & (RTNH_F_DEAD | RTNH_F_LINKDOWN)) in mpls_select_multipath()
710 nh->nh_flags |= RTNH_F_LINKDOWN; in mpls_nh_assign_dev()
790 if (nh->nh_flags & (RTNH_F_DEAD | RTNH_F_LINKDOWN)) in mpls_nh_build_from_cfg()
924 if (nh->nh_flags & (RTNH_F_DEAD | RTNH_F_LINKDOWN)) in mpls_nh_build_multi()
1548 nh_flags |= RTNH_F_LINKDOWN; in mpls_ifdown()
1557 if (!(nh_flags & (RTNH_F_DEAD | RTNH_F_LINKDOWN))) in mpls_ifdown()
1633 mpls_ifup(dev, RTNH_F_DEAD | RTNH_F_LINKDOWN); in mpls_dev_notify()
1640 mpls_ifup(dev, RTNH_F_DEAD | RTNH_F_LINKDOWN); in mpls_dev_notify()
2030 if (nh->nh_flags & RTNH_F_LINKDOWN) in mpls_dump_route()
2031 rtm->rtm_flags |= RTNH_F_LINKDOWN; in mpls_dump_route()
[all …]
/linux-6.1.9/include/uapi/linux/
Drtnetlink.h422 #define RTNH_F_LINKDOWN 16 /* carrier-down on nexthop */ macro
426 #define RTNH_COMPARE_MASK (RTNH_F_DEAD | RTNH_F_LINKDOWN | \
/linux-6.1.9/net/ipv6/
Droute.c742 nh->fib_nh_flags & RTNH_F_LINKDOWN && in find_match()
3606 fib6_nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib6_nh_init()
4683 (rt->fib6_nh->fib_nh_flags & RTNH_F_LINKDOWN && in rt6_is_dead()
4778 arg.nh_flags |= RTNH_F_LINKDOWN; in rt6_sync_up()
4864 RTNH_F_LINKDOWN); in fib6_ifdown()
4873 rt->fib6_nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib6_ifdown()
Daddrconf.c3606 rt6_sync_up(dev, RTNH_F_LINKDOWN); in addrconf_notify()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c4313 fib_nh->fib_nh_flags & RTNH_F_LINKDOWN) { in mlxsw_sp_nexthop4_init()