diff options
author | Michael Brown | 2005-05-01 12:40:12 +0200 |
---|---|---|
committer | Michael Brown | 2005-05-01 12:40:12 +0200 |
commit | 89f4fe4a8a85ffe2707f010dfe5daa6389ff3017 (patch) | |
tree | e42242977a07705e1153e57d418851623cd2efee /src/include/ip.h | |
parent | Always request DNS server. DHCP handling will be generalised in future. (diff) | |
download | ipxe-89f4fe4a8a85ffe2707f010dfe5daa6389ff3017.tar.gz ipxe-89f4fe4a8a85ffe2707f010dfe5daa6389ff3017.tar.xz ipxe-89f4fe4a8a85ffe2707f010dfe5daa6389ff3017.zip |
Do not include etherboot.h
Diffstat (limited to 'src/include/ip.h')
-rw-r--r-- | src/include/ip.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/ip.h b/src/include/ip.h index 0f8fad6a..85c299ba 100644 --- a/src/include/ip.h +++ b/src/include/ip.h @@ -1,6 +1,10 @@ #ifndef _IP_H #define _IP_H +#include "stddef.h" +#include "stdint.h" +#include "in.h" + struct iphdr { uint8_t verhdrlen; uint8_t service; @@ -10,8 +14,8 @@ struct iphdr { uint8_t ttl; uint8_t protocol; uint16_t chksum; - in_addr src; - in_addr dest; + struct in_addr src; + struct in_addr dest; } PACKED; #endif /* _IP_H */ |