Home
last modified time | relevance | path

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

/linux/net/decnet/
A Ddn_fib.c126 ((nh->nh_flags^onh->nh_flags)&~RTNH_F_DEAD)) in dn_fib_nh_comp()
420 if (fi->fib_flags & RTNH_F_DEAD) in dn_fib_semantic_match()
433 if (nh->nh_flags & RTNH_F_DEAD) in dn_fib_semantic_match()
466 if (!(nh->nh_flags&RTNH_F_DEAD)) { in dn_fib_select_multipath()
712 fi->fib_flags |= RTNH_F_DEAD; in dn_fib_sync_down()
718 if (nh->nh_flags&RTNH_F_DEAD) in dn_fib_sync_down()
723 nh->nh_flags |= RTNH_F_DEAD; in dn_fib_sync_down()
731 fi->fib_flags |= RTNH_F_DEAD; in dn_fib_sync_down()
751 if (!(nh->nh_flags&RTNH_F_DEAD)) { in dn_fib_sync_up()
762 nh->nh_flags &= ~RTNH_F_DEAD; in dn_fib_sync_up()
[all …]
A Ddn_table.c756 if (fi && ((f->fn_state & DN_S_ZOMBIE) || (fi->fib_flags & RTNH_F_DEAD))) { in dn_flush_list()
/linux/net/ipv4/
A Dfib_semantics.c800 if (nh->fib_nh_flags & RTNH_F_DEAD) in fib_rebalance()
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()
1903 if (nh->fib_nh_flags & RTNH_F_DEAD) in call_fib_nh_notifiers()
1911 (nh->fib_nh_flags & RTNH_F_DEAD)) in call_fib_nh_notifiers()
2031 fi->fib_flags |= RTNH_F_DEAD; in fib_sync_down_dev()
2074 if (next_fi->fib_flags & RTNH_F_DEAD) in fib_select_default()
[all …]
A Dfib_frontend.c1422 fib_sync_up(dev, RTNH_F_DEAD); in fib_inetaddr_event()
1469 fib_sync_up(dev, RTNH_F_DEAD); in fib_netdev_event()
A Dfib_trie.c1414 if (nhc->nhc_flags & RTNH_F_DEAD) in fib_lookup_good_nhc()
1586 if (fi->fib_flags & RTNH_F_DEAD) in fib_table_lookup()
2060 (!(fi->fib_flags & RTNH_F_DEAD) && in fib_table_flush()
A Dnexthop.c1849 fi->fib_flags |= RTNH_F_DEAD; in __remove_nexthop_fib()
A Droute.c3109 if (nhc->nhc_flags & RTNH_F_DEAD) in fib_dump_info_fnhe()
/linux/net/mpls/
A 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()
1546 nh_flags |= RTNH_F_DEAD; in mpls_ifdown()
1634 mpls_ifup(dev, RTNH_F_DEAD | RTNH_F_LINKDOWN); in mpls_dev_notify()
1636 mpls_ifup(dev, RTNH_F_DEAD); in mpls_dev_notify()
1641 mpls_ifup(dev, RTNH_F_DEAD | RTNH_F_LINKDOWN); in mpls_dev_notify()
2033 if (nh->nh_flags & RTNH_F_DEAD) in mpls_dump_route()
2034 rtm->rtm_flags |= RTNH_F_DEAD; in mpls_dump_route()
2059 if (nh->nh_flags & RTNH_F_DEAD) { in mpls_dump_route()
2060 rtnh->rtnh_flags |= RTNH_F_DEAD; in mpls_dump_route()
[all …]
/linux/include/uapi/linux/
A Din_route.h7 #define RTCF_DEAD RTNH_F_DEAD
A Drtnetlink.h409 #define RTNH_F_DEAD 1 /* Nexthop is dead (used by multipath) */ macro
417 #define RTNH_COMPARE_MASK (RTNH_F_DEAD | RTNH_F_LINKDOWN | \
/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()
2997 if (nh->fib_nh_flags & RTNH_F_DEAD || !nh->fib_nh_gw_family || in ip6_redirect_nh_match()
4695 if (rt->fib6_nh->fib_nh_flags & RTNH_F_DEAD || in rt6_is_dead()
4790 if (nh_flags & RTNH_F_DEAD && netif_carrier_ok(dev)) in rt6_sync_up()
4827 rt->fib6_nh->fib_nh_flags & RTNH_F_DEAD) in rt6_multipath_dead_count()
4831 iter->fib6_nh->fib_nh_flags & RTNH_F_DEAD) in rt6_multipath_dead_count()
4876 rt6_multipath_nh_flags_set(rt, dev, RTNH_F_DEAD | in fib6_ifdown()
A Daddrconf.c3622 rt6_sync_up(dev, RTNH_F_DEAD); in addrconf_notify()

Completed in 60 milliseconds