expressions

package
v0.0.0-...-37b34e5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2023 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BinaryOperationExpression

type BinaryOperationExpression struct {
	Operator string        `json:"operator"`
	Operands []interface{} `json:"operands"`
}

type CTExpression

type CTExpression struct {
	Key    string `json:"key"`
	Family string `json:"family,omitempty"`
	Dir    string `json:"dir,omitempty"`
}

type ConcatExpression

type ConcatExpression struct {
	Concat []interface{} `json:"concat"`
}

type DCCPOptionExpression

type DCCPOptionExpression struct {
	Type int `json:"type"`
}

type ElemExpression

type ElemExpression struct {
	Val     interface{} `json:"val"`
	Timeout int         `json:"timeout,omitempty"`
	Expires int         `json:"expires,omitempty"`
	Comment string      `json:"comment,omitempty"`
}

type ExthdrExpression

type ExthdrExpression struct {
	Name   string `json:"name"`
	Field  string `json:"field,omitempty"`
	Offset int    `json:"offset,omitempty"`
}

type FibExpression

type FibExpression struct {
	Result string   `json:"result"`
	Flags  []string `json:"flags,omitempty"`
}

type JhashExpression

type JhashExpression struct {
	Mod    int         `json:"mod"`
	Offset int         `json:"offset,omitempty"`
	Expr   interface{} `json:"expr"`
	Seed   int         `json:"seed,omitempty"`
}

type ListExpression

type ListExpression []interface{}

type MapExpression

type MapExpression struct {
	Key  interface{} `json:"key"`
	Data interface{} `json:"data"`
}

type MetaExpression

type MetaExpression struct {
	Key string `json:"key"`
}

type NumgenExpression

type NumgenExpression struct {
	Mode   string `json:"mode"`
	Mod    int    `json:"mod"`
	Offset int    `json:"offset,omitempty"`
}

type OsfExpression

type OsfExpression struct {
	Key string `json:"key"`
	Ttl string `json:"ttl,omitempty"`
}

type PayloadExpression

type PayloadExpression struct {
	Base     string `json:"base,omitempty"`
	Offset   int    `json:"offset,omitempty"`
	Len      int    `json:"len,omitempty"`
	Protocol string `json:"protocol,omitempty"`
	Field    string `json:"field,omitempty"`
}

type PrefixExpression

type PrefixExpression struct {
	Addr string `json:"addr"`
	Len  int    `json:"len"`
}

type RTExpression

type RTExpression struct {
	Key    string `json:"key"`
	Family string `json:"family,omitempty"`
}

type RangeExpression

type RangeExpression struct {
	Range []interface{} `json:"range"`
}

type SCTPChunkExpression

type SCTPChunkExpression struct {
	Name  string `json:"name"`
	Field string `json:"field,omitempty"`
}

type SetExpression

type SetExpression struct {
	Set interface{} `json:"set"`
}

type SocketExpression

type SocketExpression struct {
	Key string `json:"key"`
}

type SymhashExpression

type SymhashExpression struct {
	Mod    int `json:"mod"`
	Offset int `json:"offset,omitempty"`
}

type TCPOptionExpression

type TCPOptionExpression struct {
	Name  string `json:"name"`
	Field string `json:"field,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL