diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2018-05-28 18:55:37 +0200 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-05-29 15:39:24 +0000 |
commit | 04e0bb2ff0f39dab45da01ecdbc7914035a36897 (patch) | |
tree | b9aa214531e7b9053fdb5c1411b2ffcf5cf0f972 /src/vnet/devices/af_packet/af_packet.api | |
parent | 0353a4b33210936cb8820d2430ea8bf925c4581b (diff) |
af_packet: Add support for dump interfaces
Change-Id: I8d8ecc80edb7665125ba625a3ce7b30d2dea88f0
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/devices/af_packet/af_packet.api')
-rw-r--r-- | src/vnet/devices/af_packet/af_packet.api | 18 |
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") |