summaryrefslogtreecommitdiffstats
path: root/src/vnet/interface.api
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/vnet/interface.api
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/vnet/interface.api')
-rw-r--r--src/vnet/interface.api14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/vnet/interface.api b/src/vnet/interface.api
index 4d28332a639..eea86aa1ac8 100644
--- a/src/vnet/interface.api
+++ b/src/vnet/interface.api
@@ -733,6 +733,20 @@ autoreply define collect_detailed_interface_stats
bool enable_disable;
};
+/** \brief pcap_set_filter_function
+ @param client_index - opaque cookie to identify the sender
+ @param context - sender context, to match reply w/ request
+ @param filter_function_name - the name of the filter function
+ to set for pcap capture
+*/
+autoreply define pcap_set_filter_function
+{
+ u32 client_index;
+ u32 context;
+
+ string filter_function_name[];
+};
+
/** \brief pcap_trace_on
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request