net/sched/sch_ets.c
Source file repositories/reference/linux-study-clean/net/sched/sch_ets.c
File Facts
- System
- Linux kernel
- Corpus path
net/sched/sch_ets.c- Extension
.c- Size
- 21004 bytes
- Lines
- 846
- 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.hnet/gen_stats.hnet/netlink.hnet/pkt_cls.hnet/pkt_sched.hnet/sch_generic.h
Detected Declarations
struct ets_classstruct ets_schedfunction cl_is_activefunction ets_quantum_parsefunction ets_class_from_argfunction ets_class_idfunction ets_offload_changefunction ets_offload_destroyfunction ets_offload_graftfunction ets_offload_dumpfunction ets_class_is_strictfunction ets_class_changefunction ets_class_graftfunction ets_class_findfunction ets_class_qlen_notifyfunction ets_class_dumpfunction ets_class_dump_statsfunction ets_qdisc_walkfunction ets_qdisc_tcf_blockfunction ets_qdisc_bind_tcffunction ets_qdisc_unbind_tcffunction ets_qdisc_enqueuefunction ets_qdisc_dequeue_skbfunction ets_qdisc_priomap_parsefunction nla_for_each_nestedfunction ets_qdisc_quanta_parsefunction nla_for_each_nestedfunction ets_qdisc_changefunction ets_qdisc_initfunction ets_qdisc_resetfunction ets_qdisc_destroyfunction ets_qdisc_dumpfunction ets_initfunction ets_exitmodule init ets_init
Annotated Snippet
module_init(ets_init);
module_exit(ets_exit);
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Enhanced Transmission Selection(ETS) scheduler");
Annotation
- Immediate include surface: `linux/module.h`, `net/gen_stats.h`, `net/netlink.h`, `net/pkt_cls.h`, `net/pkt_sched.h`, `net/sch_generic.h`.
- Detected declarations: `struct ets_class`, `struct ets_sched`, `function cl_is_active`, `function ets_quantum_parse`, `function ets_class_from_arg`, `function ets_class_id`, `function ets_offload_change`, `function ets_offload_destroy`, `function ets_offload_graft`, `function ets_offload_dump`.
- 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.