Documentation
¶
Index ¶
- Constants
- func BuildRawInstructionsByExpression(cmdTimeoutSec time.Duration, conditions ...Condition) (retList []bpf.RawInstruction, retErr error)
- func ExecTCPDumpCommandline(cmdTimeout time.Duration, args ...string) (retStdoutData, retStderrData []byte, retErr error)
- type Condition
- type DirectionArgsInfo
- type DirectionType
- type LogicalOperatorType
Constants ¶
View Source
const ( DirectionTypeDi = iota DirectionTypeSrc DirectionTypeDst )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Condition ¶
type Condition struct {
LO LogicalOperatorType
Direction DirectionType
NIP net.IP
IPProtocol layers.IPProtocol
Port int
}
type DirectionArgsInfo ¶
type DirectionType ¶
type DirectionType uint8
type LogicalOperatorType ¶
type LogicalOperatorType uint8
const ( LogicalOperatorAnd LogicalOperatorType = iota LogicalOperatorOr LogicalOperatorNot )
Click to show internal directories.
Click to hide internal directories.