diff options
Diffstat (limited to 'hicn-light/src/hicn/strategies/low_latency.h')
-rw-r--r-- | hicn-light/src/hicn/strategies/low_latency.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/hicn-light/src/hicn/strategies/low_latency.h b/hicn-light/src/hicn/strategies/low_latency.h index 4745c4c47..47e9a202b 100644 --- a/hicn-light/src/hicn/strategies/low_latency.h +++ b/hicn-light/src/hicn/strategies/low_latency.h @@ -20,7 +20,9 @@ #ifndef HICNLIGHT_STRATEGY_LOW_LATENCY_H #define HICNLIGHT_STRATEGY_LOW_LATENCY_H -#define MAX_FWD_STRATEGY_RELATED_PREFIXES 10 +struct name_s; + +#include <hicn/strategy.h> typedef struct { } strategy_low_latency_nexthop_state_t; @@ -30,7 +32,7 @@ typedef struct { typedef struct { //Name ** related_prefixes; - Name *related_prefixes[MAX_FWD_STRATEGY_RELATED_PREFIXES]; + struct name_s * related_prefixes[MAX_FWD_STRATEGY_RELATED_PREFIXES]; unsigned related_prefixes_len; } strategy_low_latency_options_t; |