Removed some bugs in TCP

This commit is contained in:
Nikhil Chandru Rao
2006-08-08 03:42:30 +00:00
parent cb42e573a0
commit d2bdf81505
4 changed files with 108 additions and 59 deletions

View File

@@ -11,7 +11,8 @@
/* IP6 constants */
#define IP6_VER 6
#define IP6_VERSION 0x6
#define IP6_HOP_LIMIT 64
/* IP6 header */

View File

@@ -159,7 +159,6 @@ struct tcp_connection {
struct list_head list; /* List of TCP connections */
struct pk_buff *tx_pkb; /* Transmit packet buffer */
struct retry_timer timer; /* Retransmission timer */
int retransmits; /* Number of retransmits */
struct tcp_operations *tcp_op; /* Operations table for connection */
};
@@ -198,10 +197,10 @@ struct tcp_header {
/**
* TCP flags
*/
#define TCP_RST 0x20
#define TCP_URG 0x20
#define TCP_ACK 0x10
#define TCP_PSH 0x08
#define TCP_URG 0x04
#define TCP_RST 0x04
#define TCP_SYN 0x02
#define TCP_FIN 0x01