aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/punt.h
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-11-18 14:52:25 +0100
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-11-18 14:52:25 +0100
commit569dda3ae64bbfa3579d4c42e30ee684d51b88d9 (patch)
treed74c4cb17ea687d7e34473f424ab077f5f44bafc /hicn-plugin/src/punt.h
parentf1590834352d863d238d38c5a58d5a31ab042e3f (diff)
[HICN-397] Added punting add message for punting on udp ports
Change-Id: Ieb5faf5d01e460179028eaba92170ee95cf35edf Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'hicn-plugin/src/punt.h')
-rw-r--r--hicn-plugin/src/punt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/hicn-plugin/src/punt.h b/hicn-plugin/src/punt.h
index 5e1126445..7ad96c791 100644
--- a/hicn-plugin/src/punt.h
+++ b/hicn-plugin/src/punt.h
@@ -41,6 +41,8 @@
#define HICN_PUNT_IP_TYPE 0
#define HICN_PUNT_UDP4_TYPE 1
#define HICN_PUNT_UDP6_TYPE 2
+
+#define HICN_PUNT_INVALID_PORT 0
/*
* u32 ip4_vnet_tbl_idx[HICN_MAX_INTFC][2][3][HICN_PUNT_IP4_MASK];
* //[skip][src][mask],[skip][dst][mask] u32