Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Packet ¶
type Packet struct { Time time.Time Type packetType Device dev.Device Pid int MntNs int NetNs int Truncated bool Len int Data []byte CgroupName string }
func FromPacket ¶ added in v0.4.0
func FromPacket(ci gopacket.CaptureInfo, data []byte) (*Packet, error)
func ParsePacketEvent ¶
type ProcessExec ¶
type ProcessExec struct { Pid int Filename string FilenameTruncated bool Args []string ArgsTruncated bool MntNs int64 Netns int64 CgroupName string }
func FromPacketOptions ¶ added in v0.4.0
func FromPacketOptions(opts pcapgo.NgPacketOptions) (ProcessExec, types.PacketContext)
func ParseProcessExecEvent ¶
func ParseProcessExecEvent(event bpf.BpfExecEventT) (*ProcessExec, error)
func (ProcessExec) ArgsStr ¶
func (p ProcessExec) ArgsStr() string
func (ProcessExec) FilenameStr ¶
func (p ProcessExec) FilenameStr() string
func (ProcessExec) MatchComm ¶ added in v0.5.2
func (p ProcessExec) MatchComm(name string) bool
Click to show internal directories.
Click to hide internal directories.