summaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/processor/pitVerdict.h
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/hicn/processor/pitVerdict.h')
-rw-r--r--hicn-light/src/hicn/processor/pitVerdict.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/hicn-light/src/hicn/processor/pitVerdict.h b/hicn-light/src/hicn/processor/pitVerdict.h
index 16631fa51..f37242027 100644
--- a/hicn-light/src/hicn/processor/pitVerdict.h
+++ b/hicn-light/src/hicn/processor/pitVerdict.h
@@ -32,5 +32,9 @@
* @constant PITVerdict_Aggregate The Interest was aggregated in the PIT, does
* not need to be forwarded
*/
+#ifdef WITH_POLICY
+typedef enum { PITVerdict_Forward, PITVerdict_Aggregate, PITVerdict_Retransmit } PITVerdict;
+#else
typedef enum { PITVerdict_Forward, PITVerdict_Aggregate } PITVerdict;
+#endif /* WITH_POLICY */
#endif // pitVerdict_h