Documentation ¶
Overview ¶
Package seqnum defines the types and methods for TCP sequence numbers such that they fit in 32-bit words and work properly when overflows occur.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Value ¶
type Value uint32
Value represents the value of a sequence number.
func (Value) InWindow ¶
InWindow checks if v is in the window that starts at 'first' and spans 'size' sequence numbers.
func (Value) LessThanEq ¶
LessThanEq returns true if v==w or v is before i.e., v < w.
func (*Value) UpdateForward ¶
UpdateForward updates v such that it becomes v + s.
Click to show internal directories.
Click to hide internal directories.