FD.io VPP  v19.08-27-gf4dcae4
Vector Packet Processing
cop.h File Reference
+ Include dependency graph for cop.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  cop_config_main_t
 
struct  cop_config_data_t
 
struct  cop_main_t
 
struct  cop_whitelist_enable_disable_args_t
 

Enumerations

enum  vnet_cop_t { VNET_COP_IP4, VNET_COP_IP6, VNET_COP_DEFAULT, VNET_N_COPS }
 
enum  cop_feature_type_t {
  IP4_RX_COP_WHITELIST, IP6_RX_COP_WHITELIST, DEFAULT_RX_COP_WHITELIST, IP4_RX_COP_INPUT,
  IP6_RX_COP_INPUT, DEFAULT_RX_COP_INPUT, RX_COP_DROP, COP_RX_N_FEATURES
}
 

Functions

int cop_interface_enable_disable (u32 sw_if_index, int enable_disable)
 
int cop_whitelist_enable_disable (cop_whitelist_enable_disable_args_t *a)
 

Variables

cop_main_t cop_main
 
vlib_node_registration_t cop_input_node
 (constructor) VLIB_REGISTER_NODE (cop_input_node) More...
 

Enumeration Type Documentation

Enumerator
IP4_RX_COP_WHITELIST 
IP6_RX_COP_WHITELIST 
DEFAULT_RX_COP_WHITELIST 
IP4_RX_COP_INPUT 
IP6_RX_COP_INPUT 
DEFAULT_RX_COP_INPUT 
RX_COP_DROP 
COP_RX_N_FEATURES 

Definition at line 39 of file cop.h.

enum vnet_cop_t
Enumerator
VNET_COP_IP4 
VNET_COP_IP6 
VNET_COP_DEFAULT 
VNET_N_COPS 

Definition at line 32 of file cop.h.

Function Documentation

int cop_interface_enable_disable ( u32  sw_if_index,
int  enable_disable 
)

Definition at line 149 of file cop.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int cop_whitelist_enable_disable ( cop_whitelist_enable_disable_args_t a)

Definition at line 227 of file cop.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

vlib_node_registration_t cop_input_node

(constructor) VLIB_REGISTER_NODE (cop_input_node)

Definition at line 258 of file node1.c.

cop_main_t cop_main

Definition at line 17 of file cop.c.