Lines Matching refs:fib_nh_flags
303 ((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()
814 if (nexthop_nh->fib_nh_flags & RTNH_F_DEAD) { in fib_rebalance()
817 nexthop_nh->fib_nh_flags & RTNH_F_LINKDOWN) { in fib_rebalance()
1036 .fc_flags = nh->fib_nh_flags | RTF_GATEWAY, in fib_check_nh_v6_gw()
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()
1199 if (nh->fib_nh_flags & (RTNH_F_PERVASIVE | RTNH_F_ONLINK)) { in fib_check_nh_nongw()
1221 nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib_check_nh_nongw()
1557 if (nexthop_nh->fib_nh_flags & RTNH_F_LINKDOWN) in fib_create_info()
1903 if (nh->fib_nh_flags & RTNH_F_DEAD) in call_fib_nh_notifiers()
1905 if (ignore_link_down && nh->fib_nh_flags & RTNH_F_LINKDOWN) in call_fib_nh_notifiers()
1910 if ((ignore_link_down && nh->fib_nh_flags & RTNH_F_LINKDOWN) || in call_fib_nh_notifiers()
1911 (nh->fib_nh_flags & RTNH_F_DEAD)) in call_fib_nh_notifiers()
2002 if (nexthop_nh->fib_nh_flags & RTNH_F_DEAD) in fib_sync_down_dev()
2009 nexthop_nh->fib_nh_flags |= RTNH_F_DEAD; in fib_sync_down_dev()
2012 nexthop_nh->fib_nh_flags |= RTNH_F_LINKDOWN; in fib_sync_down_dev()
2163 if (!(nexthop_nh->fib_nh_flags & nh_flags)) { in fib_sync_up()
2174 nexthop_nh->fib_nh_flags &= ~nh_flags; in fib_sync_up()