summaryrefslogtreecommitdiffstats
path: root/src/include/udp.h
diff options
context:
space:
mode:
authorMichael Brown2008-03-23 23:05:29 +0100
committerMichael Brown2008-03-23 23:05:47 +0100
commit2af6c8d130b6ada61f98fc02c7911aad51768ea3 (patch)
tree83a2d61d5067e2d06745365abbe144baf8b3e2ab /src/include/udp.h
parent[DHCP] Fix up fake-packet creation as used by PXENV_GET_CACHED_INFO (diff)
downloadipxe-2af6c8d130b6ada61f98fc02c7911aad51768ea3.tar.gz
ipxe-2af6c8d130b6ada61f98fc02c7911aad51768ea3.tar.xz
ipxe-2af6c8d130b6ada61f98fc02c7911aad51768ea3.zip
[IPv4] Tidy up some header files.
Diffstat (limited to 'src/include/udp.h')
-rw-r--r--src/include/udp.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/include/udp.h b/src/include/udp.h
deleted file mode 100644
index 7814c5f43..000000000
--- a/src/include/udp.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef _UDP_H
-#define _UDP_H
-
-#include "stddef.h"
-#include "stdint.h"
-#include <gpxe/in.h>
-#include "ip.h"
-
-struct udp_pseudo_hdr {
- struct in_addr src;
- struct in_addr dest;
- uint8_t unused;
- uint8_t protocol;
- uint16_t len;
-} PACKED;
-struct udphdr {
- uint16_t src;
- uint16_t dest;
- uint16_t len;
- uint16_t chksum;
- struct {} payload;
-} PACKED;
-struct udppacket {
- struct iphdr ip;
- struct udphdr udp;
- struct {} payload;
-} PACKED;
-
-#endif /* _UDP_H */