MCPcopy Create free account
hub / github.com/google/nftables / Dynset

Struct Dynset

expr/dynset.go:35–44  ·  view source on GitHub ↗

Dynset represent a rule dynamically adding or updating a set or a map based on an incoming packet.

Source from the content-addressed store, hash-verified

33
34// Dynset represent a rule dynamically adding or updating a set or a map based on an incoming packet.
35type Dynset struct {
36 SrcRegKey uint32
37 SrcRegData uint32
38 SetID uint32
39 SetName string
40 Operation uint32
41 Timeout time.Duration
42 Invert bool
43 Exprs []Any
44}
45
46func (e *Dynset) marshal(fam byte) ([]byte, error) {
47 opData, err := e.marshalData(fam)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected