Documentation ¶
Overview ¶
Deprecated. Unused -----------------------------------------
Index ¶
- func CloseConnection(pid int64, laddr string, lport int64, raddr string, rport int64) (ok bool)
- func CloseTCPEntry(row *MIB_TCPROW2) error
- func DoProcess() bool
- func GetExtendedTCPTable() ([]structs.Connection, error)
- func GetProcessNameMap() map[uint32]string
- type ClassReader
- type DWORD
- type MIB_TCPROW2
- type MIB_TCPTABLE2
- type TCP_CONNECTION_OFFLOAD_STATE
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseConnection ¶
func CloseTCPEntry ¶
func CloseTCPEntry(row *MIB_TCPROW2) error
func GetExtendedTCPTable ¶
func GetExtendedTCPTable() ([]structs.Connection, error)
func GetProcessNameMap ¶
Types ¶
type ClassReader ¶
type ClassReader struct {
// contains filtered or unexported fields
}
func NewClassReader ¶
func NewClassReader(bytecode []byte) *ClassReader
func (*ClassReader) ReadBytes ¶
func (this *ClassReader) ReadBytes(len int) []byte
func (*ClassReader) ReadIp ¶
func (this *ClassReader) ReadIp(bytes []byte) string
func (*ClassReader) ReadPort ¶
func (this *ClassReader) ReadPort(bytes []byte) uint16
func (*ClassReader) ReadUint32 ¶
func (this *ClassReader) ReadUint32() uint32
type MIB_TCPROW2 ¶
type MIB_TCPROW2 struct {
// contains filtered or unexported fields
}
type MIB_TCPTABLE2 ¶
type MIB_TCPTABLE2 struct {
// contains filtered or unexported fields
}
func (*MIB_TCPTABLE2) String ¶
func (t *MIB_TCPTABLE2) String() string
type TCP_CONNECTION_OFFLOAD_STATE ¶
type TCP_CONNECTION_OFFLOAD_STATE uint32
const ( TcpConnectionOffloadStateInHost TCP_CONNECTION_OFFLOAD_STATE = 0 TcpConnectionOffloadStateOffloading TCP_CONNECTION_OFFLOAD_STATE = 1 TcpConnectionOffloadStateOffloaded TCP_CONNECTION_OFFLOAD_STATE = 2 TcpConnectionOffloadStateUploading TCP_CONNECTION_OFFLOAD_STATE = 3 TcpConnectionOffloadStateMax TCP_CONNECTION_OFFLOAD_STATE = 4 )
Click to show internal directories.
Click to hide internal directories.