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

Struct Match

expr/match.go:14–18  ·  view source on GitHub ↗

See https://git.netfilter.org/libnftnl/tree/src/expr/match.c?id=09456c720e9c00eecc08e41ac6b7c291b3821ee5#n30

Source from the content-addressed store, hash-verified

12
13// See https://git.netfilter.org/libnftnl/tree/src/expr/match.c?id=09456c720e9c00eecc08e41ac6b7c291b3821ee5#n30
14type Match struct {
15 Name string
16 Rev uint32
17 Info xt.InfoAny
18}
19
20func (e *Match) marshal(fam byte) ([]byte, error) {
21 data, err := e.marshalData(fam)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected