X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fdevices%2Faf_packet%2Faf_packet.api;h=1399011e870b1083f7181b0c5e8c1543fe16982a;hb=5100aa9;hp=9fb2a2070f23fcf201118546ffdf08e05bd6de73;hpb=7cd468a3d7dee7d6c92f69a0bb7061ae208ec727;p=vpp.git diff --git a/src/vnet/devices/af_packet/af_packet.api b/src/vnet/devices/af_packet/af_packet.api index 9fb2a2070f2..1399011e870 100644 --- a/src/vnet/devices/af_packet/af_packet.api +++ b/src/vnet/devices/af_packet/af_packet.api @@ -13,6 +13,8 @@ * limitations under the License. */ +option version = "1.0.0"; + /** \brief Create host-interface @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request @@ -46,7 +48,7 @@ define af_packet_create_reply @param context - sender context, to match reply w/ request @param host_if_name - interface name */ -define af_packet_delete +autoreply define af_packet_delete { u32 client_index; u32 context; @@ -54,14 +56,35 @@ define af_packet_delete u8 host_if_name[64]; }; -/** \brief Delete host-interface response +/** \brief Set l4 offload ckecksum calculation + @param client_index - opaque cookie to identify the sender @param context - sender context, to match reply w/ request - @param retval - return value for request */ -define af_packet_delete_reply +autoreply define af_packet_set_l4_cksum_offload { + u32 client_index; u32 context; - i32 retval; + + u8 sw_if_index; + 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]; }; /*