FD.io VPP  v19.08.3-2-gbabecb413
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 31 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 398 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 316 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 357 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 175 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 300 of file lacp.c.

+ Here is the caller graph for this function:

◆ lacp_periodic()

void lacp_periodic ( vlib_main_t vm)

Definition at line 138 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 221 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 100 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 44 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 108 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 368 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 25 of file lacp.c.