FD.io VPP
v16.06
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | iphdrtype_ |
struct | tcptype_ |
Macros | |
#define | net2host16(x) clib_net_to_host_u16( x) |
#define | net2host32(x) clib_net_to_host_u32( x) |
#define | net2host64(x) clib_net_to_host_u64( x) |
#define | host2net16(x) clib_host_to_net_u16(x) |
#define | host2net32(x) clib_host_to_net_u32(x) |
#define | host2net64(x) clib_host_to_net_u64(x) |
#define | FTP_ALG_DEBUG_PRINTF_ENABLED 1 |
#define | FTP_ALG_DEBUG_PRINTF(...) |
Typedefs | |
typedef struct iphdrtype_ | iphdrtype |
typedef struct tcptype_ | tcptype |
Functions | |
int | watch_ftp_port_cmd (iphdrtype *ip, tcptype *tcp, u32 *ip_addr, u16 *port) |
u8 * | ftp_test_pkt_gen (u32 ip_addr, u16 port) |
int | update_ftp_port (u8 *pkt, u32 new_ip, u16 new_port, i8 *delta, cnat_main_db_entry_t *db_tcp_control, dslite_table_entry_t *dslite_entry_ptr, ipv6_header_t *ipv6_hdr) |
int | cnat_ftp_alg (u8 *pkt, i8 *delta, cnat_main_db_entry_t *db, dslite_table_entry_t *dslite_entry_ptr, ipv6_header_t *ipv6_hdr) |
#define FTP_ALG_DEBUG_PRINTF | ( | ... | ) |
Definition at line 122 of file cnat_v4_ftp_alg.h.
#define FTP_ALG_DEBUG_PRINTF_ENABLED 1 |
Definition at line 118 of file cnat_v4_ftp_alg.h.
#define host2net16 | ( | x | ) | clib_host_to_net_u16(x) |
Definition at line 36 of file cnat_v4_ftp_alg.h.
#define host2net32 | ( | x | ) | clib_host_to_net_u32(x) |
Definition at line 37 of file cnat_v4_ftp_alg.h.
#define host2net64 | ( | x | ) | clib_host_to_net_u64(x) |
Definition at line 38 of file cnat_v4_ftp_alg.h.
#define net2host16 | ( | x | ) | clib_net_to_host_u16( x) |
Definition at line 33 of file cnat_v4_ftp_alg.h.
#define net2host32 | ( | x | ) | clib_net_to_host_u32( x) |
Definition at line 34 of file cnat_v4_ftp_alg.h.
#define net2host64 | ( | x | ) | clib_net_to_host_u64( x) |
Definition at line 35 of file cnat_v4_ftp_alg.h.
typedef struct iphdrtype_ iphdrtype |
int cnat_ftp_alg | ( | u8 * | pkt, |
i8 * | delta, | ||
cnat_main_db_entry_t * | db, | ||
dslite_table_entry_t * | dslite_entry_ptr, | ||
ipv6_header_t * | ipv6_hdr | ||
) |
int update_ftp_port | ( | u8 * | pkt, |
u32 | new_ip, | ||
u16 | new_port, | ||
i8 * | delta, | ||
cnat_main_db_entry_t * | db_tcp_control, | ||
dslite_table_entry_t * | dslite_entry_ptr, | ||
ipv6_header_t * | ipv6_hdr | ||
) |