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

Method marshal

expr/expr.go:220–220  ·  view source on GitHub ↗
(fam byte)

Source from the content-addressed store, hash-verified

218// Any is an interface implemented by any expression type.
219type Any interface {
220 marshal(fam byte) ([]byte, error)
221 marshalData(fam byte) ([]byte, error)
222 unmarshal(fam byte, data []byte) error
223}

Callers 10

TestSocketFunction · 0.65
TestNatFunction · 0.65
TestMatchFunction · 0.65
TestMetaFunction · 0.65
TestExthdrFunction · 0.65
TestCtFunction · 0.65
MarshalFunction · 0.65
TestTargetFunction · 0.65
TestBitwiseFunction · 0.65
TestNativeByteOrderFunction · 0.65

Implementers 15

TProxyexpr/tproxy.go
Fibexpr/fib.go
Redirexpr/redirect.go
Numgenexpr/numgen.go
NATexpr/nat.go
Immediateexpr/immediate.go
Ctexpr/ct.go
CtHelperexpr/ct.go
CtExpectexpr/ct.go
CtTimeoutexpr/ct.go
Payloadexpr/payload.go
Bitwiseexpr/bitwise.go

Calls

no outgoing calls

Tested by 9

TestSocketFunction · 0.52
TestNatFunction · 0.52
TestMatchFunction · 0.52
TestMetaFunction · 0.52
TestExthdrFunction · 0.52
TestCtFunction · 0.52
TestTargetFunction · 0.52
TestBitwiseFunction · 0.52
TestNativeByteOrderFunction · 0.52