aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/node.h
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-09-14 14:38:53 +0200
committerDamjan Marion <damarion@cisco.com>2018-09-14 14:51:22 +0200
commit633b6fd68bfdeedc857ad1780114eeb0bbb7c507 (patch)
tree43c16d3992ba417866856e157f32f3e94fa9b7b4 /src/vlib/node.h
parent93008c26e9226fa86a7d2e5569b9e69c29d0996b (diff)
vlib: introduce user flags in vlib_frame_t
Those flags have local significance and they can be used for sending hints to the next node. Change-Id: Ic2596ee81c64cd16f96344365370e8fcdc465354 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/node.h')
-rw-r--r--src/vlib/node.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vlib/node.h b/src/vlib/node.h
index 17d0f24a886..6efb6f3e4fe 100644
--- a/src/vlib/node.h
+++ b/src/vlib/node.h
@@ -386,6 +386,9 @@ typedef struct vlib_node_t
typedef struct vlib_frame_t
{
/* Frame flags. */
+ u16 frame_flags;
+
+ /* User flags. Used for sending hints to the next node. */
u16 flags;
/* Number of scalar bytes in arguments. */