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