VPPAPIGEN: vppapigen replacement in Python PLY.
[vpp.git] / src / vnet / devices / af_packet / af_packet.api
index f815042..d7637da 100644 (file)
@@ -13,7 +13,7 @@
  * limitations under the License.
  */
 
-vl_api_version 1.0.0
+option version = "1.0.0";
 
 /** \brief Create host-interface
     @param client_index - opaque cookie to identify the sender
@@ -56,6 +56,19 @@ autoreply define af_packet_delete
   u8 host_if_name[64];
 };
 
+/** \brief Set l4 offload ckecksum calculation
+    @param client_index - opaque cookie to identify the sender
+    @param context - sender context, to match reply w/ request
+*/
+autoreply define af_packet_set_l4_cksum_offload
+{
+  u32 client_index;
+  u32 context;
+  
+  u8 sw_if_index;
+  u8 set;
+};
+
 /*
  * Local Variables:
  * eval: (c-set-style "gnu")