Home
last modified time | relevance | path

Searched refs:nh_flags (Results 1 – 9 of 9) sorted by relevance

/linux-6.3-rc2/net/mpls/
A Daf_mpls.c256 unsigned int nh_flags = READ_ONCE(nh->nh_flags); in mpls_select_multipath() local
704 nh->nh_flags |= RTNH_F_DEAD; in mpls_nh_assign_dev()
1541 unsigned int nh_flags = nh->nh_flags; in mpls_ifdown() local
1549 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() local
1592 if (!(nh_flags & flags)) { in mpls_ifup()
1599 nh_flags &= ~flags; in mpls_ifup()
[all …]
A Dinternal.h95 unsigned int nh_flags; member
/linux-6.3-rc2/net/ipv4/
A Dnexthop.c708 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 …]
A Dfib_semantics.c2128 int fib_sync_up(struct net_device *dev, unsigned char nh_flags) in fib_sync_up() argument
2138 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()
/linux-6.3-rc2/include/uapi/linux/
A Dnexthop.h12 unsigned int nh_flags; /* RTNH_F flags */ member
/linux-6.3-rc2/include/net/
A Dnexthop.h31 u32 nh_flags; member
77 u8 nh_flags; member
143 u8 nh_flags; member
A Dip6_route.h202 void rt6_sync_up(struct net_device *dev, unsigned char nh_flags);
A Dip_fib.h468 int fib_sync_up(struct net_device *dev, unsigned char nh_flags);
/linux-6.3-rc2/net/ipv6/
A Droute.c4647 unsigned char nh_flags; member
4753 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() argument
4824 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() local
5742 rtm->rtm_flags |= nh_flags; in rt6_fill_node()
5745 &nh_flags, false) < 0) in rt6_fill_node()
[all …]

Completed in 42 milliseconds