Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cakturk/go-netstat
/ functions
Functions
67 in github.com/cakturk/go-netstat
⨍
Functions
67
◇
Types & classes
21
↓ 6 callers
Method
Close
Close releases underlying win32 handle
netstat/netstat_windows.go:418
↓ 6 callers
Method
Sock
()
netstat/netstat_windows.go:93
↓ 4 callers
Function
CreateToolhelp32Snapshot
CreateToolhelp32Snapshot takes a snapshot of the specified processes, as well as the heaps, modules, and threads used by these processes
netstat/netstat_windows.go:381
↓ 4 callers
Method
Rows
()
netstat/netstat_windows.go:140
↓ 4 callers
Function
displaySockInfo
(proto string, s []netstat.SockTabEntry)
main.go:100
↓ 4 callers
Function
doNetstat
doNetstat - collect information about network port status
netstat/netstat_linux.go:250
↓ 4 callers
Function
toSockTabEntry
(ws winSockEnt, snp ProcessSnapshot)
netstat/netstat_windows.go:474
↓ 2 callers
Function
GetExtendedUDPTable
GetExtendedUDPTable function retrieves a table that contains a list of UDP endpoints available to the application
netstat/netstat_windows.go:345
↓ 2 callers
Method
String
()
netstat/netstat.go:34
↓ 2 callers
Function
getExtendedUDPTable
(table unsafe.Pointer, size *uint32, order bool, af uint32, cl UDPTableClass)
netstat/netstat_windows.go:320
↓ 2 callers
Function
getTCPTable2
(proc uintptr, order bool)
netstat/netstat_windows.go:271
↓ 2 callers
Function
memtohs
(n unsafe.Pointer)
netstat/netstat_windows.go:84
↓ 2 callers
Function
parseAddr
(s string)
netstat/netstat_linux.go:92
↓ 2 callers
Function
rawGetTCPTable2
(proc uintptr, tab unsafe.Pointer, size *uint32, order bool)
netstat/netstat_windows.go:251
↓ 1 callers
Function
GetTCP6Table2
GetTCP6Table2 function retrieves the IPv6 TCP connection table
netstat/netstat_windows.go:301
↓ 1 callers
Function
GetTCPTable2
GetTCPTable2 function retrieves the IPv4 TCP connection table
netstat/netstat_windows.go:292
↓ 1 callers
Function
GetUDP6TableOwnerPID
(order bool)
netstat/netstat_windows.go:367
↓ 1 callers
Function
GetUDPTableOwnerPID
(order bool)
netstat/netstat_windows.go:359
↓ 1 callers
Method
LocalSock
()
netstat/netstat_windows.go:468
↓ 1 callers
Method
ProcPIDToName
ProcPIDToName translates PID to a name
netstat/netstat_windows.go:398
↓ 1 callers
Method
Process
(snp ProcessSnapshot)
netstat/netstat_windows.go:471
↓ 1 callers
Function
Process32First
Process32First retrieves information about the first process encountered in a system snapshot
netstat/netstat_windows.go:424
↓ 1 callers
Function
Process32Next
Process32Next retrieves information about the next process recorded in a system snapshot
netstat/netstat_windows.go:442
↓ 1 callers
Method
RemoteSock
()
netstat/netstat_windows.go:469
↓ 1 callers
Method
SockState
()
netstat/netstat_windows.go:470
↓ 1 callers
Function
StringFromNullTerminated
StringFromNullTerminated returns a string from a nul-terminated byte slice
netstat/netstat_windows.go:459
↓ 1 callers
Function
TCP6Socks
TCP6Socks returns a slice of active TCP IPv4 sockets containing only those elements that satisfy the accept function
netstat/netstat.go:60
↓ 1 callers
Function
TCPSocks
TCPSocks returns a slice of active TCP sockets containing only those elements that satisfy the accept function
netstat/netstat.go:54
↓ 1 callers
Function
UDP6Socks
UDP6Socks returns a slice of active UDP IPv6 sockets containing only those elements that satisfy the accept function
netstat/netstat.go:72
↓ 1 callers
Function
UDPSocks
UDPSocks returns a slice of active UDP sockets containing only those elements that satisfy the accept function
netstat/netstat.go:66
↓ 1 callers
Function
extractProcInfo
(sktab []SockTabEntry)
netstat/netstat_linux.go:228
↓ 1 callers
Function
getProcName
(s []byte)
netstat/netstat_linux.go:172
↓ 1 callers
Method
iterFdDir
()
netstat/netstat_linux.go:187
↓ 1 callers
Function
memToIPv4
(p unsafe.Pointer)
netstat/netstat_windows.go:70
↓ 1 callers
Function
memToIPv6
(p unsafe.Pointer)
netstat/netstat_windows.go:77
↓ 1 callers
Function
osTCP6Socks
TCP6Socks returns a slice of active TCP IPv4 sockets containing only those elements that satisfy the accept function
netstat/netstat_linux.go:272
↓ 1 callers
Function
osTCPSocks
TCPSocks returns a slice of active TCP sockets containing only those elements that satisfy the accept function
netstat/netstat_linux.go:266
↓ 1 callers
Function
osUDP6Socks
UDP6Socks returns a slice of active UDP IPv6 sockets containing only those elements that satisfy the accept function
netstat/netstat_linux.go:284
↓ 1 callers
Function
osUDPSocks
UDPSocks returns a slice of active UDP sockets containing only those elements that satisfy the accept function
netstat/netstat_linux.go:278
↓ 1 callers
Function
parseIPv4
(s string)
netstat/netstat_linux.go:65
↓ 1 callers
Function
parseIPv6
(s string)
netstat/netstat_linux.go:75
↓ 1 callers
Function
parseSocktab
(r io.Reader, accept AcceptFn)
netstat/netstat_linux.go:117
Method
LocalSock
()
netstat/netstat_windows.go:131
Method
LocalSock
()
netstat/netstat_windows.go:159
Method
LocalSock
()
netstat/netstat_windows.go:188
Method
LocalSock
()
netstat/netstat_windows.go:217
Function
NoopFilter
NoopFilter - a test function returning true for all elements
netstat/netstat.go:50
Method
Process
(snp ProcessSnapshot)
netstat/netstat_windows.go:121
Method
RemoteSock
()
netstat/netstat_windows.go:132
Method
RemoteSock
()
netstat/netstat_windows.go:160
Method
RemoteSock
()
netstat/netstat_windows.go:189
Method
RemoteSock
()
netstat/netstat_windows.go:218
Method
Rows
()
netstat/netstat_windows.go:170
Method
Rows
()
netstat/netstat_windows.go:201
Method
Rows
()
netstat/netstat_windows.go:227
Method
Sock
()
netstat/netstat_windows.go:105
Method
SockState
()
netstat/netstat_windows.go:133
Method
SockState
()
netstat/netstat_windows.go:161
Method
SockState
()
netstat/netstat_windows.go:190
Method
SockState
()
netstat/netstat_windows.go:219
Method
String
()
netstat/netstat.go:14
Method
String
()
netstat/netstat.go:41
Function
main
()
main.go:28
Function
osTCP6Socks
(accept AcceptFn)
netstat/netstat_windows.go:504
Function
osTCPSocks
(accept AcceptFn)
netstat/netstat_windows.go:483
Function
osUDP6Socks
(accept AcceptFn)
netstat/netstat_windows.go:546
Function
osUDPSocks
(accept AcceptFn)
netstat/netstat_windows.go:525