aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/classify
diff options
context:
space:
mode:
authorMohammed Hawari <mohammed@hawari.fr>2023-06-09 16:50:56 +0200
committerBeno�t Ganne <bganne@cisco.com>2023-06-30 11:53:06 +0000
commitccd30709585939c3202c05af0dfda2aca670e8b7 (patch)
tree0224822cb25b32579dd73a5af98499b342e00575 /src/vnet/classify
parent52fa5f21b911aaf1c50feb560dd3683b83625d2f (diff)
bpf_trace_filter: plugin for BPF Trace Filtering
Change-Id: I342de0a375b783725aa2b621c1c70bc8bf646450 Signed-off-by: Mohammed Hawari <mohammed@hawari.fr> Type: improvement
Diffstat (limited to 'src/vnet/classify')
-rw-r--r--src/vnet/classify/trace_classify.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vnet/classify/trace_classify.h b/src/vnet/classify/trace_classify.h
index bc25ecd0ff7..fea4ddee7e7 100644
--- a/src/vnet/classify/trace_classify.h
+++ b/src/vnet/classify/trace_classify.h
@@ -29,6 +29,8 @@
* @param u32 classify_table_index - classifier table index
* @return 0 => no trace, 1 => trace, -1 => error
*/
+int vnet_is_packet_traced (vlib_buffer_t *b, u32 classify_table_index,
+ int func);
static inline int
vnet_is_packet_traced_inline (vlib_buffer_t * b,