FD.io VPP  v18.07.1-19-g511ce25
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

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:

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

Definition at line 380 of file lacp.c.

+ Here is the call graph for this function:

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

Definition at line 302 of file lacp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void lacp_init_state_machines ( vlib_main_t vm,
slave_if_t sif 
)

Definition at line 341 of file lacp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 174 of file lacp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 286 of file lacp.c.

+ Here is the caller graph for this function:

void lacp_periodic ( vlib_main_t vm)

Definition at line 137 of file lacp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static clib_error_t* lacp_periodic_init ( vlib_main_t vm)
static

Definition at line 207 of file lacp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int lacp_pick_packet_template ( slave_if_t sif)
static

Definition at line 99 of file lacp.c.

+ Here is the caller graph for this function:

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:

void lacp_send_lacp_pdu ( vlib_main_t vm,
slave_if_t sif 
)

Definition at line 107 of file lacp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 352 of file lacp.c.

+ Here is the call graph for this function:

VLIB_PLUGIN_REGISTER ( )

+ Here is the caller graph for this 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 ( lacp_sw_interface_up_down  )

+ Here is the caller graph for this function:

Variable Documentation

lacp_main_t lacp_main

Definition at line 25 of file lacp.c.