FD.io VPP  v18.04-17-g3a0d853
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)
 
static void serialize_srp_register_interface_msg (serialize_main_t *m, va_list *va)
 
static void unserialize_srp_register_interface_msg (serialize_main_t *m, va_list *va)
 
 MC_SERIALIZE_MSG (srp_register_interface_msg, static)
 
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)
 
static void serialize_srp_interface_config_msg (serialize_main_t *m, va_list *va)
 
static void unserialize_srp_interface_config_msg (serialize_main_t *m, va_list *va)
 
 MC_SERIALIZE_MSG (srp_interface_config_msg, static)
 
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

MC_SERIALIZE_MSG ( srp_register_interface_msg  ,
static   
)
MC_SERIALIZE_MSG ( srp_interface_config_msg  ,
static   
)
static void serialize_srp_interface_config_msg ( serialize_main_t m,
va_list *  va 
)
static

Definition at line 301 of file interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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:

static void serialize_srp_register_interface_msg ( serialize_main_t m,
va_list *  va 
)
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:

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:

void srp_interface_enable_ips ( u32  hw_if_index)

Definition at line 217 of file interface.c.

+ Here is the call graph for this function:

void srp_interface_get_interface_config ( u32  hw_if_index,
srp_interface_config_t c 
)

Definition at line 331 of file interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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 245 of file interface.c.

+ Here is the call graph for this function:

void srp_interface_set_hw_enable_function ( u32  hw_if_index,
srp_hw_enable_function_t f 
)

Definition at line 211 of file interface.c.

+ Here is the call graph for this function:

void srp_interface_set_hw_wrap_function ( u32  hw_if_index,
srp_hw_wrap_function_t f 
)

Definition at line 205 of file interface.c.

+ Here is the call graph for this function:

void srp_interface_set_interface_config ( u32  hw_if_index,
srp_interface_config_t c 
)

Definition at line 338 of file interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 228 of file interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void srp_register_interface ( u32 hw_if_indices_by_side)

Definition at line 200 of file interface.c.

+ Here is the call graph for this function:

static void srp_register_interface_helper ( u32 hw_if_indices_by_side,
u32  redistribute 
)
static

Definition at line 151 of file interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void unserialize_srp_interface_config_msg ( serialize_main_t m,
va_list *  va 
)
static

Definition at line 312 of file interface.c.

+ Here is the call graph for this function:

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:

static void unserialize_srp_register_interface_msg ( serialize_main_t m,
va_list *  va 
)
static

Definition at line 121 of file interface.c.

+ Here is the call graph for this function:

VNET_HW_INTERFACE_CLASS ( srp_hw_interface_class  )