Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/
H A Din_route.h7 #define RTCF_DEAD RTNH_F_DEAD
H A 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 | \
/openbmc/linux/net/ipv4/
H A Dfib_semantics.c812 if (nh->fib_nh_flags & RTNH_F_DEAD) in fib_rebalance()
1638 if (nhc->nhc_flags & RTNH_F_DEAD) in fib_nexthop_info()
1639 *flags |= RTNH_F_DEAD; in fib_nexthop_info()
1648 *flags |= RTNH_F_DEAD; in fib_nexthop_info()
1652 *flags |= RTNH_F_DEAD; in fib_nexthop_info()
1892 fi->fib_flags |= RTNH_F_DEAD; in fib_sync_down_addr()
1910 if (nh->fib_nh_flags & RTNH_F_DEAD) in call_fib_nh_notifiers()
1918 (nh->fib_nh_flags & RTNH_F_DEAD)) in call_fib_nh_notifiers()
2036 fi->fib_flags |= RTNH_F_DEAD; in fib_sync_down_dev()
2080 if (next_fi->fib_flags & RTNH_F_DEAD) in fib_select_default()
[all …]
H A Dfib_frontend.c1442 fib_sync_up(dev, RTNH_F_DEAD); in fib_inetaddr_event()
1489 fib_sync_up(dev, RTNH_F_DEAD); in fib_netdev_event()
H A Dfib_trie.c1429 if (nhc->nhc_flags & RTNH_F_DEAD) in fib_lookup_good_nhc()
1600 if (fi->fib_flags & RTNH_F_DEAD) in fib_table_lookup()
2078 (!(fi->fib_flags & RTNH_F_DEAD) && in fib_table_flush()
H A Droute.c3126 if (nhc->nhc_flags & RTNH_F_DEAD) in fib_dump_info_fnhe()
H A Dnexthop.c1874 fi->fib_flags |= RTNH_F_DEAD; in __remove_nexthop_fib()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ifmetric/ifmetric/
H A Difmetric.c_netlink-invalid-arg.patch14 + r->rtm_flags &= ~(RTNH_F_DEAD | RTNH_F_LINKDOWN);
/openbmc/linux/net/mpls/
H A Daf_mpls.c259 if (nh_flags & (RTNH_F_DEAD | RTNH_F_LINKDOWN)) in mpls_select_multipath()
705 nh->nh_flags |= RTNH_F_DEAD; in mpls_nh_assign_dev()
1535 nh_flags |= RTNH_F_DEAD; in mpls_ifdown()
1623 mpls_ifup(dev, RTNH_F_DEAD | RTNH_F_LINKDOWN); in mpls_dev_notify()
1625 mpls_ifup(dev, RTNH_F_DEAD); in mpls_dev_notify()
1630 mpls_ifup(dev, RTNH_F_DEAD | RTNH_F_LINKDOWN); in mpls_dev_notify()
2022 if (nh->nh_flags & RTNH_F_DEAD) in mpls_dump_route()
2023 rtm->rtm_flags |= RTNH_F_DEAD; in mpls_dump_route()
2048 if (nh->nh_flags & RTNH_F_DEAD) { in mpls_dump_route()
2049 rtnh->rtnh_flags |= RTNH_F_DEAD; in mpls_dump_route()
[all …]
/openbmc/linux/net/ipv6/
H A Droute.c473 if (nh->fib_nh_flags & RTNH_F_DEAD) in __rt6_device_match()
543 if (!(nh->fib_nh_flags & RTNH_F_DEAD)) in rt6_device_match()
580 if (nh->fib_nh_flags & RTNH_F_DEAD) { in rt6_device_match()
742 if (nh->fib_nh_flags & RTNH_F_DEAD) in find_match()
2999 if (nh->fib_nh_flags & RTNH_F_DEAD || !nh->fib_nh_gw_family || in ip6_redirect_nh_match()
4687 if (rt->fib6_nh->fib_nh_flags & RTNH_F_DEAD || in rt6_is_dead()
4782 if (nh_flags & RTNH_F_DEAD && netif_carrier_ok(dev)) in rt6_sync_up()
4819 rt->fib6_nh->fib_nh_flags & RTNH_F_DEAD) in rt6_multipath_dead_count()
4823 iter->fib6_nh->fib_nh_flags & RTNH_F_DEAD) in rt6_multipath_dead_count()
4868 rt6_multipath_nh_flags_set(rt, dev, RTNH_F_DEAD | in fib6_ifdown()
H A Daddrconf.c3703 rt6_sync_up(dev, RTNH_F_DEAD); in addrconf_notify()