FD.io VPP  v16.09
Vector Packet Processing
interface.c File Reference
+ Include dependency graph for interface.c:

Go to the source code of this file.

Functions

static uword srp_set_rewrite (vnet_main_t *vnm, u32 sw_if_index, u32 l3_type, void *dst_address, void *rewrite, uword max_rewrite_bytes)
 
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 90 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 115 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 218 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 246 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 212 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 206 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 229 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 201 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 152 of file interface.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword srp_set_rewrite ( vnet_main_t vnm,
u32  sw_if_index,
u32  l3_type,
void *  dst_address,
void *  rewrite,
uword  max_rewrite_bytes 
)
static

Definition at line 44 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 102 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 122 of file interface.c.

+ Here is the call graph for this function:

VNET_HW_INTERFACE_CLASS ( srp_hw_interface_class  )