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

Interface Any

expr/expr.go:219–223  ·  view source on GitHub ↗

Any is an interface implemented by any expression type.

Source from the content-addressed store, hash-verified

217
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}
224
225// MetaKey specifies which piece of meta information should be loaded. See also
226// https://wiki.nftables.org/wiki-nftables/index.php/Matching_packet_metainformation

Callers 13

TestSocketFunction · 0.65
TestNatFunction · 0.65
TestMatchFunction · 0.65
TestMetaFunction · 0.65
TestExthdrFunction · 0.65
TestCtFunction · 0.65
MarshalFunction · 0.65
TestTargetFunction · 0.65
MarshalExprDataFunction · 0.65
UnmarshalFunction · 0.65
TestNativeByteOrderFunction · 0.65
TestBigEndianFunction · 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

no test coverage detected