net/sched/sch_fq.c
Source file repositories/reference/linux-study-clean/net/sched/sch_fq.c
File Facts
- System
- Linux kernel
- Corpus path
net/sched/sch_fq.c- Extension
.c- Size
- 36749 bytes
- Lines
- 1421
- 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.
- Allocates kernel memory; connect allocation flags and lifetime to context constraints.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/module.hlinux/types.hlinux/kernel.hlinux/jiffies.hlinux/string.hlinux/in.hlinux/errno.hlinux/init.hlinux/skbuff.hlinux/slab.hlinux/rbtree.hlinux/hash.hlinux/prefetch.hlinux/vmalloc.hnet/netlink.hnet/pkt_sched.hnet/sock.hnet/tcp_states.hnet/tcp.h
Detected Declarations
struct fq_skb_cbstruct fq_flowstruct fq_flow_headstruct fq_perband_flowsstruct fq_sched_dataenum new_flowfunction fq_prio2bandfunction fq_flow_set_detachedfunction fq_flow_is_detachedfunction fq_flow_is_throttledfunction fq_flow_add_tailfunction fq_flow_unset_throttledfunction fq_flow_rb_insertfunction fq_flow_set_throttledfunction fq_gc_candidatefunction fq_gcfunction fq_fastpath_checkfunction listenerfunction fq_erase_headfunction fq_peekfunction flow_queue_addfunction fq_skb_cbfunction fq_packet_beyond_horizonfunction fq_flow_adjust_timerfunction fq_skb_tstamp_to_monofunction fq_mono_to_skb_tstampfunction fq_enqueuefunction fq_check_throttledfunction fq_flow_purgefunction fq_resetfunction fq_rehashfunction fq_freefunction fq_resizefunction fq_prio2band_compress_crumbfunction fq_prio2band_decompress_crumbfunction fq_load_weightsfunction fq_load_priomapfunction fq_changefunction fq_destroyfunction fq_initfunction fq_dumpfunction fq_dump_statsfunction fq_module_initfunction fq_module_exitmodule init fq_module_init
Annotated Snippet
module_init(fq_module_init)
module_exit(fq_module_exit)
MODULE_AUTHOR("Eric Dumazet");
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Fair Queue Packet Scheduler");
Annotation
- Immediate include surface: `linux/module.h`, `linux/types.h`, `linux/kernel.h`, `linux/jiffies.h`, `linux/string.h`, `linux/in.h`, `linux/errno.h`, `linux/init.h`.
- Detected declarations: `struct fq_skb_cb`, `struct fq_flow`, `struct fq_flow_head`, `struct fq_perband_flows`, `struct fq_sched_data`, `enum new_flow`, `function fq_prio2band`, `function fq_flow_set_detached`, `function fq_flow_is_detached`, `function fq_flow_is_throttled`.
- 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.