FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
netmap.h File Reference
+ Include dependency graph for netmap.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  netmap_if_t
 
struct  netmap_mem_region_t
 
struct  netmap_main_t
 

Functions

int netmap_create_if (vlib_main_t *vm, u8 *host_if_name, u8 *hw_addr_set, u8 is_pipe, u8 is_master, u32 *sw_if_index)
 
int netmap_delete_if (vlib_main_t *vm, u8 *host_if_name)
 

Variables

netmap_main_t netmap_main
 
vnet_device_class_t netmap_device_class
 
vlib_node_registration_t netmap_input_node
 (constructor) VLIB_REGISTER_NODE (netmap_input_node) More...
 

Function Documentation

◆ netmap_create_if()

int netmap_create_if ( vlib_main_t vm,
u8 host_if_name,
u8 hw_addr_set,
u8  is_pipe,
u8  is_master,
u32 sw_if_index 
)

Definition at line 115 of file netmap.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ netmap_delete_if()

int netmap_delete_if ( vlib_main_t vm,
u8 host_if_name 
)

Definition at line 246 of file netmap.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ netmap_device_class

vnet_device_class_t netmap_device_class

◆ netmap_input_node

vlib_node_registration_t netmap_input_node

(constructor) VLIB_REGISTER_NODE (netmap_input_node)

Definition at line 278 of file node.c.

◆ netmap_main

netmap_main_t netmap_main

Definition at line 30 of file netmap.c.