mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 21:41:43 +03:00
Removed some bugs in TCP
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
|
||||
/* IP6 constants */
|
||||
|
||||
#define IP6_VER 6
|
||||
#define IP6_VERSION 0x6
|
||||
#define IP6_HOP_LIMIT 64
|
||||
|
||||
/* IP6 header */
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user