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.api13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/vnet/devices/af_packet/af_packet.api b/src/vnet/devices/af_packet/af_packet.api
index f815042ad55..a1b30d5eb3c 100644
--- a/src/vnet/devices/af_packet/af_packet.api
+++ b/src/vnet/devices/af_packet/af_packet.api
@@ -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")