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

Struct Payload

expr/payload.go:48–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46)
47
48type Payload struct {
49 OperationType PayloadOperationType
50 DestRegister uint32
51 SourceRegister uint32
52 Base PayloadBase
53 Offset uint32
54 Len uint32
55 CsumType PayloadCsumType
56 CsumOffset uint32
57 CsumFlags uint32
58}
59
60func (e *Payload) marshal(fam byte) ([]byte, error) {
61 data, err := e.marshalData(fam)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected