summaryrefslogtreecommitdiffstats
path: root/include/nftables.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/nftables.h')
-rw-r--r--include/nftables.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/nftables.h b/include/nftables.h
index fa6665a1..2dff07fe 100644
--- a/include/nftables.h
+++ b/include/nftables.h
@@ -58,6 +58,11 @@ static inline bool nft_output_echo(const struct output_ctx *octx)
return octx->flags & NFT_CTX_OUTPUT_ECHO;
}
+static inline bool nft_output_guid(const struct output_ctx *octx)
+{
+ return octx->flags & NFT_CTX_OUTPUT_GUID;
+}
+
struct nft_cache {
uint16_t genid;
struct list_head list;