Searched refs:trap (Results 1 – 9 of 9) sorted by relevance
/net/devlink/ |
D | trap.c | 64 const struct devlink_trap *trap; member 91 if (!strcmp(trap_item->trap->name, name)) in devlink_trap_item_lookup() 132 const struct devlink_trap *trap) in devlink_trap_metadata_put() argument 140 if ((trap->metadata_cap & DEVLINK_TRAP_METADATA_TYPE_F_IN_PORT) && in devlink_trap_metadata_put() 143 if ((trap->metadata_cap & DEVLINK_TRAP_METADATA_TYPE_F_FA_COOKIE) && in devlink_trap_metadata_put() 221 trap_item->trap, in devlink_trap_stats_put() 277 if (nla_put_string(msg, DEVLINK_ATTR_TRAP_NAME, trap_item->trap->name)) in devlink_nl_trap_fill() 280 if (nla_put_u8(msg, DEVLINK_ATTR_TRAP_TYPE, trap_item->trap->type)) in devlink_nl_trap_fill() 283 if (trap_item->trap->generic && in devlink_nl_trap_fill() 290 err = devlink_trap_metadata_put(msg, trap_item->trap); in devlink_nl_trap_fill() [all …]
|
/net/dsa/ |
D | tag_dsa.c | 204 bool trap = false, trunk = false; in dsa_rcv_ll() local 241 trap = true; in dsa_rcv_ll() 283 else if (!trap) in dsa_rcv_ll()
|
/net/ipv4/ |
D | fib_lookup.h | 21 u8 trap; member
|
D | fib_trie.c | 1060 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() 2322 fri.trap = READ_ONCE(fa->trap); in fn_trie_dump_leaf()
|
D | fib_semantics.c | 533 fri.trap = READ_ONCE(fa->trap); in rtmsg_fib() 1857 if (fri->trap) in fib_dump_info()
|
D | nexthop.c | 3651 void nexthop_set_hw_flags(struct net *net, u32 id, bool offload, bool trap) in nexthop_set_hw_flags() argument 3664 if (trap) in nexthop_set_hw_flags() 3673 bool offload, bool trap) in nexthop_bucket_set_hw_flags() argument 3698 if (trap) in nexthop_bucket_set_hw_flags()
|
D | route.c | 3400 fri.trap = 0; in inet_rtm_getroute() 3414 fri.trap = READ_ONCE(fa->trap); in inet_rtm_getroute()
|
/net/ipv4/netfilter/ |
D | nf_nat_snmp_basic.asn1 | 105 snmpV2-trap
|
/net/ipv6/ |
D | route.c | 5741 if (READ_ONCE(rt->trap)) in rt6_fill_node() 6196 bool offload, bool trap, bool offload_failed) in fib6_info_hw_flags_set() argument 6202 READ_ONCE(f6i->trap) == trap && in fib6_info_hw_flags_set() 6207 WRITE_ONCE(f6i->trap, trap); in fib6_info_hw_flags_set()
|