net/mac80211/drop.h
Source file repositories/reference/linux-study-clean/net/mac80211/drop.h
File Facts
- System
- Linux kernel
- Corpus path
net/mac80211/drop.h- Extension
.h- Size
- 4222 bytes
- Lines
- 140
- Domain
- Networking Core
- Bucket
- Sockets, Protocols, Packet Path, And Network Policy
- Inferred role
- Networking Core: implementation source
- Status
- source implementation candidate
Why This File Exists
Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.
- Networking stack implementation surface: socket APIs, protocol dispatch, packet flow, routing, filtering, and network namespaces.
Dependency Surface
net/dropreason.h
Detected Declarations
enum ___mac80211_drop_reasonenum mac80211_drop_reason
Annotated Snippet
#ifndef MAC80211_DROP_H
#define MAC80211_DROP_H
#include <net/dropreason.h>
typedef unsigned int __bitwise ieee80211_rx_result;
#define MAC80211_DROP_REASONS_UNUSABLE(R) \
/* 0x00 == ___RX_DROP_UNUSABLE */ \
R(RX_DROP_U_MIC_FAIL) \
R(RX_DROP_U_REPLAY) \
R(RX_DROP_U_BAD_MMIE) \
R(RX_DROP_U_DUP) \
R(RX_DROP_U_SPURIOUS) \
R(RX_DROP_U_DECRYPT_FAIL) \
R(RX_DROP_U_NO_KEY_ID) \
R(RX_DROP_U_BAD_CIPHER) \
R(RX_DROP_U_OOM) \
R(RX_DROP_U_NONSEQ_PN) \
R(RX_DROP_U_BAD_KEY_COLOR) \
R(RX_DROP_U_BAD_4ADDR) \
R(RX_DROP_U_BAD_AMSDU) \
R(RX_DROP_U_BAD_AMSDU_CIPHER) \
R(RX_DROP_U_INVALID_8023) \
/* 0x10 */ \
R(RX_DROP_U_RUNT_ACTION) \
R(RX_DROP_U_UNPROT_ACTION) \
R(RX_DROP_U_UNPROT_DUAL) \
R(RX_DROP_U_UNPROT_UCAST_MGMT) \
R(RX_DROP_U_UNPROT_MCAST_MGMT) \
R(RX_DROP_U_UNPROT_BEACON) \
R(RX_DROP_U_UNPROT_UNICAST_PUB_ACTION) \
R(RX_DROP_U_UNPROT_ROBUST_ACTION) \
R(RX_DROP_U_ACTION_UNKNOWN_SRC) \
R(RX_DROP_U_REJECTED_ACTION_RESPONSE) \
R(RX_DROP_U_EXPECT_DEFRAG_PROT) \
R(RX_DROP_U_WEP_DEC_FAIL) \
R(RX_DROP_U_NO_IV) \
R(RX_DROP_U_NO_ICV) \
R(RX_DROP_U_AP_RX_GROUPCAST) \
R(RX_DROP_U_SHORT_MMIC) \
/* 0x20 */ \
R(RX_DROP_U_MMIC_FAIL) \
R(RX_DROP_U_SHORT_TKIP) \
R(RX_DROP_U_TKIP_FAIL) \
R(RX_DROP_U_SHORT_CCMP) \
R(RX_DROP_U_SHORT_CCMP_MIC) \
R(RX_DROP_U_SHORT_GCMP) \
R(RX_DROP_U_SHORT_GCMP_MIC) \
R(RX_DROP_U_SHORT_CMAC) \
R(RX_DROP_U_SHORT_CMAC256) \
R(RX_DROP_U_SHORT_GMAC) \
R(RX_DROP_U_UNEXPECTED_VLAN_4ADDR) \
R(RX_DROP_U_UNEXPECTED_STA_4ADDR) \
R(RX_DROP_U_UNEXPECTED_VLAN_MCAST) \
R(RX_DROP_U_NOT_PORT_CONTROL) \
R(RX_DROP_U_UNEXPECTED_4ADDR_FRAME) \
R(RX_DROP_U_BAD_BCN_KEYIDX) \
/* 0x30 */ \
R(RX_DROP_U_BAD_MGMT_KEYIDX) \
R(RX_DROP_U_UNKNOWN_ACTION_REJECTED) \
R(RX_DROP_U_MESH_DS_BITS) \
R(RX_DROP_U_MESH_A3_MISMATCH) \
R(RX_DROP_U_MESH_NO_A4) \
R(RX_DROP_U_MESH_A4_MISMATCH) \
R(RX_DROP_U_MESH_UNEXP_DATA) \
R(RX_DROP_U_MESH_WRONG_ACTION) \
R(RX_DROP_U_MESH_UNEXP_MGMT) \
R(RX_DROP_U_SPURIOUS_NOTIF) \
R(RX_DROP_U_RUNT_DATA) \
R(RX_DROP_U_KEY_TAINTED) \
R(RX_DROP_U_UNPROTECTED) \
R(RX_DROP_U_MCAST_FRAGMENT) \
R(RX_DROP_U_DEFRAG_MISMATCH) \
R(RX_DROP_U_RUNT_MESH_DATA) \
/* 0x40 */ \
R(RX_DROP_U_MESH_NO_TTL) \
R(RX_DROP_U_MESH_RMC) \
R(RX_DROP_U_MESH_BAD_AE) \
R(RX_DROP_U_MESH_TTL_EXPIRED) \
R(RX_DROP_U_MESH_NOT_FORWARDING) \
R(RX_DROP_U_AMSDU_WITHOUT_DATA) \
R(RX_DROP_U_NULL_DATA) \
R(RX_DROP_U_UNEXPECTED_4ADDR) \
R(RX_DROP_U_PORT_CONTROL) \
R(RX_DROP_U_UNKNOWN_STA) \
R(RX_DROP_U_RUNT_BAR) \
R(RX_DROP_U_BAR_OUTSIDE_SESSION) \
R(RX_DROP_U_CTRL_FRAME) \
R(RX_DROP_U_RUNT_MGMT) \
R(RX_DROP_U_EXPECTED_MGMT) \
Annotation
- Immediate include surface: `net/dropreason.h`.
- Detected declarations: `enum ___mac80211_drop_reason`, `enum mac80211_drop_reason`.
- Atlas domain: Networking Core / Sockets, Protocols, Packet Path, And Network Policy.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.