mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
netstack: add comments to some TCP sender fields
PiperOrigin-RevId: 628142704
This commit is contained in:
committed by
gVisor bot
parent
dc5eed4f67
commit
385f433a4c
@@ -106,8 +106,16 @@ type sender struct {
|
||||
// window probes.
|
||||
unackZeroWindowProbes uint32 `state:"nosave"`
|
||||
|
||||
writeNext *segment
|
||||
writeList segmentList
|
||||
// writeNext is the next segment to write that hasn't already been
|
||||
// written, i.e. the first payload starting at SND.NXT.
|
||||
writeNext *segment
|
||||
|
||||
// writeList holds all writable data: both unsent data and
|
||||
// sent-but-unacknowledged data. Alternatively: it holds all bytes
|
||||
// starting from SND.UNA.
|
||||
writeList segmentList
|
||||
|
||||
// resendTimer is used for RTOs.
|
||||
resendTimer timer `state:"nosave"`
|
||||
|
||||
// rtt.TCPRTTState.SRTT and rtt.TCPRTTState.RTTVar are the "smoothed
|
||||
|
||||
Reference in New Issue
Block a user