FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
adl.h File Reference
+ Include dependency graph for adl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  adl_config_main_t
 
struct  adl_config_data_t
 
struct  adl_main_t
 
struct  adl_allowlist_enable_disable_args_t
 
struct  adl_buffer_opaque_t
 

Macros

#define adl_buffer(b)   ((adl_buffer_opaque_t *) (b)->opaque)
 

Enumerations

enum  vnet_adl_t { VNET_ADL_IP4, VNET_ADL_IP6, VNET_ADL_DEFAULT, VNET_N_ADLS }
 
enum  adl_feature_type_t {
  IP4_RX_ADL_ALLOWLIST, IP6_RX_ADL_ALLOWLIST, DEFAULT_RX_ADL_ALLOWLIST, IP4_RX_ADL_INPUT,
  IP6_RX_ADL_INPUT, DEFAULT_RX_ADL_INPUT, RX_ADL_DROP, ADL_RX_N_FEATURES
}
 

Functions

int adl_interface_enable_disable (u32 sw_if_index, int enable_disable)
 
int adl_allowlist_enable_disable (adl_allowlist_enable_disable_args_t *a)
 

Variables

adl_main_t adl_main
 
vlib_node_registration_t adl_input_node
 (constructor) VLIB_REGISTER_NODE (adl_input_node) More...
 

Macro Definition Documentation

◆ adl_buffer

#define adl_buffer (   b)    ((adl_buffer_opaque_t *) (b)->opaque)

Definition at line 112 of file adl.h.

Enumeration Type Documentation

◆ adl_feature_type_t

Enumerator
IP4_RX_ADL_ALLOWLIST 
IP6_RX_ADL_ALLOWLIST 
DEFAULT_RX_ADL_ALLOWLIST 
IP4_RX_ADL_INPUT 
IP6_RX_ADL_INPUT 
DEFAULT_RX_ADL_INPUT 
RX_ADL_DROP 
ADL_RX_N_FEATURES 

Definition at line 39 of file adl.h.

◆ vnet_adl_t

enum vnet_adl_t
Enumerator
VNET_ADL_IP4 
VNET_ADL_IP6 
VNET_ADL_DEFAULT 
VNET_N_ADLS 

Definition at line 32 of file adl.h.

Function Documentation

◆ adl_allowlist_enable_disable()

int adl_allowlist_enable_disable ( adl_allowlist_enable_disable_args_t a)

Definition at line 233 of file adl.c.

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

◆ adl_interface_enable_disable()

int adl_interface_enable_disable ( u32  sw_if_index,
int  enable_disable 
)

Definition at line 169 of file adl.c.

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

Variable Documentation

◆ adl_input_node

vlib_node_registration_t adl_input_node

(constructor) VLIB_REGISTER_NODE (adl_input_node)

Definition at line 259 of file node.c.

◆ adl_main

adl_main_t adl_main

Definition at line 20 of file adl.c.