FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
l2_learn.h File Reference
+ Include dependency graph for l2_learn.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  l2learn_main_t
 

Macros

#define L2LEARN_DEFAULT_LIMIT   (L2FIB_NUM_BUCKETS * 64)
 

Enumerations

enum  l2_mac_age_process_event_t { L2_MAC_AGE_PROCESS_EVENT_START = 1, L2_MAC_AGE_PROCESS_EVENT_STOP = 2, L2_MAC_AGE_PROCESS_EVENT_ONE_PASS = 3 }
 

Variables

l2learn_main_t l2learn_main
 
vlib_node_registration_t l2fib_mac_age_scanner_process_node
 (constructor) VLIB_REGISTER_NODE (l2fib_mac_age_scanner_process_node) More...
 

Macro Definition Documentation

◆ L2LEARN_DEFAULT_LIMIT

#define L2LEARN_DEFAULT_LIMIT   (L2FIB_NUM_BUCKETS * 64)

Definition at line 53 of file l2_learn.h.

Enumeration Type Documentation

◆ l2_mac_age_process_event_t

Enumerator
L2_MAC_AGE_PROCESS_EVENT_START 
L2_MAC_AGE_PROCESS_EVENT_STOP 
L2_MAC_AGE_PROCESS_EVENT_ONE_PASS 

Definition at line 59 of file l2_learn.h.

Variable Documentation

◆ l2fib_mac_age_scanner_process_node

vlib_node_registration_t l2fib_mac_age_scanner_process_node

(constructor) VLIB_REGISTER_NODE (l2fib_mac_age_scanner_process_node)

Definition at line 1370 of file l2_fib.c.

◆ l2learn_main

l2learn_main_t l2learn_main

Definition at line 32 of file l2_learn.c.