summaryrefslogtreecommitdiffstats
path: root/include/expression.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/expression.h')
-rw-r--r--include/expression.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/expression.h b/include/expression.h
index eda3d98f..3ae4e804 100644
--- a/include/expression.h
+++ b/include/expression.h
@@ -35,6 +35,7 @@
* @EXPR_RELATIONAL: equality and relational expressions
* @EXPR_NUMGEN: number generation expression
* @EXPR_HASH: hash expression
+ * @EXPR_RT: routing expression
*/
enum expr_types {
EXPR_INVALID,
@@ -59,6 +60,7 @@ enum expr_types {
EXPR_RELATIONAL,
EXPR_NUMGEN,
EXPR_HASH,
+ EXPR_RT,
};
enum ops {
@@ -180,6 +182,7 @@ enum expr_flags {
#include <exthdr.h>
#include <numgen.h>
#include <meta.h>
+#include <rt.h>
#include <hash.h>
#include <ct.h>
@@ -283,6 +286,10 @@ struct expr {
enum proto_bases base;
} meta;
struct {
+ /* EXPR_RT */
+ enum nft_rt_keys key;
+ } rt;
+ struct {
/* EXPR_CT */
enum nft_ct_keys key;
int8_t direction;