summaryrefslogtreecommitdiff
path: root/gpxe/src/include/old_tcp.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-02-09 18:08:47 -0800
committerH. Peter Anvin <hpa@zytor.com>2016-02-09 18:08:47 -0800
commitf2f897a1762fab84d2905f32b1c15dd7b42abb56 (patch)
treea38f51d3f1fcbf44afddb4736d549c12eaf491be /gpxe/src/include/old_tcp.h
parent72d2959272b4616f17a97667e6dfa9d06bf109a3 (diff)
downloadsyslinux-f2f897a1762fab84d2905f32b1c15dd7b42abb56.tar.gz
gpxe: delete long since obsolete snapshot of gPXE
gPXE has been deprecated in favor of iPXE for many, many years now. It is much better than users get it directly from the iPXE project, since we should no longer need any special modifications for Syslinux use. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'gpxe/src/include/old_tcp.h')
-rw-r--r--gpxe/src/include/old_tcp.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/gpxe/src/include/old_tcp.h b/gpxe/src/include/old_tcp.h
deleted file mode 100644
index 93e1485e..00000000
--- a/gpxe/src/include/old_tcp.h
+++ /dev/null
@@ -1,37 +0,0 @@
-#ifndef _TCP_H
-#define _TCP_H
-
-#define TCP_INITIAL_TIMEOUT (3*TICKS_PER_SEC)
-#define TCP_MAX_TIMEOUT (60*TICKS_PER_SEC)
-#define TCP_MIN_TIMEOUT (TICKS_PER_SEC)
-#define TCP_MAX_RETRY 10
-#define TCP_MAX_HEADER ((int)sizeof(struct iphdr)+64)
-#define TCP_MIN_WINDOW (1500-TCP_MAX_HEADER)
-#define TCP_MAX_WINDOW (65535-TCP_MAX_HEADER)
-
-#define FIN 1
-#define SYN 2
-#define RST 4
-#define PSH 8
-#define ACK 16
-#define URG 32
-
-
-struct tcphdr {
- uint16_t src;
- uint16_t dst;
- int32_t seq;
- int32_t ack;
- uint16_t ctrl;
- uint16_t window;
- uint16_t chksum;
- uint16_t urgent;
-};
-
-extern int tcp_transaction ( unsigned long destip, unsigned int destsock,
- void *ptr,
- int (*send)(int len, void *buf, void *ptr),
- int (*recv)(int len, const void *buf, void *ptr));
-
-
-#endif /* _TCP_H */