parser

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TcpState = map[string]string{
	"01": "ESTABLISHED",
	"02": "SYN-SENT",
	"03": "SYN-RECEIVED",
	"04": "FIN-WAIT-1",
	"05": "FIN-WAIT-2",
	"06": "TIME-WAIT",
	"07": "CLOSED",
	"08": "CLOSE-WAIT",
	"09": "LAST-ACK",
	"0A": "LISTEN",
	"0B": "CLOSING",
	"0C": "NEW-SYN-RECEIVED",
}

Functions

func ExportCommand

func ExportCommand() []*cobra.Command

Types

type ProcNetTcp

type ProcNetTcp struct {
	LocalIP    string
	LocalPort  string
	RemoteIP   string
	RemotePort string
	State      string
}

Jump to

Keyboard shortcuts

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