Hybrid ICN (hICN) plugin  v21.06-rc0-4-g18fa668
Classes | Typedefs | Variables
pg.h File Reference

Go to the source code of this file.

Classes

struct  hicnpg_main_s
 hICN packet generator main for the pg client nodes More...
 
struct  hicnpg_server_main_s
 hICN packet generator main for the pg server node More...
 

Typedefs

typedef struct hicnpg_main_s hicnpg_main_t
 hICN packet generator main for the pg client nodes More...
 
typedef struct hicnpg_server_main_s hicnpg_server_main_t
 hICN packet generator main for the pg server node More...
 

Variables

hicnpg_main_t hicnpg_main
 
hicnpg_server_main_t hicnpg_server_main
 
vlib_node_registration_t hicn_pg_interest_node
 
vlib_node_registration_t hicn_pg_data_node
 

Detailed Description

The packet generator is made of two entities, a client and a server. The client issues interests at high speed and the server satisfy each interest it receives with the corresponding data. The packet generator is made of three nodes:

These three nodes are inserted in the vlib graph in the following manner:

An example of how to use the pg for hicn is available in the documentation.

Typedef Documentation

◆ hicnpg_main_t

typedef struct hicnpg_main_s hicnpg_main_t

hICN packet generator main for the pg client nodes

It stores the configuration and make it availables to the pg client nodes.

◆ hicnpg_server_main_t

hICN packet generator main for the pg server node

It stores the configuration and make it availables to the pg server node.