summaryrefslogtreecommitdiffstats
path: root/common/VIL/l2l3_stack/tsx.h
diff options
context:
space:
mode:
authorVishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>2017-09-25 03:36:02 +0530
committerDeepak S <deepak.s@linux.intel.com>2017-10-04 14:31:39 -0700
commitc65d2e761955affbdb76fc31ebb188ac492c31ca (patch)
tree35224c83fa80c0f6dd297c9cee52f5894ade3c56 /common/VIL/l2l3_stack/tsx.h
parent74c5414a1fc7bc2e72c8b727dea974643f3c1bbe (diff)
REST_API: rest api client implementation
JIRA: SAMPLEVNF-78 This patch implements rest api's for VNF clients. This comprises of * vnf api's for common functionality * vnf api's for CGNAPT * vnf api's for VFW Change-Id: I56d22c64bf3ee5b0a2e536da8169ac7583499041 Signed-off-by: Vishwesh M Rudramuni <vishwesh.m.rudramuni@intel.com>
Diffstat (limited to 'common/VIL/l2l3_stack/tsx.h')
-rw-r--r--common/VIL/l2l3_stack/tsx.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/common/VIL/l2l3_stack/tsx.h b/common/VIL/l2l3_stack/tsx.h
index 8b748165..01bde702 100644
--- a/common/VIL/l2l3_stack/tsx.h
+++ b/common/VIL/l2l3_stack/tsx.h
@@ -16,8 +16,14 @@
#ifndef _TSX_H_
#define _RSX_H_
#include <rte_atomic.h>
+
+#ifndef TRUE
#define TRUE 1
+#endif
+
+#ifndef FALSE
#define FALSE 0
+#endif
volatile int mutex_val;