diff options
Diffstat (limited to 'include/statement.h')
-rw-r--r-- | include/statement.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/statement.h b/include/statement.h index 6ecbb18d..14a66df6 100644 --- a/include/statement.h +++ b/include/statement.h @@ -59,6 +59,14 @@ struct nat_stmt { extern struct stmt *nat_stmt_alloc(const struct location *loc); +struct queue_stmt { + uint16_t queuenum; + uint16_t queues_total; + uint16_t flags; +}; + +extern struct stmt *queue_stmt_alloc(const struct location *loc); + /** * enum stmt_types - statement types * @@ -71,6 +79,7 @@ extern struct stmt *nat_stmt_alloc(const struct location *loc); * @STMT_LOG: log statement * @STMT_REJECT: REJECT statement * @STMT_NAT: NAT statement + * @STMT_QUEUE: QUEUE statement */ enum stmt_types { STMT_INVALID, @@ -82,6 +91,7 @@ enum stmt_types { STMT_LOG, STMT_REJECT, STMT_NAT, + STMT_QUEUE, }; /** @@ -127,6 +137,7 @@ struct stmt { struct limit_stmt limit; struct reject_stmt reject; struct nat_stmt nat; + struct queue_stmt queue; }; }; |