tcp

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2018 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// States holds a map of  states with their associated int.
	States = map[uint8]string{
		1:  "ESTABLISHED",
		2:  "SYNSENT",
		3:  "SYNRECV",
		4:  "FINWAIT1",
		5:  "FINWAIT2",
		6:  "TIMEWAIT",
		7:  "CLOSE",
		8:  "CLOSEWAIT",
		9:  "LASTACK",
		10: "LISTEN",
		11: "CLOSING",
		12: "NEWSYNRECV",
	}
)

Functions

func FlagsToString

func FlagsToString(flags uint8) string

FlagsToString returns a string representation of the tcp flags.

Types

This section is empty.

Jump to

Keyboard shortcuts

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