net/sched/sch_sfb.c
Source file repositories/reference/linux-study-clean/net/sched/sch_sfb.c
File Facts
- System
- Linux kernel
- Corpus path
net/sched/sch_sfb.c- Extension
.c- Size
- 17852 bytes
- Lines
- 743
- 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/kernel.hlinux/errno.hlinux/skbuff.hlinux/random.hlinux/siphash.hnet/ip.hnet/pkt_sched.hnet/pkt_cls.hnet/inet_ecn.h
Detected Declarations
struct sfb_bucketstruct sfb_binsstruct sfb_sched_datastruct sfb_skb_cbfunction sfb_hashfunction prob_plusfunction prob_minusfunction increment_one_qlenfunction increment_qlenfunction decrement_one_qlenfunction decrement_qlenfunction decrement_probfunction increment_probfunction sfb_zero_all_bucketsfunction sfb_compute_qlenfunction sfb_init_perturbationfunction sfb_swap_slotfunction sfb_rate_limitfunction sfb_classifyfunction sfb_enqueuefunction time_afterfunction sfb_resetfunction sfb_destroyfunction sfb_changefunction sfb_initfunction sfb_dumpfunction sfb_dump_statsfunction sfb_dump_classfunction sfb_graftfunction sfb_findfunction sfb_unbindfunction sfb_deletefunction sfb_walkfunction sfb_bindfunction sfb_module_initfunction sfb_module_exitmodule init sfb_module_init
Annotated Snippet
module_init(sfb_module_init)
module_exit(sfb_module_exit)
MODULE_DESCRIPTION("Stochastic Fair Blue queue discipline");
MODULE_AUTHOR("Juliusz Chroboczek");
MODULE_AUTHOR("Eric Dumazet");
MODULE_LICENSE("GPL");
Annotation
- Immediate include surface: `linux/module.h`, `linux/types.h`, `linux/kernel.h`, `linux/errno.h`, `linux/skbuff.h`, `linux/random.h`, `linux/siphash.h`, `net/ip.h`.
- Detected declarations: `struct sfb_bucket`, `struct sfb_bins`, `struct sfb_sched_data`, `struct sfb_skb_cb`, `function sfb_hash`, `function prob_plus`, `function prob_minus`, `function increment_one_qlen`, `function increment_qlen`, `function decrement_one_qlen`.
- 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.