net/ipv4/tcp_bbr.c
Source file repositories/reference/linux-study-clean/net/ipv4/tcp_bbr.c
File Facts
- System
- Linux kernel
- Corpus path
net/ipv4/tcp_bbr.c- Extension
.c- Size
- 42814 bytes
- Lines
- 1201
- 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/btf.hlinux/btf_ids.hlinux/module.hnet/tcp.hlinux/inet_diag.hlinux/inet.hlinux/random.hlinux/win_minmax.h
Detected Declarations
struct bbrenum bbr_modefunction bbr_full_bw_reachedfunction bbr_max_bwfunction bbr_bwfunction bbr_extra_ackedfunction bbr_rate_bytes_per_secfunction bbr_bw_to_pacing_ratefunction bbr_init_pacing_rate_from_rttfunction bbr_set_pacing_ratefunction bbr_min_tso_segsfunction bbr_tso_segs_goalfunction bbr_save_cwndfunction bbr_cwnd_event_tx_startfunction measurementsfunction bbr_quantization_budgetfunction bbr_inflightfunction timefunction bbr_ack_aggregation_cwndfunction startedfunction bbr_set_cwndfunction bbr_is_next_cycle_phasefunction bbr_advance_cycle_phasefunction bbr_update_cycle_phasefunction bbr_reset_startup_modefunction bbr_reset_probe_bw_modefunction bbr_reset_modefunction bbr_reset_lt_bw_sampling_intervalfunction bbr_reset_lt_bw_samplingfunction bbr_lt_bw_interval_donefunction bbr_lt_bw_samplingfunction bbr_update_bwfunction bbr_extra_acked_max_usfunction bbr_full_bw_threshfunction bbr_check_drainfunction bbr_check_probe_rtt_donefunction min_rttfunction bbr_update_gainsfunction bbr_update_modelfunction bbr_mainfunction bbr_initfunction bbr_sndbuf_expandfunction lossesfunction bbr_ssthreshfunction bbr_get_infofunction bbr_set_statefunction bbr_registerfunction bbr_unregister
Annotated Snippet
module_init(bbr_register);
module_exit(bbr_unregister);
MODULE_AUTHOR("Van Jacobson <vanj@google.com>");
MODULE_AUTHOR("Neal Cardwell <ncardwell@google.com>");
MODULE_AUTHOR("Yuchung Cheng <ycheng@google.com>");
MODULE_AUTHOR("Soheil Hassas Yeganeh <soheil@google.com>");
MODULE_LICENSE("Dual BSD/GPL");
MODULE_DESCRIPTION("TCP BBR (Bottleneck Bandwidth and RTT)");
Annotation
- Immediate include surface: `linux/btf.h`, `linux/btf_ids.h`, `linux/module.h`, `net/tcp.h`, `linux/inet_diag.h`, `linux/inet.h`, `linux/random.h`, `linux/win_minmax.h`.
- Detected declarations: `struct bbr`, `enum bbr_mode`, `function bbr_full_bw_reached`, `function bbr_max_bw`, `function bbr_bw`, `function bbr_extra_acked`, `function bbr_rate_bytes_per_sec`, `function bbr_bw_to_pacing_rate`, `function bbr_init_pacing_rate_from_rtt`, `function bbr_set_pacing_rate`.
- 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.