FD.io VPP  v17.04.2-2-ga8f93f8
Vector Packet Processing
af_packet.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  af_packet_if_t
 
struct  af_packet_main_t
 

Functions

int af_packet_create_if (vlib_main_t *vm, u8 *host_if_name, u8 *hw_addr_set, u32 *sw_if_index)
 
int af_packet_delete_if (vlib_main_t *vm, u8 *host_if_name)
 

Variables

af_packet_main_t af_packet_main
 
vnet_device_class_t af_packet_device_class
 
vlib_node_registration_t af_packet_input_node
 (constructor) VLIB_REGISTER_NODE (af_packet_input_node) More...
 

Function Documentation

int af_packet_create_if ( vlib_main_t vm,
u8 host_if_name,
u8 hw_addr_set,
u32 sw_if_index 
)

Definition at line 176 of file af_packet.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int af_packet_delete_if ( vlib_main_t vm,
u8 host_if_name 
)

Definition at line 299 of file af_packet.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

vnet_device_class_t af_packet_device_class
vlib_node_registration_t af_packet_input_node

(constructor) VLIB_REGISTER_NODE (af_packet_input_node)

Definition at line 266 of file node.c.

af_packet_main_t af_packet_main

Definition at line 56 of file af_packet.h.