FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
interface.c File Reference
+ Include dependency graph for interface.c:

Go to the source code of this file.

Functions

static u8srp_build_rewrite (vnet_main_t *vnm, u32 sw_if_index, vnet_link_t link_type, const void *dst_address)
 
static void srp_register_interface_helper (u32 *hw_if_indices_by_side, u32 redistribute)
 
void serialize_srp_main (serialize_main_t *m, va_list *va)
 
void unserialize_srp_main (serialize_main_t *m, va_list *va)
 
void srp_register_interface (u32 *hw_if_indices_by_side)
 
void srp_interface_set_hw_wrap_function (u32 hw_if_index, srp_hw_wrap_function_t *f)
 
void srp_interface_set_hw_enable_function (u32 hw_if_index, srp_hw_enable_function_t *f)
 
void srp_interface_enable_ips (u32 hw_if_index)
 
static uword srp_is_valid_class_for_interface (vnet_main_t *vnm, u32 hw_if_index, u32 hw_class_index)
 
static void srp_interface_hw_class_change (vnet_main_t *vnm, u32 hw_if_index, u32 old_hw_class_index, u32 new_hw_class_index)
 
 VNET_HW_INTERFACE_CLASS (srp_hw_interface_class)
 
void srp_interface_get_interface_config (u32 hw_if_index, srp_interface_config_t *c)
 
void srp_interface_set_interface_config (u32 hw_if_index, srp_interface_config_t *c)
 

Function Documentation

◆ serialize_srp_main()

void serialize_srp_main ( serialize_main_t m,
va_list *  va 
)

Definition at line 89 of file interface.c.

+ Here is the call graph for this function:

◆ srp_build_rewrite()

static u8* srp_build_rewrite ( vnet_main_t vnm,
u32  sw_if_index,
vnet_link_t  link_type,
const void *  dst_address 
)
static

Definition at line 45 of file interface.c.

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

◆ srp_interface_enable_ips()

void srp_interface_enable_ips ( u32  hw_if_index)

Definition at line 168 of file interface.c.

+ Here is the call graph for this function:

◆ srp_interface_get_interface_config()

void srp_interface_get_interface_config ( u32  hw_if_index,
srp_interface_config_t c 
)

Definition at line 252 of file interface.c.

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

◆ srp_interface_hw_class_change()

static void srp_interface_hw_class_change ( vnet_main_t vnm,
u32  hw_if_index,
u32  old_hw_class_index,
u32  new_hw_class_index 
)
static

Definition at line 196 of file interface.c.

+ Here is the call graph for this function:

◆ srp_interface_set_hw_enable_function()

void srp_interface_set_hw_enable_function ( u32  hw_if_index,
srp_hw_enable_function_t f 
)

Definition at line 162 of file interface.c.

+ Here is the call graph for this function:

◆ srp_interface_set_hw_wrap_function()

void srp_interface_set_hw_wrap_function ( u32  hw_if_index,
srp_hw_wrap_function_t f 
)

Definition at line 156 of file interface.c.

+ Here is the call graph for this function:

◆ srp_interface_set_interface_config()

void srp_interface_set_interface_config ( u32  hw_if_index,
srp_interface_config_t c 
)

Definition at line 259 of file interface.c.

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

◆ srp_is_valid_class_for_interface()

static uword srp_is_valid_class_for_interface ( vnet_main_t vnm,
u32  hw_if_index,
u32  hw_class_index 
)
static

Definition at line 179 of file interface.c.

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

◆ srp_register_interface()

void srp_register_interface ( u32 hw_if_indices_by_side)

Definition at line 151 of file interface.c.

+ Here is the call graph for this function:

◆ srp_register_interface_helper()

static void srp_register_interface_helper ( u32 hw_if_indices_by_side,
u32  redistribute 
)
static

Definition at line 114 of file interface.c.

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

◆ unserialize_srp_main()

void unserialize_srp_main ( serialize_main_t m,
va_list *  va 
)

Definition at line 101 of file interface.c.

+ Here is the call graph for this function:

◆ VNET_HW_INTERFACE_CLASS()

VNET_HW_INTERFACE_CLASS ( srp_hw_interface_class  )