tcpqueuelength

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2020 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conn

type Conn struct {
	Saddr net.IP `json:"saddr"`
	Daddr net.IP `json:"daddr"`
	Sport uint16 `json:"sport"`
	Dport uint16 `json:"dport"`
}

Conn contains a TCP connection quadruplet

type QueueLength

type QueueLength struct {
	Size int    `json:"size"`
	Min  uint32 `json:"min"`
	Max  uint32 `json:"max"`
}

QueueLength contains the size and fullness extremums of a TCP Queue

type Stats

type Stats struct {
	Pid         uint32      `json:"pid"`
	ContainerID string      `json:"containerid"`
	Conn        Conn        `json:"conn"`
	Rqueue      QueueLength `json:"read queue"`
	Wqueue      QueueLength `json:"write queue"`
}

Stats contains the statistics of a given socket

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL