Documentation ¶
Index ¶
Constants ¶
View Source
const ( MessageTypeUnspec = iota MessageTypeDrop MessageTypeDebug MessageTypeCapture )
Must be synchronized with <bpf/lib/common.h>
View Source
const ( DbgCaptureUnspec = iota DbgCaptureFromLxc DbgCaptureFromNetdev DbgCaptureFromOverlay DbgCaptureDelivery DbgCaptureFromLb DbgCaptureAfterV46 DbgCaptureAfterV64 DbgCaptureProxyPre DbgCaptureProxyPost )
must be in sync with <bpf/lib/dbg.h>
View Source
const ( DbgUnspec = iota DbgGeneric DbgLocalDelivery DbgEncap DbgLxcFound DbgPolicyDenied DbgCtLookup DbgCtMatch DbgCtCreated DbgCtCreated2 DbgIcmp6Handle DbgIcmp6Request DbgIcmp6Ns DbgIcmp6TimeExceeded DbgCtVerdict DbgDecap DbgPortMap DbgErrorRet DbgToHost DbgToStack DbgPktHash DbgLb6LookupMaster DbgLb6LookupMasterFail DbgLb6LookupSlave DbgLb6LookupSlaveSuccess DbgLb6ReverseNatLookup DbgLb6ReverseNat DbgLb4LookupMaster DbgLb4LookupMasterFail DbgLb4LookupSlave DbgLb4LookupSlaveSuccess DbgLb4ReverseNatLookup DbgLb4ReverseNat DbgLb4LoopbackSnat DbgLb4LoopbackSnatRev DbgCtLookup4 DbgRRSlaveSel DbgRevProxyLookup DbgRevProxyFound DbgRevProxyUpdate DbgL4Policy )
must be in sync with <bpf/lib/dbg.h>
View Source
const ( CtNew uint32 = iota CtEstablished CtReply CtRelated )
must be in sync with <bpf/lib/conntrack.h>
View Source
const (
// DebugCaptureLen is the amount of packet data in a packet capture message
DebugCaptureLen = 20
)
View Source
const (
// DropNotifyLen is the amount of packet data provided in a drop notification
DropNotifyLen = 32
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DebugCapture ¶
type DebugCapture struct { Type uint8 SubType uint8 Source uint16 Hash uint32 Len uint32 OrigLen uint32 Arg1 uint32 }
DebugCapture is the metadata sent along with a captured packet frame
Click to show internal directories.
Click to hide internal directories.