FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
lacp.c File Reference
+ Include dependency graph for lacp.c:

Go to the source code of this file.

Functions

static void lacp_fill_pdu (lacp_pdu_t *lacpdu, slave_if_t *sif)
 
static void lacp_send_ethernet_lacp_pdu (slave_if_t *sif)
 
static int lacp_pick_packet_template (slave_if_t *sif)
 
void lacp_send_lacp_pdu (vlib_main_t *vm, slave_if_t *sif)
 
void lacp_periodic (vlib_main_t *vm)
 
static void lacp_interface_enable_disable (vlib_main_t *vm, bond_if_t *bif, slave_if_t *sif, u8 enable)
 
static clib_error_tlacp_periodic_init (vlib_main_t *vm)
 
int lacp_machine_dispatch (lacp_machine_t *machine, vlib_main_t *vm, slave_if_t *sif, int event, int *state)
 
void lacp_init_neighbor (slave_if_t *sif, u8 *hw_address, u16 port_number, u32 group)
 
void lacp_init_state_machines (vlib_main_t *vm, slave_if_t *sif)
 
static clib_error_tlacp_sw_interface_up_down (vnet_main_t *vnm, u32 sw_if_index, u32 flags)
 
 VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION (lacp_sw_interface_up_down)
 
static clib_error_tlacp_hw_interface_up_down (vnet_main_t *vnm, u32 hw_if_index, u32 flags)
 
 VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION (lacp_hw_interface_up_down)
 
 VLIB_PLUGIN_REGISTER ()
 

Variables

lacp_main_t lacp_main
 

Function Documentation

◆ lacp_fill_pdu()

static void lacp_fill_pdu ( lacp_pdu_t *  lacpdu,
slave_if_t sif 
)
static

Definition at line 32 of file lacp.c.

+ Here is the caller graph for this function:

◆ lacp_hw_interface_up_down()

static clib_error_t* lacp_hw_interface_up_down ( vnet_main_t vnm,
u32  hw_if_index,
u32  flags 
)
static

Definition at line 426 of file lacp.c.

+ Here is the call graph for this function:

◆ lacp_init_neighbor()

void lacp_init_neighbor ( slave_if_t sif,
u8 hw_address,
u16  port_number,
u32  group 
)

Definition at line 335 of file lacp.c.

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

◆ lacp_init_state_machines()

void lacp_init_state_machines ( vlib_main_t vm,
slave_if_t sif 
)

Definition at line 376 of file lacp.c.

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

◆ lacp_interface_enable_disable()

static void lacp_interface_enable_disable ( vlib_main_t vm,
bond_if_t bif,
slave_if_t sif,
u8  enable 
)
static

Definition at line 194 of file lacp.c.

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

◆ lacp_machine_dispatch()

int lacp_machine_dispatch ( lacp_machine_t machine,
vlib_main_t vm,
slave_if_t sif,
int  event,
int *  state 
)

Definition at line 319 of file lacp.c.

+ Here is the caller graph for this function:

◆ lacp_periodic()

void lacp_periodic ( vlib_main_t vm)

Definition at line 139 of file lacp.c.

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

◆ lacp_periodic_init()

static clib_error_t* lacp_periodic_init ( vlib_main_t vm)
static

Definition at line 240 of file lacp.c.

+ Here is the call graph for this function:

◆ lacp_pick_packet_template()

static int lacp_pick_packet_template ( slave_if_t sif)
static

Definition at line 101 of file lacp.c.

+ Here is the caller graph for this function:

◆ lacp_send_ethernet_lacp_pdu()

static void lacp_send_ethernet_lacp_pdu ( slave_if_t sif)
static

Definition at line 45 of file lacp.c.

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

◆ lacp_send_lacp_pdu()

void lacp_send_lacp_pdu ( vlib_main_t vm,
slave_if_t sif 
)

Definition at line 109 of file lacp.c.

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

◆ lacp_sw_interface_up_down()

static clib_error_t* lacp_sw_interface_up_down ( vnet_main_t vnm,
u32  sw_if_index,
u32  flags 
)
static

Definition at line 396 of file lacp.c.

+ Here is the call graph for this function:

◆ VLIB_PLUGIN_REGISTER()

VLIB_PLUGIN_REGISTER ( )
+ Here is the caller graph for this function:

◆ VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION()

VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION ( lacp_hw_interface_up_down  )
+ Here is the caller graph for this function:

◆ VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION()

VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION ( lacp_sw_interface_up_down  )
+ Here is the caller graph for this function:

Variable Documentation

◆ lacp_main

lacp_main_t lacp_main

Definition at line 26 of file lacp.c.