FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
l2e.h File Reference
+ Include dependency graph for l2e.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void l2_emulation_enable (u32 sw_if_index)
 L2 Emulation is a feautre that is applied to L2 ports to 'extract' IP packets from the L2 path and inject them into the L3 path (i.e. More...
 
void l2_emulation_disable (u32 sw_if_index)
 

Function Documentation

◆ l2_emulation_disable()

void l2_emulation_disable ( u32  sw_if_index)

Definition at line 80 of file l2e.c.

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

◆ l2_emulation_enable()

void l2_emulation_enable ( u32  sw_if_index)

L2 Emulation is a feautre that is applied to L2 ports to 'extract' IP packets from the L2 path and inject them into the L3 path (i.e.

into the appropriate ip[4|6]_input node). L3 routes in the table_id for that interface should then be configured as DVR routes, therefore the forwarded packet has the L2 header preserved and togehter the L3 routed system behaves like an L2 bridge.

Definition at line 59 of file l2e.c.

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