FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
rewrite.c File Reference
+ Include dependency graph for rewrite.c:

Go to the source code of this file.

Functions

void vnet_rewrite_copy_slow_path (vnet_rewrite_data_t *p0, vnet_rewrite_data_t *rw0, word n_left, uword most_likely_size)
 
u8format_vnet_rewrite (u8 *s, va_list *args)
 
u32 vnet_tx_node_index_for_sw_interface (vnet_main_t *vnm, u32 sw_if_index)
 
void vnet_rewrite_init (vnet_main_t *vnm, u32 sw_if_index, u32 this_node, u32 next_node, vnet_rewrite_header_t *rw)
 
void vnet_rewrite_update_mtu (vnet_main_t *vnm, vnet_rewrite_header_t *rw)
 
void vnet_rewrite_for_sw_interface (vnet_main_t *vnm, vnet_link_t link_type, u32 sw_if_index, u32 node_index, void *dst_address, vnet_rewrite_header_t *rw, u32 max_rewrite_bytes)
 Deprecated. More...
 
void vnet_rewrite_for_tunnel (vnet_main_t *vnm, u32 tx_sw_if_index, u32 rewrite_node_index, u32 post_rewrite_node_index, vnet_rewrite_header_t *rw, u8 *rewrite_data, u32 rewrite_length)
 
void serialize_vnet_rewrite (serialize_main_t *m, va_list *va)
 
void unserialize_vnet_rewrite (serialize_main_t *m, va_list *va)
 
u8vnet_build_rewrite_for_sw_interface (vnet_main_t *vnm, u32 sw_if_index, vnet_link_t link_type, const void *dst_address)
 
void vnet_update_adjacency_for_sw_interface (vnet_main_t *vnm, u32 sw_if_index, u32 ai)
 

Function Documentation

u8* format_vnet_rewrite ( u8 s,
va_list *  args 
)

Definition at line 68 of file rewrite.c.

+ Here is the call graph for this function:

void serialize_vnet_rewrite ( serialize_main_t m,
va_list *  va 
)

Definition at line 175 of file rewrite.c.

+ Here is the call graph for this function:

void unserialize_vnet_rewrite ( serialize_main_t m,
va_list *  va 
)

Definition at line 191 of file rewrite.c.

+ Here is the call graph for this function:

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

Definition at line 210 of file rewrite.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vnet_rewrite_copy_slow_path ( vnet_rewrite_data_t p0,
vnet_rewrite_data_t rw0,
word  n_left,
uword  most_likely_size 
)

Definition at line 44 of file rewrite.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vnet_rewrite_for_sw_interface ( vnet_main_t vnm,
vnet_link_t  link_type,
u32  sw_if_index,
u32  node_index,
void *  dst_address,
vnet_rewrite_header_t *  rw,
u32  max_rewrite_bytes 
)

Deprecated.

Definition at line 122 of file rewrite.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vnet_rewrite_for_tunnel ( vnet_main_t vnm,
u32  tx_sw_if_index,
u32  rewrite_node_index,
u32  post_rewrite_node_index,
vnet_rewrite_header_t *  rw,
u8 rewrite_data,
u32  rewrite_length 
)

Definition at line 150 of file rewrite.c.

+ Here is the call graph for this function:

void vnet_rewrite_init ( vnet_main_t vnm,
u32  sw_if_index,
u32  this_node,
u32  next_node,
vnet_rewrite_header_t *  rw 
)

Definition at line 104 of file rewrite.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vnet_rewrite_update_mtu ( vnet_main_t vnm,
vnet_rewrite_header_t *  rw 
)

Definition at line 115 of file rewrite.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 vnet_tx_node_index_for_sw_interface ( vnet_main_t vnm,
u32  sw_if_index 
)

Definition at line 97 of file rewrite.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vnet_update_adjacency_for_sw_interface ( vnet_main_t vnm,
u32  sw_if_index,
u32  ai 
)

Definition at line 225 of file rewrite.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: