diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-01-02 15:15:48 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-01-02 15:15:48 +0100 |
commit | 3f3909afd76d2b4d1af0f133c7fe5dc258fcb694 (patch) | |
tree | 59b880ed2dfe28d0cae7d106c7201e2bd32a0b7c /include/libnftnl/expr.h | |
parent | ccd9434022f230163ec88313637b90444046763b (diff) |
expr: add inner support
This patch adds support for the inner expression which allows you to
match on the inner tunnel headers, eg. VxLAN.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnftnl/expr.h')
-rw-r--r-- | include/libnftnl/expr.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/libnftnl/expr.h b/include/libnftnl/expr.h index 00c63ab..9873228 100644 --- a/include/libnftnl/expr.h +++ b/include/libnftnl/expr.h @@ -316,6 +316,13 @@ enum { NFTNL_EXPR_LAST_SET, }; +enum { + NFTNL_EXPR_INNER_TYPE = NFTNL_EXPR_BASE, + NFTNL_EXPR_INNER_FLAGS, + NFTNL_EXPR_INNER_HDRSIZE, + NFTNL_EXPR_INNER_EXPR, +}; + #ifdef __cplusplus } /* extern "C" */ #endif |