diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/expression.h | 5 | ||||
-rw-r--r-- | include/payload.h | 9 |
2 files changed, 3 insertions, 11 deletions
diff --git a/include/expression.h b/include/expression.h index f0eb7993..d8f28682 100644 --- a/include/expression.h +++ b/include/expression.h @@ -135,12 +135,14 @@ struct expr_ops { * * @EXPR_F_CONSTANT: constant expression * @EXPR_F_SINGLETON: singleton (implies primary and constant) + * @EXPR_F_PROTOCOL: expressions describes upper layer protocol * @EXPR_F_INTERVAL_END: set member ends an open interval */ enum expr_flags { EXPR_F_CONSTANT = 0x1, EXPR_F_SINGLETON = 0x2, - EXPR_F_INTERVAL_END = 0x4, + EXPR_F_PROTOCOL = 0x4, + EXPR_F_INTERVAL_END = 0x8, }; #include <payload.h> @@ -227,7 +229,6 @@ struct expr { const struct payload_template *tmpl; enum payload_bases base; unsigned int offset; - unsigned int flags; } payload; struct { /* EXPR_EXTHDR */ diff --git a/include/payload.h b/include/payload.h index c9cc84f3..fa8d82e1 100644 --- a/include/payload.h +++ b/include/payload.h @@ -21,15 +21,6 @@ enum payload_bases { #define PAYLOAD_BASE_MAX (__PAYLOAD_BASE_MAX - 1) /** - * enum payload_expr_flags - * - * @PAYLOAD_PROTOCOL_EXPR: payload expression contains upper layer protocol - */ -enum payload_expr_flags { - PAYLOAD_PROTOCOL_EXPR = 0x1, -}; - -/** * struct payload_template - template for a payload header expression * * @token: parser token describing the header field |