diff options
Diffstat (limited to 'iptables/nft-shared.h')
-rw-r--r-- | iptables/nft-shared.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/iptables/nft-shared.h b/iptables/nft-shared.h index 6d04b1a4..d74eeb00 100644 --- a/iptables/nft-shared.h +++ b/iptables/nft-shared.h @@ -43,6 +43,7 @@ enum { NFT_XT_CTX_PAYLOAD = (1 << 0), NFT_XT_CTX_META = (1 << 1), NFT_XT_CTX_BITWISE = (1 << 2), + NFT_XT_CTX_IMMEDIATE = (1 << 3), }; struct nft_xt_ctx { @@ -63,6 +64,10 @@ struct nft_xt_ctx { uint32_t key; } meta; struct { + uint32_t data[4]; + uint32_t len, reg; + } immediate; + struct { uint32_t mask[4]; uint32_t xor[4]; } bitwise; |