Documentation ¶
Index ¶
Constants ¶
View Source
const ( PROC_TCP = "/proc/net/tcp" PROC_UDP = "/proc/net/udp" PROC_TCP6 = "/proc/net/tcp6" PROC_UDP6 = "/proc/net/udp6" )
Variables ¶
View Source
var STATE = map[string]string{
"01": "ESTABLISHED",
"02": "SYN_SENT",
"03": "SYN_RECV",
"04": "FIN_WAIT1",
"05": "FIN_WAIT2",
"06": "TIME_WAIT",
"07": "CLOSE",
"08": "CLOSE_WAIT",
"09": "LAST_ACK",
"0A": "LISTEN",
"0B": "CLOSING",
}
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.