Go to the source code of this file.
Data Structures | |
struct | socket_t |
A socket structure. More... | |
struct | tcp |
TCP packet structure. More... | |
struct | tcp_state_t |
A TCP connection states machine structure. More... | |
Defines | |
#define | TCP_CLOSED 0 |
TCP connection closed state. | |
#define | TCP_SYN_RCVD 1 |
TCP SYN received state. | |
#define | TCP_SYN_SENT 2 |
TCP SYN sent state. | |
#define | TCP_ESTABLISHED 3 |
TCP connection established state. | |
#define | TCP_CLOSING 4 |
TCP closing state. | |
Typedefs | |
typedef tcp | tcp_t |
TCP packet structure. | |
Functions | |
void | to_tcp_layer (tcp_t *packet, size_t len, in_addr_t ip_src, in_addr_t ip_dst) |
int | tcp_module_init () |
int | tcp_module_close () |
Definition in file tcp.h.