aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/core/strategy_vft.c
diff options
context:
space:
mode:
authorMichele Papalini <micpapal@cisco.com>2022-10-11 08:44:22 +0000
committerMichele Papalini <micpapal@cisco.com>2022-10-11 14:13:40 +0000
commitf4d8a383451074a026ac385e97ec4d03a659cd66 (patch)
tree9428883847bf927285a104aa57254c86da65dc2f /hicn-light/src/hicn/core/strategy_vft.c
parent03fb1444ad41d254469b4749382d1bf2b7cc48da (diff)
feat(strategy): forwarding strategy for local faces
Ref: HICN-802 Signed-off-by: Michele Papalini <micpapal@cisco.com> Change-Id: I22b48d700b1b46599e570d841932d74c5ac65891
Diffstat (limited to 'hicn-light/src/hicn/core/strategy_vft.c')
-rw-r--r--hicn-light/src/hicn/core/strategy_vft.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hicn-light/src/hicn/core/strategy_vft.c b/hicn-light/src/hicn/core/strategy_vft.c
index dcfda5c78..0af035c88 100644
--- a/hicn-light/src/hicn/core/strategy_vft.c
+++ b/hicn-light/src/hicn/core/strategy_vft.c
@@ -25,12 +25,14 @@ extern const strategy_ops_t strategy_random;
extern const strategy_ops_t strategy_replication;
extern const strategy_ops_t strategy_bestpath;
extern const strategy_ops_t strategy_low_latency;
+extern const strategy_ops_t strategy_local_remote;
const strategy_ops_t *const strategy_vft[] = {
[STRATEGY_TYPE_LOADBALANCER] = &strategy_load_balancer,
[STRATEGY_TYPE_RANDOM] = &strategy_random,
[STRATEGY_TYPE_REPLICATION] = &strategy_replication,
[STRATEGY_TYPE_BESTPATH] = &strategy_bestpath,
+ [STRATEGY_TYPE_LOCAL_REMOTE] = &strategy_local_remote,
#if 0
[STRATEGY_TYPE_LOW_LATENCY] = &strategy_low_latency,
#endif