summaryrefslogtreecommitdiffstats
path: root/src/tools/vppapigen/node.h
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-04-24 10:46:54 -0400
committerFlorin Coras <florin.coras@gmail.com>2017-04-25 16:18:42 +0000
commit11b8dbf78af49d270a0e72abe7dea73eec30d85f (patch)
tree5c9c513483f5c468efcb64b82c03c32733dc3a77 /src/tools/vppapigen/node.h
parent45d3496f3d86ee1a930ce0ffd6ca3d1730355eb8 (diff)
"autoreply" flag: autogenerate standard xxx_reply_t messages
Change-Id: I72298aaae7d172082ece3a8edea4217c11b28d79 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/tools/vppapigen/node.h')
-rw-r--r--src/tools/vppapigen/node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/vppapigen/node.h b/src/tools/vppapigen/node.h
index 297d603615b..65bd5d10060 100644
--- a/src/tools/vppapigen/node.h
+++ b/src/tools/vppapigen/node.h
@@ -53,6 +53,7 @@ enum node_subclass { /* WARNING: indices must match the vft... */
NODE_MANUAL_PRINT,
NODE_MANUAL_ENDIAN,
NODE_DONT_TRACE,
+ NODE_AUTOREPLY,
};
enum passid {
@@ -84,6 +85,7 @@ typedef struct node_ {
#define NODE_FLAG_MANUAL_ENDIAN (1<<1)
#define NODE_FLAG_TYPEONLY (1<<3)
#define NODE_FLAG_DONT_TRACE (1<<4)
+#define NODE_FLAG_AUTOREPLY (1<<5)
typedef struct node_vft_ {
void (*print)(struct node_ *);