mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Add netfilter range operation constants for nftables support.
PiperOrigin-RevId: 668041076
This commit is contained in:
committed by
gVisor bot
parent
945b418c52
commit
08e34478d3
@@ -93,6 +93,14 @@ const (
|
||||
NFT_CMP_GTE // greater than or equal to
|
||||
)
|
||||
|
||||
// Nf table range operators.
|
||||
// Used by the nft range operation to compare values in registers.
|
||||
// These correspond to enum values in include/uapi/linux/netfilter/nf_tables.h.
|
||||
const (
|
||||
NFT_RANGE_EQ = iota
|
||||
NFT_RANGE_NEQ
|
||||
)
|
||||
|
||||
// Nf table payload expression offset bases.
|
||||
// Used by the nft payload operations to access appropriate data in the packet.
|
||||
// These correspond to enum values in include/uapi/linux/netfilter/nf_tables.h.
|
||||
|
||||
Reference in New Issue
Block a user