diff options
Diffstat (limited to 'vppapigen/node.h')
-rw-r--r-- | vppapigen/node.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vppapigen/node.h b/vppapigen/node.h index 1f5a153c24f..fc331507485 100644 --- a/vppapigen/node.h +++ b/vppapigen/node.h @@ -73,12 +73,13 @@ typedef struct node_ { struct node_ *peer; struct node_ *deeper; int flags; - void *data[2]; + void *data[3]; } node_t; /* To shut up gcc-4.2.x warnings */ #define CDATA0 ((char *)(this->data[0])) #define IDATA1 ((int)(uword)(this->data[1])) +#define CDATA2 ((char *)(this->data[2])) #define NODE_FLAG_MANUAL_PRINT (1<<0) #define NODE_FLAG_MANUAL_ENDIAN (1<<1) |