diff options
Diffstat (limited to 'include/nftables.h')
-rw-r--r-- | include/nftables.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/nftables.h b/include/nftables.h index 7d35a95a..666a17ae 100644 --- a/include/nftables.h +++ b/include/nftables.h @@ -27,6 +27,11 @@ struct input_ctx { unsigned int flags; }; +static inline bool nft_input_no_dns(const struct input_ctx *ictx) +{ + return ictx->flags & NFT_CTX_INPUT_NO_DNS; +} + struct output_ctx { unsigned int flags; union { |