net/sched/sch_ingress.c
Source file repositories/reference/linux-study-clean/net/sched/sch_ingress.c
File Facts
- System
- Linux kernel
- Corpus path
net/sched/sch_ingress.c- Extension
.c- Size
- 9520 bytes
- Lines
- 377
- Domain
- Networking Core
- Bucket
- Sockets, Protocols, Packet Path, And Network Policy
- Inferred role
- Networking Core: exported/initcall integration point
- Status
- integration 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.
- Exports symbols or registers init work; inspect boot/module ordering and who consumes the exported contract.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/types.hlinux/list.hlinux/skbuff.hlinux/rtnetlink.hnet/netlink.hnet/pkt_sched.hnet/pkt_cls.hnet/tcx.h
Detected Declarations
struct ingress_sched_datastruct clsact_sched_datafunction ingress_findfunction ingress_bind_filterfunction ingress_unbind_filterfunction clsact_chain_head_changefunction ingress_ingress_block_setfunction ingress_ingress_block_getfunction ingress_initfunction ingress_destroyfunction ingress_dumpfunction clsact_findfunction clsact_bind_filterfunction clsact_ingress_block_setfunction clsact_egress_block_setfunction clsact_ingress_block_getfunction clsact_egress_block_getfunction clsact_initfunction clsact_destroyfunction ingress_module_initfunction ingress_module_exitmodule init ingress_module_init
Annotated Snippet
module_init(ingress_module_init);
module_exit(ingress_module_exit);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Ingress and clsact based ingress and egress qdiscs");
Annotation
- Immediate include surface: `linux/module.h`, `linux/types.h`, `linux/list.h`, `linux/skbuff.h`, `linux/rtnetlink.h`, `net/netlink.h`, `net/pkt_sched.h`, `net/pkt_cls.h`.
- Detected declarations: `struct ingress_sched_data`, `struct clsact_sched_data`, `function ingress_find`, `function ingress_bind_filter`, `function ingress_unbind_filter`, `function clsact_chain_head_change`, `function ingress_ingress_block_set`, `function ingress_ingress_block_get`, `function ingress_init`, `function ingress_destroy`.
- Atlas domain: Networking Core / Sockets, Protocols, Packet Path, And Network Policy.
- Implementation status: integration 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.