Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotEnoughData = errors.New("not enough data")
ErrNotEnoughData not enough data
Functions ¶
Types ¶
type Options ¶
type Options struct { CommFilters []string PidFilter int SocketFilters []string EventHandler func(event UnixEvent) PCAPOutput bool PCAPOutputPath string }
Options contains the parameters of UnixDump
type UnixDump ¶
type UnixDump struct {
// contains filtered or unexported fields
}
UnixDump is the main UnixDump structure
func NewUnixDump ¶
NewUnixDump creates a new UnixDump instance
type UnixEvent ¶
type UnixEvent struct { PID uint32 PeerPID uint32 PacketLen uint32 SocketLen uint32 Comm string Socket string Data []byte }
UnixEvent holds the content of a captured unix message
func (*UnixEvent) UnmarshallBinary ¶
UnmarshallBinary unmarshall a UnixEvent from its binary representation
Click to show internal directories.
Click to hide internal directories.