Searched refs:nh_flags (Results 1 – 5 of 5) sorted by relevance
256 unsigned int nh_flags = READ_ONCE(nh->nh_flags); in mpls_select_multipath() local258 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()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()1545 unsigned int nh_flags = nh->nh_flags; in mpls_ifdown() local1553 nh_flags |= RTNH_F_DEAD; in mpls_ifdown()1556 nh_flags |= RTNH_F_LINKDOWN; in mpls_ifdown()1562 if (nh->nh_flags != nh_flags) in mpls_ifdown()[all …]
95 unsigned int nh_flags; member
707 nhm->nh_flags = nh->nh_flags; in nh_fill_node()930 nhm->nh_flags = bucket->nh_flags; in nh_fill_res_bucket()1538 bucket->nh_flags &= ~(RTNH_F_OFFLOAD | RTNH_F_TRAP); in nh_res_bucket_migrate()2123 new->nh_flags |= old->nh_flags & (RTNH_F_OFFLOAD | RTNH_F_TRAP); in replace_nexthop_single()2132 old_nh_flags = old->nh_flags; in replace_nexthop_single()2135 old->nh_flags = new->nh_flags; in replace_nexthop_single()2168 old->nh_flags = old_nh_flags; in replace_nexthop_single()2516 .fc_flags = cfg->nh_flags, in nh_create_ipv4()2536 nh->nh_flags = fib_nh->fib_nh_flags; in nh_create_ipv4()2555 .fc_flags = cfg->nh_flags, in nh_create_ipv6()[all …]
2151 int fib_sync_up(struct net_device *dev, unsigned char nh_flags) in fib_sync_up() argument2161 if (nh_flags & RTNH_F_DEAD) { in fib_sync_up()2165 nh_flags |= RTNH_F_LINKDOWN; in fib_sync_up()2183 if (!(nexthop_nh->fib_nh_flags & nh_flags)) { in fib_sync_up()2194 nexthop_nh->fib_nh_flags &= ~nh_flags; in fib_sync_up()2199 fi->fib_flags &= ~nh_flags; in fib_sync_up()
4652 unsigned char nh_flags; member4758 rt->fib6_nh->fib_nh_flags &= ~arg->nh_flags; in fib6_ifup()4766 void rt6_sync_up(struct net_device *dev, unsigned char nh_flags) in rt6_sync_up() argument4771 .nh_flags = nh_flags, in rt6_sync_up()4775 if (nh_flags & RTNH_F_DEAD && netif_carrier_ok(dev)) in rt6_sync_up()4776 arg.nh_flags |= RTNH_F_LINKDOWN; in rt6_sync_up()4824 unsigned char nh_flags) in rt6_multipath_nh_flags_set() argument4829 rt->fib6_nh->fib_nh_flags |= nh_flags; in rt6_multipath_nh_flags_set()4832 iter->fib6_nh->fib_nh_flags |= nh_flags; in rt6_multipath_nh_flags_set()5604 unsigned char nh_flags = 0; in rt6_fill_node() local[all …]