net/sched/sch_codel.c
Source file repositories/reference/linux-study-clean/net/sched/sch_codel.c
File Facts
- System
- Linux kernel
- Corpus path
net/sched/sch_codel.c- Extension
.c- Size
- 7919 bytes
- Lines
- 325
- 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/slab.hlinux/types.hlinux/kernel.hlinux/errno.hlinux/skbuff.hlinux/prefetch.hnet/pkt_sched.hnet/codel.hnet/codel_impl.hnet/codel_qdisc.h
Detected Declarations
struct codel_sched_datafunction drop_funcfunction codel_dequeue_dropfunction codel_qdisc_enqueuefunction codel_changefunction codel_initfunction codel_dumpfunction codel_dump_statsfunction codel_resetfunction codel_module_initfunction codel_module_exitmodule init codel_module_init
Annotated Snippet
module_init(codel_module_init)
module_exit(codel_module_exit)
MODULE_DESCRIPTION("Controlled Delay queue discipline");
MODULE_AUTHOR("Dave Taht");
MODULE_AUTHOR("Eric Dumazet");
MODULE_LICENSE("Dual BSD/GPL");
Annotation
- Immediate include surface: `linux/module.h`, `linux/slab.h`, `linux/types.h`, `linux/kernel.h`, `linux/errno.h`, `linux/skbuff.h`, `linux/prefetch.h`, `net/pkt_sched.h`.
- Detected declarations: `struct codel_sched_data`, `function drop_func`, `function codel_dequeue_drop`, `function codel_qdisc_enqueue`, `function codel_change`, `function codel_init`, `function codel_dump`, `function codel_dump_stats`, `function codel_reset`, `function codel_module_init`.
- 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.