summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/Util.h
diff options
context:
space:
mode:
authorSorin Vinturis <svinturis@cloudbasesolutions.com>2015-03-26 19:59:36 +0000
committerBen Pfaff <blp@nicira.com>2015-03-26 14:17:59 -0700
commitaa63bc9de230f688692831ee9719a0b9b5eddc6b (patch)
tree2406fbcca30e08f3e1cb4daa0d206a4aa2e4a8ea /datapath-windows/ovsext/Util.h
parent1d741d6dfce5752b8a04568e18da15a2788b70b0 (diff)
downloadopenvswitch-aa63bc9de230f688692831ee9719a0b9b5eddc6b.tar.gz
datapath-windows: Support for allocating/releasing memory with tag
Added functions for allocating and releasing memory with specified tag. Signed-off-by: Sorin Vinturis <svinturis@cloudbasesolutions.com> Reported-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Reported-at: https://github.com/openvswitch/ovs-issues/issues/56 Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Acked-by: Eitan Eliahu <eliahue@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'datapath-windows/ovsext/Util.h')
-rw-r--r--datapath-windows/ovsext/Util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/datapath-windows/ovsext/Util.h b/datapath-windows/ovsext/Util.h
index e75220931..0303f46e6 100644
--- a/datapath-windows/ovsext/Util.h
+++ b/datapath-windows/ovsext/Util.h
@@ -25,8 +25,10 @@
#define OVS_OTHER_POOL_TAG 'MSVO'
VOID *OvsAllocateMemory(size_t size);
+VOID *OvsAllocateMemoryWithTag(size_t size, ULONG tag);
VOID *OvsAllocateAlignedMemory(size_t size, UINT16 align);
VOID OvsFreeMemory(VOID *ptr);
+VOID OvsFreeMemoryWithTag(VOID *ptr, ULONG tag);
VOID OvsFreeAlignedMemory(VOID *ptr);
#define LIST_FORALL(_headPtr, _itemPtr) \