Versions in this module Expand all Collapse all v0 v0.1.1 Dec 24, 2023 Changes in this version + type Config struct + Pid uint32 + SegSize uint32 + SegsPerMsg uint32 + SockPath [108]byte type Flags + Pid uint + func (f *Flags) Config() Config v0.1.0 Dec 8, 2023 Changes in this version + const PCAP_LINK_TYPE + func HaveBPFLinkTracing() bool + type Flags struct + Format string + Output string + SegSize uint + SegsInBuffer uint + SegsPerMsg uint + Sock string + func NewFlags() *Flags + func (f *Flags) SockPath() (path [108]byte) + type Output struct + func NewOutput(format, output string, segSize uint) (*Output, error) + func (o *Output) Close() error + func (o *Output) Output(pkt *Packet) + type Packet struct + Comm [16]byte + Data [1024 * 50]byte + Flags uint32 + Len uint32 + Path [108]byte + PeerPid uint32 + Pid uint32