summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/Conntrack.c
diff options
context:
space:
mode:
authorSairam Venugopal <vsairam@vmware.com>2016-12-16 14:28:10 -0800
committerGurucharan Shetty <guru@ovn.org>2016-12-20 09:32:37 -0800
commit5e422c9ef2c4bf60a7856ae19a3686e9f63f3e62 (patch)
treeb31bb11b440380419f06413293025b6176bf5538 /datapath-windows/ovsext/Conntrack.c
parent680f666f3fe26d94318ccb1d9cf94587bf990542 (diff)
downloadopenvswitch-5e422c9ef2c4bf60a7856ae19a3686e9f63f3e62.tar.gz
datapath-windows: Cleanup Conntrack definitions and introduce related entries
Consolidate the reusable structs and includes. Introduce the new OVS_CT_REL_ENTRY to track related connections. Signed-off-by: Sairam Venugopal <vsairam@vmware.com> Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Signed-off-by: Gurucharan Shetty <guru@ovn.org>
Diffstat (limited to 'datapath-windows/ovsext/Conntrack.c')
-rw-r--r--datapath-windows/ovsext/Conntrack.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/datapath-windows/ovsext/Conntrack.c b/datapath-windows/ovsext/Conntrack.c
index 47dba9dc8..70c32a48f 100644
--- a/datapath-windows/ovsext/Conntrack.c
+++ b/datapath-windows/ovsext/Conntrack.c
@@ -14,27 +14,15 @@
* limitations under the License.
*/
-#ifdef OVS_DBG_MOD
-#undef OVS_DBG_MOD
-#endif
-#define OVS_DBG_MOD OVS_DBG_CONTRK
-
#include "Conntrack.h"
#include "Jhash.h"
#include "PacketParser.h"
-#include "Debug.h"
#include "Event.h"
#define WINDOWS_TICK 10000000
#define SEC_TO_UNIX_EPOCH 11644473600LL
#define SEC_TO_NANOSEC 1000000000LL
-typedef struct _OVS_CT_THREAD_CTX {
- KEVENT event;
- PVOID threadObject;
- UINT32 exit;
-} OVS_CT_THREAD_CTX, *POVS_CT_THREAD_CTX;
-
KSTART_ROUTINE ovsConntrackEntryCleaner;
static PLIST_ENTRY ovsConntrackTable;
static OVS_CT_THREAD_CTX ctThreadCtx;