Home
last modified time | relevance | path

Searched refs:RTNH_F_DEAD (Results 1 – 10 of 10) sorted by relevance

/linux-6.1.9/net/ipv4/
Dfib_semantics.c453 !(nh->fib_nh_flags & RTNH_F_DEAD)) { in ip_fib_check_default()
710 if (rtnh->rtnh_flags & (RTNH_F_DEAD | RTNH_F_LINKDOWN)) { in fib_get_nhs()
811 if (nh->fib_nh_flags & RTNH_F_DEAD) in fib_rebalance()
825 if (nexthop_nh->fib_nh_flags & RTNH_F_DEAD) { in fib_rebalance()
1399 if (cfg->fc_flags & (RTNH_F_DEAD | RTNH_F_LINKDOWN)) { in fib_create_info()
1632 if (nhc->nhc_flags & RTNH_F_DEAD) in fib_nexthop_info()
1633 *flags |= RTNH_F_DEAD; in fib_nexthop_info()
1642 *flags |= RTNH_F_DEAD; in fib_nexthop_info()
1646 *flags |= RTNH_F_DEAD; in fib_nexthop_info()
1886 fi->fib_flags |= RTNH_F_DEAD; in fib_sync_down_addr()
[all …]
Dfib_frontend.c1439 fib_sync_up(dev, RTNH_F_DEAD); in fib_inetaddr_event()
1486 fib_sync_up(dev, RTNH_F_DEAD); in fib_netdev_event()
Dfib_trie.c1429 if (nhc->nhc_flags & RTNH_F_DEAD) in fib_lookup_good_nhc()
1599 if (fi->fib_flags & RTNH_F_DEAD) in fib_table_lookup()
2075 (!(fi->fib_flags & RTNH_F_DEAD) && in fib_table_flush()
Dnexthop.c1850 fi->fib_flags |= RTNH_F_DEAD; in __remove_nexthop_fib()
Droute.c3132 if (nhc->nhc_flags & RTNH_F_DEAD) in fib_dump_info_fnhe()
/linux-6.1.9/include/uapi/linux/
Din_route.h7 #define RTCF_DEAD RTNH_F_DEAD
Drtnetlink.h418 #define RTNH_F_DEAD 1 /* Nexthop is dead (used by multipath) */ macro
426 #define RTNH_COMPARE_MASK (RTNH_F_DEAD | RTNH_F_LINKDOWN | \
/linux-6.1.9/net/mpls/
Daf_mpls.c258 if (nh_flags & (RTNH_F_DEAD | RTNH_F_LINKDOWN)) in mpls_select_multipath()
704 nh->nh_flags |= RTNH_F_DEAD; 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()
1545 nh_flags |= RTNH_F_DEAD; 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()
1635 mpls_ifup(dev, RTNH_F_DEAD); in mpls_dev_notify()
1640 mpls_ifup(dev, RTNH_F_DEAD | RTNH_F_LINKDOWN); in mpls_dev_notify()
2032 if (nh->nh_flags & RTNH_F_DEAD) in mpls_dump_route()
[all …]
/linux-6.1.9/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()
2993 if (nh->fib_nh_flags & RTNH_F_DEAD || !nh->fib_nh_gw_family || in ip6_redirect_nh_match()
4682 if (rt->fib6_nh->fib_nh_flags & RTNH_F_DEAD || in rt6_is_dead()
4777 if (nh_flags & RTNH_F_DEAD && netif_carrier_ok(dev)) in rt6_sync_up()
4814 rt->fib6_nh->fib_nh_flags & RTNH_F_DEAD) in rt6_multipath_dead_count()
4818 iter->fib6_nh->fib_nh_flags & RTNH_F_DEAD) in rt6_multipath_dead_count()
4863 rt6_multipath_nh_flags_set(rt, dev, RTNH_F_DEAD | in fib6_ifdown()
Daddrconf.c3644 rt6_sync_up(dev, RTNH_F_DEAD); in addrconf_notify()