FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
nsim.h File Reference
+ Include dependency graph for nsim.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  nsim_wheel_entry_t
 
struct  nsim_wheel_t
 
struct  nsim_node_ctx
 
struct  nsim_main_t
 

Macros

#define NSIM_MAX_TX_BURST   32
 max packets in a tx burst More...
 
#define foreach_nsm_action
 

Typedefs

typedef struct nsim_node_ctx nsim_node_ctx_t
 
typedef enum nsm_action nsm_action_e
 

Enumerations

enum  nsm_action_bit { foreach_nsm_action }
 
enum  nsm_action { foreach_nsm_action }
 

Variables

nsim_main_t nsim_main
 
vlib_node_registration_t nsim_node
 (constructor) VLIB_REGISTER_NODE (nsim_node) More...
 
vlib_node_registration_t nsim_input_node
 (constructor) VLIB_REGISTER_NODE (nsim_input_node) More...
 

Macro Definition Documentation

◆ foreach_nsm_action

foreach_nsm_action
Value:
_(DROP, "Packet loss") \
_(REORDER, "Packet reorder")

Definition at line 62 of file nsim.h.

◆ NSIM_MAX_TX_BURST

#define NSIM_MAX_TX_BURST   32

max packets in a tx burst

Definition at line 28 of file nsim.h.

Typedef Documentation

◆ nsim_node_ctx_t

◆ nsm_action_e

typedef enum nsm_action nsm_action_e

Enumeration Type Documentation

◆ nsm_action

enum nsm_action
Enumerator
foreach_nsm_action 

Definition at line 73 of file nsim.h.

◆ nsm_action_bit

Enumerator
foreach_nsm_action 

Definition at line 66 of file nsim.h.

Variable Documentation

◆ nsim_input_node

vlib_node_registration_t nsim_input_node

(constructor) VLIB_REGISTER_NODE (nsim_input_node)

Definition at line 131 of file nsim_input.c.

◆ nsim_main

nsim_main_t nsim_main

Definition at line 39 of file nsim.c.

◆ nsim_node

(constructor) VLIB_REGISTER_NODE (nsim_node)

Definition at line 50 of file node.c.

DROP
DROP
Definition: error.def:41