aboutsummaryrefslogtreecommitdiffstats
path: root/src/vlib/buffer_funcs.h
diff options
context:
space:
mode:
authorBenoît Ganne <bganne@cisco.com>2019-11-21 16:53:31 +0100
committerDamjan Marion <dmarion@me.com>2019-11-26 09:50:22 +0000
commit2b65f9ca04847b6e37861983183f5093b601fbb2 (patch)
tree554a43220fd0ba6b76d99bbb816b1db579ed1102 /src/vlib/buffer_funcs.h
parente69f4714323e1f7e7754fef58a2d75949e146317 (diff)
misc: add gdb helpers for vlib buffers
Type: feature Change-Id: I7e619040857310fffd33c355f6c491a55f7a4a02 Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'src/vlib/buffer_funcs.h')
-rw-r--r--src/vlib/buffer_funcs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vlib/buffer_funcs.h b/src/vlib/buffer_funcs.h
index cfb48344648..58abdb18841 100644
--- a/src/vlib/buffer_funcs.h
+++ b/src/vlib/buffer_funcs.h
@@ -474,6 +474,13 @@ vlib_buffer_is_known (vlib_main_t * vm, u32 buffer_index)
u8 *vlib_validate_buffer (vlib_main_t * vm, u32 buffer_index,
uword follow_chain);
+u8 *vlib_validate_buffers (vlib_main_t * vm,
+ u32 * buffers,
+ uword next_buffer_stride,
+ uword n_buffers,
+ vlib_buffer_known_state_t known_state,
+ uword follow_buffer_next);
+
static_always_inline vlib_buffer_pool_t *
vlib_get_buffer_pool (vlib_main_t * vm, u8 buffer_pool_index)
{