summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/BufferMgmt.h
diff options
context:
space:
mode:
authorAnand Kumar <kumaranand@vmware.com>2017-05-04 15:12:53 -0700
committerBen Pfaff <blp@ovn.org>2017-05-08 10:01:39 -0400
commitac8df9f674428e5dfc824deab917cb904afa4461 (patch)
tree2bb51f2b9d30b018e7efcd15487b9aa4b795e09b /datapath-windows/ovsext/BufferMgmt.h
parent39ccaaf7d1f819cb0fd796f3bdb3c2c8b17f24ed (diff)
downloadopenvswitch-ac8df9f674428e5dfc824deab917cb904afa4461.tar.gz
datapath-windows: Updated OvsTcpSegmentNBL to handle IP fragments.
With this patch, OvsTcpSegmentNBL not only supports fragmenting NBL to TCP segments but also Ipv4 fragments. To reflect the new changes, renamed function name from OvsTcpSegmentNBL to OvsFragmentNBL and created a wrapper for OvsTcpSegmentNBL. Signed-off-by: Anand Kumar <kumaranand@vmware.com> Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Diffstat (limited to 'datapath-windows/ovsext/BufferMgmt.h')
-rw-r--r--datapath-windows/ovsext/BufferMgmt.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/datapath-windows/ovsext/BufferMgmt.h b/datapath-windows/ovsext/BufferMgmt.h
index 294d40af9..e6cc0fe82 100644
--- a/datapath-windows/ovsext/BufferMgmt.h
+++ b/datapath-windows/ovsext/BufferMgmt.h
@@ -116,7 +116,15 @@ PNET_BUFFER_LIST OvsTcpSegmentNBL(PVOID context,
PNET_BUFFER_LIST nbl,
POVS_PACKET_HDR_INFO hdrInfo,
UINT32 MSS,
- UINT32 headRoom);
+ UINT32 headRoom,
+ BOOLEAN isIpFragment);
+
+PNET_BUFFER_LIST OvsFragmentNBL(PVOID context,
+ PNET_BUFFER_LIST nbl,
+ POVS_PACKET_HDR_INFO hdrInfo,
+ UINT32 MSS,
+ UINT32 headRoom,
+ BOOLEAN isIpFragment);
PNET_BUFFER_LIST OvsAllocateNBLFromBuffer(PVOID context,
PVOID buffer,