summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/af_packet/af_packet.api
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/devices/af_packet/af_packet.api')
-rw-r--r--src/vnet/devices/af_packet/af_packet.api18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/vnet/devices/af_packet/af_packet.api b/src/vnet/devices/af_packet/af_packet.api
index d7637da670c..1399011e870 100644
--- a/src/vnet/devices/af_packet/af_packet.api
+++ b/src/vnet/devices/af_packet/af_packet.api
@@ -69,6 +69,24 @@ autoreply define af_packet_set_l4_cksum_offload
u8 set;
};
+/** \brief Dump af_packet interfaces request */
+define af_packet_dump
+{
+ u32 client_index;
+ u32 context;
+};
+
+/** \brief Reply for af_packet dump request
+ @param sw_if_index - software index of af_packet interface
+ @param host_if_name - interface name
+*/
+define af_packet_details
+{
+ u32 context;
+ u32 sw_if_index;
+ u8 host_if_name[64];
+};
+
/*
* Local Variables:
* eval: (c-set-style "gnu")