Searched refs:nh_flags (Results 1 – 9 of 9) sorted by relevance
256 unsigned int nh_flags = READ_ONCE(nh->nh_flags); in mpls_select_multipath() local704 nh->nh_flags |= RTNH_F_DEAD; in mpls_nh_assign_dev()1541 unsigned int nh_flags = nh->nh_flags; in mpls_ifdown() local1549 nh_flags |= RTNH_F_DEAD; in mpls_ifdown()1552 nh_flags |= RTNH_F_LINKDOWN; in mpls_ifdown()1558 if (nh->nh_flags != nh_flags) in mpls_ifdown()1559 WRITE_ONCE(nh->nh_flags, nh_flags); in mpls_ifdown()1590 unsigned int nh_flags = nh->nh_flags; in mpls_ifup() local1592 if (!(nh_flags & flags)) { in mpls_ifup()1599 nh_flags &= ~flags; in mpls_ifup()[all …]
95 unsigned int nh_flags; member
708 nhm->nh_flags = nh->nh_flags; in nh_fill_node()931 nhm->nh_flags = bucket->nh_flags; in nh_fill_res_bucket()2122 new->nh_flags |= old->nh_flags & (RTNH_F_OFFLOAD | RTNH_F_TRAP); in replace_nexthop_single()2131 old_nh_flags = old->nh_flags; in replace_nexthop_single()2134 old->nh_flags = new->nh_flags; in replace_nexthop_single()2167 old->nh_flags = old_nh_flags; in replace_nexthop_single()2515 .fc_flags = cfg->nh_flags, in nh_create_ipv4()2554 .fc_flags = cfg->nh_flags, in nh_create_ipv6()2597 nh->nh_flags = cfg->nh_flags; in nexthop_create()2788 cfg->nh_flags = nhm->nh_flags; in rtm_to_nh_config()[all …]
2128 int fib_sync_up(struct net_device *dev, unsigned char nh_flags) in fib_sync_up() argument2138 if (nh_flags & RTNH_F_DEAD) { in fib_sync_up()2142 nh_flags |= RTNH_F_LINKDOWN; in fib_sync_up()2160 if (!(nexthop_nh->fib_nh_flags & nh_flags)) { in fib_sync_up()2171 nexthop_nh->fib_nh_flags &= ~nh_flags; in fib_sync_up()2176 fi->fib_flags &= ~nh_flags; in fib_sync_up()
12 unsigned int nh_flags; /* RTNH_F flags */ member
31 u32 nh_flags; member77 u8 nh_flags; member143 u8 nh_flags; member
202 void rt6_sync_up(struct net_device *dev, unsigned char nh_flags);
468 int fib_sync_up(struct net_device *dev, unsigned char nh_flags);
4647 unsigned char nh_flags; member4753 rt->fib6_nh->fib_nh_flags &= ~arg->nh_flags; in fib6_ifup()4766 .nh_flags = nh_flags, in rt6_sync_up()4771 arg.nh_flags |= RTNH_F_LINKDOWN; in rt6_sync_up()4819 unsigned char nh_flags) in rt6_multipath_nh_flags_set() argument4824 rt->fib6_nh->fib_nh_flags |= nh_flags; in rt6_multipath_nh_flags_set()4827 iter->fib6_nh->fib_nh_flags |= nh_flags; in rt6_multipath_nh_flags_set()5605 unsigned char nh_flags = 0; in rt6_fill_node() local5742 rtm->rtm_flags |= nh_flags; in rt6_fill_node()5745 &nh_flags, false) < 0) in rt6_fill_node()[all …]
Completed in 42 milliseconds