packet

package
v0.0.0-...-ba9e771 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfData map[string]interface{}
View Source
var IF_IP = ""
View Source
var PacketChan = make(chan interface{}, 10240)

Functions

func Stats

func Stats(devName string)

Types

type DNSInfo

type DNSInfo struct {
	Id        string
	Time      string
	Timestamp int64
	Pid       string
	PPid      []string
	User      string
	SrcIP     string
	SrcPort   uint16
	DstIP     string
	DstPort   uint16
	Name      string
	Cmd       string
	Socket    string
	Query     string
	Type      string
	Record    string
	Records   []string
}

type TCPInfo

type TCPInfo struct {
	Id        string
	Time      string
	Timestamp int64
	Pid       string
	PPid      []string
	Flag      []string
	User      string
	SrcIP     string
	SrcPort   uint16
	DstIP     string
	DstPort   uint16
	Name      string
	Cmd       string
	Socket    string
}

Jump to

Keyboard shortcuts

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