Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

tcp.h File Reference

Header for the TCP (Transmition Control Protocol). More...

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 ()


Detailed Description

Header for the TCP (Transmition Control Protocol).

Author:
Andrea Righi <drizzt@inwind.it>
Date:
2003-10-27
Note:
Copyright (C) 2003 Andrea Righi

Definition in file tcp.h.


Generated on Fri Feb 20 15:32:20 2004 for Minirighi by doxygen1.2.18