aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/core/strategy.h
diff options
context:
space:
mode:
authorEnrico Loparco (eloparco) <eloparco@cisco.com>2021-06-24 09:15:41 +0200
committerEnrico Loparco (eloparco) <eloparco@cisco.com>2021-06-24 09:15:41 +0200
commit229385955109b866a23c4ac2aa03d4d11044c39d (patch)
tree0591f9c2fc4144d62330337cc2b94c63dfeded54 /hicn-light/src/hicn/core/strategy.h
parent6ffbb5ed61733b8dbef39b1a9d437e899e9359d7 (diff)
[HICN-708] Rebase with master
Signed-off-by: Enrico Loparco (eloparco) <eloparco@cisco.com> Change-Id: I2122e1d61dd3b2e039972624ffbdbcb3c5610159
Diffstat (limited to 'hicn-light/src/hicn/core/strategy.h')
-rw-r--r--hicn-light/src/hicn/core/strategy.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/hicn-light/src/hicn/core/strategy.h b/hicn-light/src/hicn/core/strategy.h
index 67630bbab..c684750f1 100644
--- a/hicn-light/src/hicn/core/strategy.h
+++ b/hicn-light/src/hicn/core/strategy.h
@@ -24,17 +24,6 @@
#include "../strategies/low_latency.h"
#include "../strategies/random.h"
-typedef enum {
- STRATEGY_TYPE_UNDEFINED,
- STRATEGY_TYPE_LOADBALANCER,
- STRATEGY_TYPE_LOW_LATENCY,
- STRATEGY_TYPE_RANDOM,
- STRATEGY_TYPE_N
-} strategy_type_t;
-
-#define STRATEGY_TYPE_VALID(type) \
- ((type != STRATEGY_TYPE_UNDEFINED) && (type != STRATEGY_TYPE_N))
-
typedef union {
strategy_load_balancer_options_t load_balancer;
strategy_low_latency_options_t low_latency;