FD.io VPP  v16.09
Vector Packet Processing
l2_classify.h File Reference
+ Include dependency graph for l2_classify.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  l2_classify_main_t
 

Enumerations

enum  l2_classify_next_t {
  L2_CLASSIFY_NEXT_DROP, L2_CLASSIFY_NEXT_ETHERNET_INPUT, L2_CLASSIFY_NEXT_IP4_INPUT, L2_CLASSIFY_NEXT_IP6_INPUT,
  L2_CLASSIFY_NEXT_LI, L2_CLASSIFY_N_NEXT
}
 
enum  l2_classify_table_id_t { L2_CLASSIFY_TABLE_IP4, L2_CLASSIFY_TABLE_IP6, L2_CLASSIFY_TABLE_OTHER, L2_CLASSIFY_N_TABLES }
 

Functions

void vnet_l2_classify_enable_disable (u32 sw_if_index, int enable_disable)
 
int vnet_l2_classify_set_tables (u32 sw_if_index, u32 ip4_table_index, u32 ip6_table_index, u32 other_table_index)
 

Variables

l2_classify_main_t l2_classify_main
 
vlib_node_registration_t l2_classify_node
 (constructor) VLIB_REGISTER_NODE (l2_classify_node) More...
 

Enumeration Type Documentation

Enumerator
L2_CLASSIFY_NEXT_DROP 
L2_CLASSIFY_NEXT_ETHERNET_INPUT 
L2_CLASSIFY_NEXT_IP4_INPUT 
L2_CLASSIFY_NEXT_IP6_INPUT 
L2_CLASSIFY_NEXT_LI 
L2_CLASSIFY_N_NEXT 

Definition at line 36 of file l2_classify.h.

Enumerator
L2_CLASSIFY_TABLE_IP4 
L2_CLASSIFY_TABLE_IP6 
L2_CLASSIFY_TABLE_OTHER 
L2_CLASSIFY_N_TABLES 

Definition at line 46 of file l2_classify.h.

Function Documentation

void vnet_l2_classify_enable_disable ( u32  sw_if_index,
int  enable_disable 
)

Definition at line 433 of file l2_classify.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_l2_classify_set_tables ( u32  sw_if_index,
u32  ip4_table_index,
u32  ip6_table_index,
u32  other_table_index 
)

Definition at line 445 of file l2_classify.c.

+ Here is the caller graph for this function:

Variable Documentation

l2_classify_main_t l2_classify_main

Definition at line 69 of file l2_classify.h.

vlib_node_registration_t l2_classify_node

(constructor) VLIB_REGISTER_NODE (l2_classify_node)

Definition at line 53 of file l2_classify.c.