Home
last modified time | relevance | path

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

/linux/net/decnet/
A Ddn_fib.c126 ((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 …]
A Ddn_table.c359 nhp->rtnh_flags = nh->nh_flags & 0xFF; in dn_fib_dump_info()
/linux/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()
1538 unsigned int nh_flags = nh->nh_flags; in mpls_ifdown() local
1546 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() local
1589 if (!(nh_flags & flags)) { in mpls_ifup()
1596 nh_flags &= ~flags; in mpls_ifup()
[all …]
A Dinternal.h95 unsigned int nh_flags; member
/linux/net/ipv4/
A Dnexthop.c707 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 …]
A Dfib_semantics.c2129 int fib_sync_up(struct net_device *dev, unsigned char nh_flags) in fib_sync_up() argument
2140 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()
/linux/include/uapi/linux/
A Dnexthop.h12 unsigned int nh_flags; /* RTNH_F flags */ member
/linux/include/net/
A Dnexthop.h31 u32 nh_flags; member
77 u8 nh_flags; member
143 u8 nh_flags; member
A Ddn_fib.h21 unsigned int nh_flags; member
A Dip6_route.h206 void rt6_sync_up(struct net_device *dev, unsigned char nh_flags);
A Dip_fib.h465 int fib_sync_up(struct net_device *dev, unsigned char nh_flags);
/linux/net/ipv6/
A Droute.c4667 unsigned char nh_flags; member
4773 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() argument
4844 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() local
5755 rtm->rtm_flags |= nh_flags; in rt6_fill_node()
5758 &nh_flags, false) < 0) in rt6_fill_node()
[all …]

Completed in 42 milliseconds