summaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/processor/fibEntry.c
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/hicn/processor/fibEntry.c')
-rw-r--r--hicn-light/src/hicn/processor/fibEntry.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/hicn-light/src/hicn/processor/fibEntry.c b/hicn-light/src/hicn/processor/fibEntry.c
index 2c41f1c7b..077e33ff3 100644
--- a/hicn-light/src/hicn/processor/fibEntry.c
+++ b/hicn-light/src/hicn/processor/fibEntry.c
@@ -114,7 +114,8 @@ FibEntry *fibEntry_Create(Name *name, strategy_type fwdStrategy) {
if(fwdStrategy == SET_STRATEGY_LOW_LATENCY){
strategyLowLatency_SetStrategy(fibEntry->fwdStrategy,
- fibEntry->forwarder, fibEntry);
+ fibEntry->forwarder, fibEntry,
+ 0, NULL);
}
return fibEntry;
}
@@ -146,7 +147,9 @@ void fibEntry_Release(FibEntry **fibEntryPtr) {
*fibEntryPtr = NULL;
}
-void fibEntry_SetStrategy(FibEntry *fibEntry, strategy_type strategy) {
+void fibEntry_SetStrategy(FibEntry *fibEntry, strategy_type strategy,
+ unsigned related_prefixes_len,
+ Name **related_prefixes) {
StrategyImpl *fwdStrategyImpl;
switch (strategy) {
@@ -171,7 +174,8 @@ void fibEntry_SetStrategy(FibEntry *fibEntry, strategy_type strategy) {
if(strategy == SET_STRATEGY_LOW_LATENCY){
strategyLowLatency_SetStrategy(fwdStrategyImpl,
- fibEntry->forwarder, fibEntry);
+ fibEntry->forwarder, fibEntry,
+ related_prefixes_len, related_prefixes);
}
const NumberSet *nexthops = fibEntry_GetNexthops(fibEntry);