summaryrefslogtreecommitdiffstats
path: root/src/include/ip.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/ip.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/ip.h')
-rw-r--r--src/include/ip.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/include/ip.h b/src/include/ip.h
deleted file mode 100644
index 9da7f56a..00000000
--- a/src/include/ip.h
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef _IP_H
-#define _IP_H
-
-#include "stddef.h"
-#include "stdint.h"
-#include <gpxe/in.h>
-
-struct iphdr {
- uint8_t verhdrlen;
- uint8_t service;
- uint16_t len;
- uint16_t ident;
- uint16_t frags;
- uint8_t ttl;
- uint8_t protocol;
- uint16_t chksum;
- struct in_addr src;
- struct in_addr dest;
-} PACKED;
-
-extern uint16_t tcpudpchksum(struct iphdr *ip);
-
-#endif /* _IP_H */