Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

TCP.H File Reference

Go to the source code of this file.

Classes

struct  tcphdr

Defines

#define TH_FIN   0x01
#define TH_SYN   0x02
#define TH_RST   0x04
#define TH_PUSH   0x08
#define TH_ACK   0x10
#define TH_URG   0x20
#define TCPOPT_EOL   0
#define TCPOPT_NOP   1
#define TCPOPT_MAXSEG   2
#define TCPOLEN_MAXSEG   4
#define TCPOPT_WINDOW   3
#define TCPOLEN_WINDOW   3
#define TCPOPT_SACK_PERMITTED   4
#define TCPOLEN_SACK_PERMITTED   2
#define TCPOPT_SACK   5
#define TCPOPT_TIMESTAMP   8
#define TCPOLEN_TIMESTAMP   10
#define TCPOLEN_TSTAMP_APPA   (TCPOLEN_TIMESTAMP+2)
#define TCPOPT_TSTAMP_HDR   (TCPOPT_NOP<<24|TCPOPT_NOP<<16|TCPOPT_TIMESTAMP<<8|TCPOLEN_TIMESTAMP)
#define TCP_MSS   512
#define TCP_MAXWIN   65535
#define TCP_MAX_WINSHIFT   14
#define TCP_NODELAY   0x01
#define TCP_MAXSEG   0x02

Typedefs

typedef u_int tcp_seq


Define Documentation

#define TCP_MAX_WINSHIFT   14
 

Definition at line 92 of file TCP.H.

#define TCP_MAXSEG   0x02
 

Definition at line 101 of file TCP.H.

#define TCP_MAXWIN   65535
 

Definition at line 90 of file TCP.H.

#define TCP_MSS   512
 

Definition at line 88 of file TCP.H.

#define TCP_NODELAY   0x01
 

Definition at line 98 of file TCP.H.

#define TCPOLEN_MAXSEG   4
 

Definition at line 69 of file TCP.H.

#define TCPOLEN_SACK_PERMITTED   2
 

Definition at line 73 of file TCP.H.

#define TCPOLEN_TIMESTAMP   10
 

Definition at line 76 of file TCP.H.

#define TCPOLEN_TSTAMP_APPA   (TCPOLEN_TIMESTAMP+2)
 

Definition at line 77 of file TCP.H.

#define TCPOLEN_WINDOW   3
 

Definition at line 71 of file TCP.H.

#define TCPOPT_EOL   0
 

Definition at line 66 of file TCP.H.

#define TCPOPT_MAXSEG   2
 

Definition at line 68 of file TCP.H.

#define TCPOPT_NOP   1
 

Definition at line 67 of file TCP.H.

#define TCPOPT_SACK   5
 

Definition at line 74 of file TCP.H.

#define TCPOPT_SACK_PERMITTED   4
 

Definition at line 72 of file TCP.H.

#define TCPOPT_TIMESTAMP   8
 

Definition at line 75 of file TCP.H.

#define TCPOPT_TSTAMP_HDR   (TCPOPT_NOP<<24|TCPOPT_NOP<<16|TCPOPT_TIMESTAMP<<8|TCPOLEN_TIMESTAMP)
 

Definition at line 79 of file TCP.H.

#define TCPOPT_WINDOW   3
 

Definition at line 70 of file TCP.H.

#define TH_ACK   0x10
 

Definition at line 59 of file TCP.H.

#define TH_FIN   0x01
 

Definition at line 55 of file TCP.H.

#define TH_PUSH   0x08
 

Definition at line 58 of file TCP.H.

#define TH_RST   0x04
 

Definition at line 57 of file TCP.H.

#define TH_SYN   0x02
 

Definition at line 56 of file TCP.H.

#define TH_URG   0x20
 

Definition at line 60 of file TCP.H.


Typedef Documentation

typedef u_int tcp_seq
 

Definition at line 36 of file TCP.H.


Generated on Sun May 14 14:51:29 2006 by  doxygen 1.4.2