Home
last modified time | relevance | path

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

/net/dsa/
Dtag_dsa.c191 bool trap = false, trunk = false; in dsa_rcv_ll() local
228 trap = true; in dsa_rcv_ll()
268 else if (!trap) in dsa_rcv_ll()
/net/core/
Ddevlink.c7508 const struct devlink_trap *trap; member
7535 if (!strcmp(trap_item->trap->name, name)) in devlink_trap_item_lookup()
7576 const struct devlink_trap *trap) in devlink_trap_metadata_put() argument
7584 if ((trap->metadata_cap & DEVLINK_TRAP_METADATA_TYPE_F_IN_PORT) && in devlink_trap_metadata_put()
7587 if ((trap->metadata_cap & DEVLINK_TRAP_METADATA_TYPE_F_FA_COOKIE) && in devlink_trap_metadata_put()
7663 trap_item->trap, in devlink_trap_stats_put()
7717 if (nla_put_string(msg, DEVLINK_ATTR_TRAP_NAME, trap_item->trap->name)) in devlink_nl_trap_fill()
7720 if (nla_put_u8(msg, DEVLINK_ATTR_TRAP_TYPE, trap_item->trap->type)) in devlink_nl_trap_fill()
7723 if (trap_item->trap->generic && in devlink_nl_trap_fill()
7730 err = devlink_trap_metadata_put(msg, trap_item->trap); in devlink_nl_trap_fill()
[all …]
/net/ipv4/
Dfib_lookup.h20 u8 trap; member
Dfib_trie.c1055 READ_ONCE(fa_match->trap) == fri->trap && in fib_alias_hw_flags_set()
1060 WRITE_ONCE(fa_match->trap, fri->trap); in fib_alias_hw_flags_set()
1307 new_fa->trap = 0; in fib_table_insert()
1368 new_fa->trap = 0; in fib_table_insert()
2311 fri.trap = READ_ONCE(fa->trap); in fn_trie_dump_leaf()
Dfib_semantics.c531 fri.trap = READ_ONCE(fa->trap); in rtmsg_fib()
1874 if (fri->trap) in fib_dump_info()
Dnexthop.c3634 void nexthop_set_hw_flags(struct net *net, u32 id, bool offload, bool trap) in nexthop_set_hw_flags() argument
3647 if (trap) in nexthop_set_hw_flags()
3656 bool offload, bool trap) in nexthop_bucket_set_hw_flags() argument
3681 if (trap) in nexthop_bucket_set_hw_flags()
Droute.c3418 fri.trap = 0; in inet_rtm_getroute()
3432 fri.trap = READ_ONCE(fa->trap); in inet_rtm_getroute()
/net/ipv4/netfilter/
Dnf_nat_snmp_basic.asn1105 snmpV2-trap
/net/ipv6/
Droute.c5758 if (READ_ONCE(rt->trap)) in rt6_fill_node()
6213 bool offload, bool trap, bool offload_failed) in fib6_info_hw_flags_set() argument
6219 READ_ONCE(f6i->trap) == trap && in fib6_info_hw_flags_set()
6224 WRITE_ONCE(f6i->trap, trap); in fib6_info_hw_flags_set()