aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/core/strategy_vft.c
diff options
context:
space:
mode:
authorMichele Papalini <micpapal@cisco.com>2022-10-11 14:40:15 +0000
committerGerrit Code Review <gerrit@fd.io>2022-10-11 14:40:15 +0000
commit5ee46ef7ce250a52d85eeafc0dd27de0cd5d6f67 (patch)
treefeb69edecb37ef327bcff0a922f123ceebfc58c2 /hicn-light/src/hicn/core/strategy_vft.c
parent0b65acf82a4a1199220d4473d426a9da221e9629 (diff)
parentf4d8a383451074a026ac385e97ec4d03a659cd66 (diff)
Merge "feat(strategy): forwarding strategy for local faces Ref: HICN-802"
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