include/net/tc_act/tc_skbmod.h
Source file repositories/reference/linux-study-clean/include/net/tc_act/tc_skbmod.h
File Facts
- System
- Linux kernel
- Corpus path
include/net/tc_act/tc_skbmod.h- Extension
.h- Size
- 571 bytes
- Lines
- 28
- 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.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
net/act_api.hlinux/tc_act/tc_skbmod.h
Detected Declarations
struct tcf_skbmod_paramsstruct tcf_skbmod
Annotated Snippet
struct tcf_skbmod_params {
struct rcu_head rcu;
u64 flags; /*up to 64 types of operations; extend if needed */
int action;
u8 eth_dst[ETH_ALEN];
u16 eth_type;
u8 eth_src[ETH_ALEN];
};
struct tcf_skbmod {
struct tc_action common;
struct tcf_skbmod_params __rcu *skbmod_p;
};
#define to_skbmod(a) ((struct tcf_skbmod *)a)
#endif /* __NET_TC_SKBMOD_H */
Annotation
- Immediate include surface: `net/act_api.h`, `linux/tc_act/tc_skbmod.h`.
- Detected declarations: `struct tcf_skbmod_params`, `struct tcf_skbmod`.
- 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.