summaryrefslogtreecommitdiffstats
path: root/src/vlib
diff options
context:
space:
mode:
authorMaxime Peim <mpeim@cisco.com>2023-07-03 17:45:51 +0200
committerMohammed HAWARI <momohawari@gmail.com>2023-07-25 10:06:16 +0000
commit3f40755749b07e5a936ad6d15622e371e7e5c25e (patch)
treecb5082a978b29c3c79c8d6d802b935ff23d727c7 /src/vlib
parent4ab1aa31451c0db5deb9c726e82de241da126107 (diff)
classify: add bpf support to pcap classifier
Type: feature Change-Id: I28fb38e49c89f4c4d4cc58c1a5c0aa8502678472 Signed-off-by: Maxime Peim <mpeim@cisco.com>
Diffstat (limited to 'src/vlib')
-rw-r--r--src/vlib/trace.c2
-rw-r--r--src/vlib/trace.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vlib/trace.c b/src/vlib/trace.c
index c6a0ef7ec0d..96da4975bc2 100644
--- a/src/vlib/trace.c
+++ b/src/vlib/trace.c
@@ -635,7 +635,7 @@ vlib_is_packet_traced_function_from_name (const char *name)
return reg->function;
}
-static vlib_is_packet_traced_fn_t *
+vlib_is_packet_traced_fn_t *
vlib_is_packet_traced_default_function ()
{
vlib_trace_filter_function_registration_t *reg =
diff --git a/src/vlib/trace.h b/src/vlib/trace.h
index 46256ce4e9e..196c691ece6 100644
--- a/src/vlib/trace.h
+++ b/src/vlib/trace.h
@@ -146,7 +146,7 @@ extern vlib_trace_filter_main_t vlib_trace_filter_main;
vlib_is_packet_traced_fn_t *
vlib_is_packet_traced_function_from_name (const char *name);
-
+vlib_is_packet_traced_fn_t *vlib_is_packet_traced_default_function ();
void trace_apply_filter (struct vlib_main_t *vm);
int trace_time_cmp (void *a1, void *a2);
void vlib_trace_stop_and_clear (void);