FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
pnat_test_stubs.h File Reference
+ Include dependency graph for pnat_test_stubs.h:

Go to the source code of this file.

Functions

void os_panic (void)
 
void os_exit (int code)
 
u32 ip4_fib_table_get_index_for_sw_if_index (u32 sw_if_index)
 
clib_error_tstat_segment_register_gauge (u8 *names, stat_segment_update_fn update_fn, u32 index)
 
void classify_get_trace_chain (void)
 
u8format_ip4_address (u8 *s, va_list *args)
 
u8format_pnat_match_tuple (u8 *s, va_list *args)
 
u8format_pnat_rewrite_tuple (u8 *s, va_list *args)
 
int ip4_sv_reass_enable_disable_with_refcnt (u32 sw_if_index, int is_enable)
 
int ip4_sv_reass_output_enable_disable_with_refcnt (u32 sw_if_index, int is_enable)
 
int vnet_feature_enable_disable (const char *arc_name, const char *node_name, u32 sw_if_index, int enable_disable, void *feature_config, u32 n_feature_config_bytes)
 
vnet_main_tvnet_get_main (void)
 
u16 ip4_tcp_udp_compute_checksum (vlib_main_t *vm, vlib_buffer_t *p0, ip4_header_t *ip0)
 
u32 ip4_tcp_udp_validate_checksum (vlib_main_t *vm, vlib_buffer_t *p0)
 
u8format_tcp_header (u8 *s, va_list *args)
 
u8format_udp_header (u8 *s, va_list *args)
 
u8format_ip4_header (u8 *s, va_list *args)
 

Variables

vnet_feature_main_t feature_main
 
vlib_error_desc_t pnat_error_counters [10]
 

Function Documentation

◆ classify_get_trace_chain()

void classify_get_trace_chain ( void  )

Definition at line 30 of file pnat_test_stubs.h.

+ Here is the caller graph for this function:

◆ format_ip4_address()

u8* format_ip4_address ( u8 s,
va_list *  args 
)

Definition at line 33 of file pnat_test_stubs.h.

+ Here is the caller graph for this function:

◆ format_ip4_header()

u8* format_ip4_header ( u8 s,
va_list *  args 
)

Definition at line 159 of file pnat_test_stubs.h.

+ Here is the call graph for this function:

◆ format_pnat_match_tuple()

u8* format_pnat_match_tuple ( u8 s,
va_list *  args 
)

Definition at line 38 of file pnat_test_stubs.h.

+ Here is the caller graph for this function:

◆ format_pnat_rewrite_tuple()

u8* format_pnat_rewrite_tuple ( u8 s,
va_list *  args 
)

Definition at line 39 of file pnat_test_stubs.h.

+ Here is the caller graph for this function:

◆ format_tcp_header()

u8* format_tcp_header ( u8 s,
va_list *  args 
)

Definition at line 106 of file pnat_test_stubs.h.

+ Here is the call graph for this function:

◆ format_udp_header()

u8* format_udp_header ( u8 s,
va_list *  args 
)

Definition at line 136 of file pnat_test_stubs.h.

+ Here is the call graph for this function:

◆ ip4_fib_table_get_index_for_sw_if_index()

u32 ip4_fib_table_get_index_for_sw_if_index ( u32  sw_if_index)

Definition at line 21 of file pnat_test_stubs.h.

+ Here is the caller graph for this function:

◆ ip4_sv_reass_enable_disable_with_refcnt()

int ip4_sv_reass_enable_disable_with_refcnt ( u32  sw_if_index,
int  is_enable 
)

Definition at line 43 of file pnat_test_stubs.h.

+ Here is the caller graph for this function:

◆ ip4_sv_reass_output_enable_disable_with_refcnt()

int ip4_sv_reass_output_enable_disable_with_refcnt ( u32  sw_if_index,
int  is_enable 
)

Definition at line 46 of file pnat_test_stubs.h.

+ Here is the caller graph for this function:

◆ ip4_tcp_udp_compute_checksum()

u16 ip4_tcp_udp_compute_checksum ( vlib_main_t vm,
vlib_buffer_t p0,
ip4_header_t ip0 
)

Definition at line 59 of file pnat_test_stubs.h.

+ Here is the caller graph for this function:

◆ ip4_tcp_udp_validate_checksum()

u32 ip4_tcp_udp_validate_checksum ( vlib_main_t vm,
vlib_buffer_t p0 
)

Definition at line 84 of file pnat_test_stubs.h.

+ Here is the caller graph for this function:

◆ os_exit()

void os_exit ( int  code)

Definition at line 20 of file pnat_test_stubs.h.

+ Here is the caller graph for this function:

◆ os_panic()

__clib_export void os_panic ( void  )

Definition at line 19 of file pnat_test_stubs.h.

+ Here is the caller graph for this function:

◆ stat_segment_register_gauge()

clib_error_t* stat_segment_register_gauge ( u8 names,
stat_segment_update_fn  update_fn,
u32  index 
)

Definition at line 23 of file pnat_test_stubs.h.

◆ vnet_feature_enable_disable()

int vnet_feature_enable_disable ( const char *  arc_name,
const char *  node_name,
u32  sw_if_index,
int  enable_disable,
void *  feature_config,
u32  n_feature_config_bytes 
)

Definition at line 50 of file pnat_test_stubs.h.

◆ vnet_get_main()

vnet_main_t* vnet_get_main ( void  )

Definition at line 56 of file pnat_test_stubs.h.

Variable Documentation

◆ feature_main

vnet_feature_main_t feature_main

Definition at line 27 of file pnat_test_stubs.h.

◆ pnat_error_counters

vlib_error_desc_t pnat_error_counters[10]

Definition at line 41 of file pnat_test_stubs.h.