Documentation
¶
Overview ¶
Package dedup implements bounded direction-local packet deduplication.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidCapacity indicates a non-positive deduplication window size. ErrInvalidCapacity = errors.New("invalid deduplication capacity") )
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result uint8
Result describes how a packet sequence number relates to the retained window.
type Window ¶
type Window struct {
// contains filtered or unexported fields
}
Window retains a fixed number of direction-local packet sequence numbers.
func (*Window) Classify ¶
Classify reports how sequence relates to the retained window without recording it.
Click to show internal directories.
Click to hide internal directories.