Home
last modified time | relevance | path

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

/net/dsa/
Dtag_dsa.c201 bool trap = false, trunk = false; in dsa_rcv_ll() local
238 trap = true; in dsa_rcv_ll()
280 else if (!trap) in dsa_rcv_ll()
/net/devlink/
Dleftover.c8205 const struct devlink_trap *trap; member
8232 if (!strcmp(trap_item->trap->name, name)) in devlink_trap_item_lookup()
8273 const struct devlink_trap *trap) in devlink_trap_metadata_put() argument
8281 if ((trap->metadata_cap & DEVLINK_TRAP_METADATA_TYPE_F_IN_PORT) && in devlink_trap_metadata_put()
8284 if ((trap->metadata_cap & DEVLINK_TRAP_METADATA_TYPE_F_FA_COOKIE) && in devlink_trap_metadata_put()
8362 trap_item->trap, in devlink_trap_stats_put()
8418 if (nla_put_string(msg, DEVLINK_ATTR_TRAP_NAME, trap_item->trap->name)) in devlink_nl_trap_fill()
8421 if (nla_put_u8(msg, DEVLINK_ATTR_TRAP_TYPE, trap_item->trap->type)) in devlink_nl_trap_fill()
8424 if (trap_item->trap->generic && in devlink_nl_trap_fill()
8431 err = devlink_trap_metadata_put(msg, trap_item->trap); in devlink_nl_trap_fill()
[all …]
/net/ipv4/
Dfib_lookup.h21 u8 trap; member
Dfib_trie.c1060 READ_ONCE(fa_match->trap) == fri->trap && in fib_alias_hw_flags_set()
1065 WRITE_ONCE(fa_match->trap, fri->trap); in fib_alias_hw_flags_set()
1313 new_fa->trap = 0; in fib_table_insert()
1374 new_fa->trap = 0; in fib_table_insert()
2317 fri.trap = READ_ONCE(fa->trap); in fn_trie_dump_leaf()
Dfib_semantics.c533 fri.trap = READ_ONCE(fa->trap); in rtmsg_fib()
1857 if (fri->trap) in fib_dump_info()
Dnexthop.c3633 void nexthop_set_hw_flags(struct net *net, u32 id, bool offload, bool trap) in nexthop_set_hw_flags() argument
3646 if (trap) in nexthop_set_hw_flags()
3655 bool offload, bool trap) in nexthop_bucket_set_hw_flags() argument
3680 if (trap) in nexthop_bucket_set_hw_flags()
Droute.c3409 fri.trap = 0; in inet_rtm_getroute()
3423 fri.trap = READ_ONCE(fa->trap); in inet_rtm_getroute()
/net/ipv4/netfilter/
Dnf_nat_snmp_basic.asn1105 snmpV2-trap
/net/ipv6/
Droute.c5747 if (READ_ONCE(rt->trap)) in rt6_fill_node()
6202 bool offload, bool trap, bool offload_failed) in fib6_info_hw_flags_set() argument
6208 READ_ONCE(f6i->trap) == trap && in fib6_info_hw_flags_set()
6213 WRITE_ONCE(f6i->trap, trap); in fib6_info_hw_flags_set()