diff options
author | Alberto Compagno <acompagn+fdio@cisco.com> | 2020-05-05 18:26:18 +0200 |
---|---|---|
committer | Alberto Compagno <acompagn+fdio@cisco.com> | 2020-05-05 19:29:02 +0200 |
commit | 7415aeaa213e63caa0bc3e625219996d9c2dc93a (patch) | |
tree | c86eac2b6cbd039fda12e0f270728f55c6f7d80d /hicn-plugin/src/infra.h | |
parent | 43d0ecbb1a1f7e1f72bf85441547b1678aed4350 (diff) |
[HICN-608] Added configuratin option to manage hicn behaviour with interfaces
Signed-off-by: Alberto Compagno <acompagn+fdio@cisco.com>
Change-Id: I8d48237b5dce737be443ec8949ac11721158d830
Diffstat (limited to 'hicn-plugin/src/infra.h')
-rw-r--r-- | hicn-plugin/src/infra.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/hicn-plugin/src/infra.h b/hicn-plugin/src/infra.h index 007cf266d..334b62ffe 100644 --- a/hicn-plugin/src/infra.h +++ b/hicn-plugin/src/infra.h @@ -18,6 +18,7 @@ #include <vlib/vlib.h> #include <vnet/vnet.h> +#include <vnet/interface.h> #include "pcs.h" @@ -43,6 +44,8 @@ typedef struct hicn_main_s */ u64 pit_lifetime_max_ms; + vnet_link_t link; + } hicn_main_t; extern hicn_main_t hicn_main; @@ -67,7 +70,8 @@ int hicn_infra_plugin_enable_disable (int enable_disable, int pit_max_size, f64 pit_max_lifetime_sec_req, - int cs_max_size); + int cs_max_size, + vnet_link_t link); /* vlib nodes that compose the hICN forwarder */ |