FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
rewrite.c File Reference
+ Include dependency graph for rewrite.c:

Go to the source code of this file.

Functions

u8format_vnet_rewrite_flags (u8 *s, va_list *ap)
 
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, vnet_link_t linkt, u32 this_node, u32 next_node, vnet_rewrite_header_t *rw)
 
void vnet_rewrite_update_mtu (vnet_main_t *vnm, vnet_link_t linkt, 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 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

◆ format_vnet_rewrite()

u8* format_vnet_rewrite ( u8 s,
va_list *  args 
)

Definition at line 59 of file rewrite.c.

+ Here is the call graph for this function:

◆ format_vnet_rewrite_flags()

u8* format_vnet_rewrite_flags ( u8 s,
va_list *  ap 
)

Definition at line 44 of file rewrite.c.

+ Here is the caller graph for this function:

◆ serialize_vnet_rewrite()

void serialize_vnet_rewrite ( serialize_main_t m,
va_list *  va 
)

Definition at line 145 of file rewrite.c.

+ Here is the call graph for this function:

◆ unserialize_vnet_rewrite()

void unserialize_vnet_rewrite ( serialize_main_t m,
va_list *  va 
)

Definition at line 161 of file rewrite.c.

+ Here is the call graph for this function:

◆ vnet_build_rewrite_for_sw_interface()

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 180 of file rewrite.c.

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

◆ vnet_rewrite_for_sw_interface()

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 117 of file rewrite.c.

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

◆ vnet_rewrite_init()

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

Definition at line 96 of file rewrite.c.

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

◆ vnet_rewrite_update_mtu()

void vnet_rewrite_update_mtu ( vnet_main_t vnm,
vnet_link_t  linkt,
vnet_rewrite_header_t rw 
)

Definition at line 108 of file rewrite.c.

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

◆ vnet_tx_node_index_for_sw_interface()

u32 vnet_tx_node_index_for_sw_interface ( vnet_main_t vnm,
u32  sw_if_index 
)

Definition at line 89 of file rewrite.c.

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

◆ vnet_update_adjacency_for_sw_interface()

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

Definition at line 195 of file rewrite.c.

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