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

Go to the source code of this file.

Functions

void tcp_debug_logging (u32 seq_num, u32 ack_num, u32 old_ip, u32 new_ip, u16 old_port, u16 new_port, u16 old_ip_crc, u16 new_ip_crc, u16 old_tcp_crc, u16 new_tcp_crc)
 
void tcp_debug_logging_dump (void)
 
void tcp_debug_logging_enable_disable (u32 enable_flag)
 
void hex_dump (u8 *p, int len)
 
void print_icmp_pkt (ipv4_header *ip)
 
void print_udp_pkt (ipv4_header *ip)
 
void print_tcp_pkt (ipv4_header *ip)
 
void tcp_in2out_nat_mss_n_checksum (ipv4_header *ip, tcp_hdr_type *tcp, u32 ipv4_addr, u16 port, cnat_main_db_entry_t *db)
 
u32 get_my_svi_intf_ip_addr ()
 

Variables

static u32 tcp_logging_count
 
static u32 tcp_logging_overflow
 
static tcp_logging_struct_t tcp_logging_array [MAX_TCP_LOGGING_COUNT]
 

Function Documentation

u32 get_my_svi_intf_ip_addr ( )

Definition at line 362 of file cnat_v4_functions.c.

+ Here is the caller graph for this function:

void hex_dump ( u8 p,
int  len 
)

Definition at line 154 of file cnat_v4_functions.c.

+ Here is the caller graph for this function:

void print_icmp_pkt ( ipv4_header ip)

Definition at line 165 of file cnat_v4_functions.c.

+ Here is the caller graph for this function:

void print_tcp_pkt ( ipv4_header ip)

Definition at line 226 of file cnat_v4_functions.c.

+ Here is the caller graph for this function:

void print_udp_pkt ( ipv4_header ip)

Definition at line 193 of file cnat_v4_functions.c.

+ Here is the caller graph for this function:

void tcp_debug_logging ( u32  seq_num,
u32  ack_num,
u32  old_ip,
u32  new_ip,
u16  old_port,
u16  new_port,
u16  old_ip_crc,
u16  new_ip_crc,
u16  old_tcp_crc,
u16  new_tcp_crc 
)

Definition at line 41 of file cnat_v4_functions.c.

+ Here is the caller graph for this function:

void tcp_debug_logging_dump ( void  )

Definition at line 76 of file cnat_v4_functions.c.

+ Here is the caller graph for this function:

void tcp_debug_logging_enable_disable ( u32  enable_flag)

Definition at line 115 of file cnat_v4_functions.c.

+ Here is the call graph for this function:

void tcp_in2out_nat_mss_n_checksum ( ipv4_header ip,
tcp_hdr_type tcp,
u32  ipv4_addr,
u16  port,
cnat_main_db_entry_t db 
)
inline

Definition at line 267 of file cnat_v4_functions.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

tcp_logging_struct_t tcp_logging_array[MAX_TCP_LOGGING_COUNT]
static

Definition at line 35 of file cnat_v4_functions.c.

u32 tcp_logging_count
static

Definition at line 32 of file cnat_v4_functions.c.

u32 tcp_logging_overflow
static

Definition at line 33 of file cnat_v4_functions.c.