From 229385955109b866a23c4ac2aa03d4d11044c39d Mon Sep 17 00:00:00 2001 From: "Enrico Loparco (eloparco)" Date: Thu, 24 Jun 2021 09:15:41 +0200 Subject: [HICN-708] Rebase with master Signed-off-by: Enrico Loparco (eloparco) Change-Id: I2122e1d61dd3b2e039972624ffbdbcb3c5610159 --- hicn-plugin/src/infra.h | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'hicn-plugin/src/infra.h') diff --git a/hicn-plugin/src/infra.h b/hicn-plugin/src/infra.h index b859b8e46..ff76de4e4 100644 --- a/hicn-plugin/src/infra.h +++ b/hicn-plugin/src/infra.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017-2019 Cisco and/or its affiliates. + * Copyright (c) 2017-2020 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: @@ -18,12 +18,17 @@ #include #include +#include #include "pcs.h" /** - * hICN plugin global state: see also - * - fib and pits + * @file infra.h + * + */ + +/** + * @brief hICN plugin global state. */ typedef struct hicn_main_s { @@ -43,6 +48,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 +74,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_reserved_app); + int cs_max_size, + vnet_link_t link); /* vlib nodes that compose the hICN forwarder */ @@ -80,6 +88,9 @@ extern vlib_node_registration_t hicn_interest_hitcs_node; extern vlib_node_registration_t hicn_pg_interest_node; extern vlib_node_registration_t hicn_pg_data_node; extern vlib_node_registration_t hicn_pg_server_node; +extern vlib_node_registration_t hicn_data_input_ip6_node; +extern vlib_node_registration_t hicn_data_input_ip4_node; + #endif /* // __HICN_INFRA_H__ */ -- cgit 1.2.3-korg