summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/User.h
diff options
context:
space:
mode:
authorAnkur Sharma <ankursharma@vmware.com>2014-10-15 15:54:52 -0700
committerBen Pfaff <blp@nicira.com>2014-10-15 17:00:23 -0700
commita74933bc9f3935c50900fcb16c6f61bf6056ca5f (patch)
treee2cfd57be321e246bde66b1880022ce3a2557f4a /datapath-windows/ovsext/User.h
parent094a1315c53162b2eddf1fc8213a0e900650e25b (diff)
downloadopenvswitch-a74933bc9f3935c50900fcb16c6f61bf6056ca5f.tar.gz
datapath-windows: changes to existing PACKET_CMD handler.
In this patch we have made following changes: OvsPacketExecute => Changed the data structure to have packet and actions as pointer (instead of zero length array). It is done because we will not do memcpy of packet now, pointer will just point to corresponding offset in input buffer. OvsExecuteDpIoctl => We only need input buffer now. Hence Changed the function signature. Signed-off-by: Ankur Sharma <ankursharma@vmware.com> Acked-by: Eitan Eliahu <eliahue@vmware.com> Acked-by: Nithin Raju <nithin@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'datapath-windows/ovsext/User.h')
-rw-r--r--datapath-windows/ovsext/User.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/datapath-windows/ovsext/User.h b/datapath-windows/ovsext/User.h
index 5e456c74e..550915a18 100644
--- a/datapath-windows/ovsext/User.h
+++ b/datapath-windows/ovsext/User.h
@@ -104,9 +104,7 @@ NTSTATUS OvsReadDpIoctl(PFILE_OBJECT fileObject,
PVOID outputBuffer,
UINT32 outputLength,
UINT32 *replyLen);
-NTSTATUS OvsExecuteDpIoctl(PVOID inputBuffer,
- UINT32 inputLength,
- UINT32 outputLength);
+NTSTATUS OvsExecuteDpIoctl(OvsPacketExecute *execute);
NTSTATUS OvsPurgeDpIoctl(PFILE_OBJECT fileObject);
NTSTATUS OvsWaitDpIoctl(PIRP irp, PFILE_OBJECT fileObject);