From d2bdf815050ce7f394ef7f860f746ccf894fe787 Mon Sep 17 00:00:00 2001 From: Nikhil Chandru Rao Date: Tue, 8 Aug 2006 03:42:30 +0000 Subject: Removed some bugs in TCP --- src/include/gpxe/ip6.h | 3 ++- src/include/gpxe/tcp.h | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/include') diff --git a/src/include/gpxe/ip6.h b/src/include/gpxe/ip6.h index 1ddba0a95..69cbd81bb 100644 --- a/src/include/gpxe/ip6.h +++ b/src/include/gpxe/ip6.h @@ -11,7 +11,8 @@ /* IP6 constants */ -#define IP6_VER 6 +#define IP6_VERSION 0x6 +#define IP6_HOP_LIMIT 64 /* IP6 header */ diff --git a/src/include/gpxe/tcp.h b/src/include/gpxe/tcp.h index ca926a5c2..b7f0accaa 100644 --- a/src/include/gpxe/tcp.h +++ b/src/include/gpxe/tcp.h @@ -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 -- cgit v1.2.3-55-g7522