#include <vlib/vlib.h>
#include <vnet/vnet.h>
#include <vnet/interface.h>
#include "pcs.h"
Go to the source code of this file.
|
|
hicn_main_t | hicn_main |
| |
|
int | hicn_infra_fwdr_initialized |
| |
|
u32 | hicn_infra_pit_size |
| |
|
u32 | hicn_infra_cs_size |
| |
|
vlib_node_registration_t | hicn_interest_pcslookup_node |
| |
|
vlib_node_registration_t | hicn_data_pcslookup_node |
| |
|
vlib_node_registration_t | hicn_data_fwd_node |
| |
|
vlib_node_registration_t | hicn_data_store_node |
| |
|
vlib_node_registration_t | hicn_interest_hitpit_node |
| |
|
vlib_node_registration_t | hicn_interest_hitcs_node |
| |
|
vlib_node_registration_t | hicn_pg_interest_node |
| |
|
vlib_node_registration_t | hicn_pg_data_node |
| |
|
vlib_node_registration_t | hicn_pg_server_node |
| |
|
vlib_node_registration_t | hicn_data_input_ip6_node |
| |
|
vlib_node_registration_t | hicn_data_input_ip4_node |
| |
◆ hicn_infra_plugin_enable_disable()
| int hicn_infra_plugin_enable_disable |
( |
int |
enable_disable, |
|
|
int |
pit_max_size, |
|
|
f64 |
pit_max_lifetime_sec_req, |
|
|
int |
cs_max_size, |
|
|
vnet_link_t |
link |
|
) |
| |
Enable and disable the hicn plugin.
Enable the time the hICN plugin and set the forwarder parameters.
- Parameters
-
| enable_disable | 1 if to enable, 0 otherwisw (currently only enable is supported) |
| pit_max_size | Max size of the PIT |
| pit_max_lifetime_sec_req | Maximum timeout allowed for a PIT entry lifetime |
| cs_max_size | CS size. Must be <= than pit_max_size |
| cs_reserved_app | Amount of CS reserved for application faces |