Searched refs:nh_flags (Results 1 – 12 of 12) sorted by relevance
126 ((nh->nh_flags^onh->nh_flags)&~RTNH_F_DEAD)) in dn_fib_nh_comp()202 if (nh->nh_flags&RTNH_F_ONLINK) { in dn_fib_check_nh()249 if (nh->nh_flags&(RTNH_F_PERVASIVE|RTNH_F_ONLINK)) in dn_fib_check_nh()336 nh->nh_flags = r->rtm_flags; in dn_fib_create_info()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()482 if (!(nh->nh_flags&RTNH_F_DEAD) && nh->nh_power) { in dn_fib_select_multipath()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()751 if (!(nh->nh_flags&RTNH_F_DEAD)) { in dn_fib_sync_up()[all …]
359 nhp->rtnh_flags = nh->nh_flags & 0xFF; in dn_fib_dump_info()
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()1538 unsigned int nh_flags = nh->nh_flags; in mpls_ifdown() local1546 nh_flags |= RTNH_F_DEAD; in mpls_ifdown()1549 nh_flags |= RTNH_F_LINKDOWN; in mpls_ifdown()1555 if (nh->nh_flags != nh_flags) in mpls_ifdown()1556 WRITE_ONCE(nh->nh_flags, nh_flags); in mpls_ifdown()1587 unsigned int nh_flags = nh->nh_flags; in mpls_ifup() local1589 if (!(nh_flags & flags)) { in mpls_ifup()1596 nh_flags &= ~flags; in mpls_ifup()[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()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()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 …]
2129 int fib_sync_up(struct net_device *dev, unsigned char nh_flags) in fib_sync_up() argument2140 if (nh_flags & RTNH_F_DEAD) { in fib_sync_up()2144 nh_flags |= RTNH_F_LINKDOWN; in fib_sync_up()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()2179 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
21 unsigned int nh_flags; member
206 void rt6_sync_up(struct net_device *dev, unsigned char nh_flags);
465 int fib_sync_up(struct net_device *dev, unsigned char nh_flags);
4667 unsigned char nh_flags; member4773 rt->fib6_nh->fib_nh_flags &= ~arg->nh_flags; in fib6_ifup()4786 .nh_flags = nh_flags, in rt6_sync_up()4791 arg.nh_flags |= RTNH_F_LINKDOWN; in rt6_sync_up()4839 unsigned char nh_flags) in rt6_multipath_nh_flags_set() argument4844 rt->fib6_nh->fib_nh_flags |= nh_flags; in rt6_multipath_nh_flags_set()4847 iter->fib6_nh->fib_nh_flags |= nh_flags; in rt6_multipath_nh_flags_set()5618 unsigned char nh_flags = 0; in rt6_fill_node() local5755 rtm->rtm_flags |= nh_flags; in rt6_fill_node()5758 &nh_flags, false) < 0) in rt6_fill_node()[all …]
Completed in 42 milliseconds