aboutsummaryrefslogtreecommitdiffstats
path: root/hicn-plugin/src/strategies/strategy_rr.h
diff options
context:
space:
mode:
authorAlberto Compagno <acompagn+fdio@cisco.com>2019-05-03 15:11:28 +0200
committerAlberto Compagno <acompagn+fdio@cisco.com>2019-05-07 14:35:59 +0200
commit3ba9071c6899d64b36e910943f109ddc7c7e0809 (patch)
treedbfe4c6f2b10c4b7c824cc8b4c6d4003ba5422b3 /hicn-plugin/src/strategies/strategy_rr.h
parentcd48bbd9685f042a2f1f90678f8fa98a5175ea4d (diff)
[HICN-181] Added round robin strategy
Change-Id: I301ffaeed6f43b7db6701810167f02947439d20c Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Diffstat (limited to 'hicn-plugin/src/strategies/strategy_rr.h')
-rw-r--r--hicn-plugin/src/strategies/strategy_rr.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/hicn-plugin/src/strategies/strategy_rr.h b/hicn-plugin/src/strategies/strategy_rr.h
new file mode 100644
index 000000000..84149c36f
--- /dev/null
+++ b/hicn-plugin/src/strategies/strategy_rr.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright (c) 2017-2019 Cisco and/or its affiliates.
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at:
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef __HICN_STRATEGY_RR_H__
+#define __HICN_STRATEGY_RR_H__
+
+#include "../strategy.h"
+
+hicn_strategy_vft_t *hicn_rr_strategy_get_vft (void);
+
+#endif // __HICN_STRATEGY_RR_H__
+
+/*
+ * fd.io coding-style-patch-verification: ON
+ *
+ * Local Variables:
+ * eval: (c-set-style "gnu")
+ * End:
+ */