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

Struct Meta

expr/expr.go:260–264  ·  view source on GitHub ↗

Meta loads packet meta information for later comparisons. See also https://wiki.nftables.org/wiki-nftables/index.php/Matching_packet_metainformation

Source from the content-addressed store, hash-verified

258// Meta loads packet meta information for later comparisons. See also
259// https://wiki.nftables.org/wiki-nftables/index.php/Matching_packet_metainformation
260type Meta struct {
261 Key MetaKey
262 SourceRegister bool
263 Register uint32
264}
265
266func (e *Meta) marshal(fam byte) ([]byte, error) {
267 exprData, err := e.marshalData(fam)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected