Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var QDirection = &directionList{ Src: Direction{Src: true}, Dst: Direction{Dst: true}, }
Functions ¶
This section is empty.
Types ¶
type Direction ¶
Direction specify a particular transfer direction to and/or from id. Possible directions are src, dst
type Expression ¶
type Expression struct {
Primitive *Primitive ` @@ `
Op string `[ @( "and" | "or" ) `
Next *Expression ` @@ ]`
}
Expression consists of one or more Primitives
func (*Expression) Qualifiers ¶
func (e *Expression) Qualifiers() map[string][]string
Qualifiers returns a map containing the qualifiers of the expression where the key is the qualifier and the values are the Id's from the primitive
type Protocol ¶
Protocol restricts the match to a particular protocol. Possible protos are: ether, tcp and udp. E.g., 'ether src foo' 'tcp port 21'
Click to show internal directories.
Click to hide internal directories.