FD.io VPP  v21.06-3-gbb25fbf28
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, member_if_t *mif)
 
static void lacp_send_ethernet_lacp_pdu (vlib_main_t *vm, member_if_t *mif)
 
static int lacp_pick_packet_template (member_if_t *mif)
 
void lacp_send_lacp_pdu (vlib_main_t *vm, member_if_t *mif)
 
void lacp_periodic (vlib_main_t *vm)
 
static void lacp_interface_enable_disable (vlib_main_t *vm, bond_if_t *bif, member_if_t *mif, u8 enable)
 
static clib_error_tlacp_periodic_init (vlib_main_t *vm)
 
int lacp_machine_dispatch (lacp_machine_t *machine, vlib_main_t *vm, member_if_t *mif, int event, int *state)
 
void lacp_init_neighbor (member_if_t *mif, u8 *hw_address, u16 port_number, u32 group)
 
void lacp_init_state_machines (vlib_main_t *vm, member_if_t *mif)
 
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,
member_if_t mif 
)
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 424 of file lacp.c.

+ Here is the call graph for this function:

◆ lacp_init_neighbor()

void lacp_init_neighbor ( member_if_t mif,
u8 hw_address,
u16  port_number,
u32  group 
)

Definition at line 333 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,
member_if_t mif 
)

Definition at line 374 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,
member_if_t mif,
u8  enable 
)
static

Definition at line 192 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,
member_if_t mif,
int  event,
int *  state 
)

Definition at line 317 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 238 of file lacp.c.

+ Here is the call graph for this function:

◆ lacp_pick_packet_template()

static int lacp_pick_packet_template ( member_if_t mif)
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 ( vlib_main_t vm,
member_if_t mif 
)
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,
member_if_t mif 
)

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 394 of file lacp.c.

+ Here is the call graph for this function:

◆ VLIB_PLUGIN_REGISTER()

VLIB_PLUGIN_REGISTER ( )

◆ VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION()

VNET_HW_INTERFACE_LINK_UP_DOWN_FUNCTION ( lacp_hw_interface_up_down  )

◆ VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION()

VNET_SW_INTERFACE_ADMIN_UP_DOWN_FUNCTION ( lacp_sw_interface_up_down  )

Variable Documentation

◆ lacp_main

lacp_main_t lacp_main

Definition at line 26 of file lacp.c.