Searched refs:nh_flags (Results 1 – 9 of 9) sorted by relevance
257 unsigned int nh_flags = READ_ONCE(nh->nh_flags); in mpls_select_multipath() local705 nh->nh_flags |= RTNH_F_DEAD; in mpls_nh_assign_dev()1525 unsigned int nh_flags = nh->nh_flags; in mpls_ifdown() local1533 nh_flags |= RTNH_F_DEAD; in mpls_ifdown()1536 nh_flags |= RTNH_F_LINKDOWN; in mpls_ifdown()1542 if (nh->nh_flags != nh_flags) in mpls_ifdown()1543 WRITE_ONCE(nh->nh_flags, nh_flags); in mpls_ifdown()1574 unsigned int nh_flags = nh->nh_flags; in mpls_ifup() local1576 if (!(nh_flags & flags)) { in mpls_ifup()1583 nh_flags &= ~flags; in mpls_ifup()[all …]
95 unsigned int nh_flags; member
933 nhm->nh_flags = nh->nh_flags; in nh_fill_node()1159 nhm->nh_flags = bucket->nh_flags; in nh_fill_res_bucket()2398 new->nh_flags |= old->nh_flags & (RTNH_F_OFFLOAD | RTNH_F_TRAP); in replace_nexthop_single()2407 old_nh_flags = old->nh_flags; in replace_nexthop_single()2410 old->nh_flags = new->nh_flags; in replace_nexthop_single()2443 old->nh_flags = old_nh_flags; in replace_nexthop_single()2800 .fc_flags = cfg->nh_flags, in nh_create_ipv4()2839 .fc_flags = cfg->nh_flags, in nh_create_ipv6()2882 nh->nh_flags = cfg->nh_flags; in nexthop_create()3062 cfg->nh_flags = nhm->nh_flags; in rtm_to_nh_config()[all …]
2085 int fib_sync_up(struct net_device *dev, unsigned char nh_flags) in fib_sync_up() argument2095 if (nh_flags & RTNH_F_DEAD) { in fib_sync_up()2099 nh_flags |= RTNH_F_LINKDOWN; in fib_sync_up()2118 if (!(nexthop_nh->fib_nh_flags & nh_flags)) { in fib_sync_up()2129 nexthop_nh->fib_nh_flags &= ~nh_flags; in fib_sync_up()2134 fi->fib_flags &= ~nh_flags; in fib_sync_up()
12 unsigned int nh_flags; /* RTNH_F flags */ member
31 u32 nh_flags; member79 u8 nh_flags; member153 u8 nh_flags; member
210 void rt6_sync_up(struct net_device *dev, unsigned char nh_flags);
496 int fib_sync_up(struct net_device *dev, unsigned char nh_flags);
4711 unsigned char nh_flags; member4817 rt->fib6_nh->fib_nh_flags &= ~arg->nh_flags; in fib6_ifup()4830 .nh_flags = nh_flags, in rt6_sync_up()4835 arg.nh_flags |= RTNH_F_LINKDOWN; in rt6_sync_up()4883 unsigned char nh_flags) in rt6_multipath_nh_flags_set() argument4888 rt->fib6_nh->fib_nh_flags |= nh_flags; in rt6_multipath_nh_flags_set()4891 iter->fib6_nh->fib_nh_flags |= nh_flags; in rt6_multipath_nh_flags_set()5679 unsigned char nh_flags = 0; in rt6_fill_node() local5823 rtm->rtm_flags |= nh_flags; in rt6_fill_node()5826 &nh_flags, false) < 0) in rt6_fill_node()[all …]