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

Struct Cmp

expr/expr.go:441–445  ·  view source on GitHub ↗

Cmp compares a register with the specified data.

Source from the content-addressed store, hash-verified

439
440// Cmp compares a register with the specified data.
441type Cmp struct {
442 Op CmpOp
443 Register uint32
444 Data []byte
445}
446
447func (e *Cmp) marshal(fam byte) ([]byte, error) {
448 exprData, err := e.marshalData(fam)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected