diff options
| author | Michael Brown | 2006-03-23 17:45:01 +0100 |
|---|---|---|
| committer | Michael Brown | 2006-03-23 17:45:01 +0100 |
| commit | dde1c5ad18d1d8fb66cab52262f1ecc36df9fab2 (patch) | |
| tree | 151fb910c0df4d7b788c697039d8e21b0e0958b6 | |
| parent | Add Makefile for hijack and prototester utilities. (diff) | |
| download | ipxe-dde1c5ad18d1d8fb66cab52262f1ecc36df9fab2.tar.gz ipxe-dde1c5ad18d1d8fb66cab52262f1ecc36df9fab2.tar.xz ipxe-dde1c5ad18d1d8fb66cab52262f1ecc36df9fab2.zip | |
Moved include/in.h to include/gpxe/in.h, so that it can be included by
prototester.
| -rw-r--r-- | src/include/dns.h | 2 | ||||
| -rw-r--r-- | src/include/etherboot.h | 2 | ||||
| -rw-r--r-- | src/include/gpxe/in.h (renamed from src/include/in.h) | 0 | ||||
| -rw-r--r-- | src/include/igmp.h | 2 | ||||
| -rw-r--r-- | src/include/ip.h | 2 | ||||
| -rw-r--r-- | src/include/proto.h | 2 | ||||
| -rw-r--r-- | src/include/resolv.h | 2 | ||||
| -rw-r--r-- | src/include/tftp.h | 11 | ||||
| -rw-r--r-- | src/include/udp.h | 2 | ||||
| -rw-r--r-- | src/include/url.h | 2 | ||||
| -rw-r--r-- | src/proto/nfs.c | 2 |
11 files changed, 19 insertions, 10 deletions
diff --git a/src/include/dns.h b/src/include/dns.h index 33ee73fe5..c72c6909b 100644 --- a/src/include/dns.h +++ b/src/include/dns.h @@ -2,7 +2,7 @@ #define DNS_RESOLVER_H #include "stdint.h" -#include "in.h" +#include <gpxe/in.h> #include "ip.h" #include "udp.h" diff --git a/src/include/etherboot.h b/src/include/etherboot.h index b9546c043..d8fcc98c2 100644 --- a/src/include/etherboot.h +++ b/src/include/etherboot.h @@ -133,7 +133,7 @@ enum { #define RARP_REQUEST 3 #define RARP_REPLY 4 -#include "in.h" +#include <gpxe/in.h> /* Helper macros used to identify when DHCP options are valid/invalid in/outside of encapsulation */ diff --git a/src/include/in.h b/src/include/gpxe/in.h index 5ae66769f..5ae66769f 100644 --- a/src/include/in.h +++ b/src/include/gpxe/in.h diff --git a/src/include/igmp.h b/src/include/igmp.h index 48753eab5..8b3292f26 100644 --- a/src/include/igmp.h +++ b/src/include/igmp.h @@ -2,7 +2,7 @@ #define IGMP_H #include "stdint.h" -#include "in.h" +#include <gpxe/in.h> #define IGMP_QUERY 0x11 #define IGMPv1_REPORT 0x12 diff --git a/src/include/ip.h b/src/include/ip.h index 5c9b7271b..9da7f56a9 100644 --- a/src/include/ip.h +++ b/src/include/ip.h @@ -3,7 +3,7 @@ #include "stddef.h" #include "stdint.h" -#include "in.h" +#include <gpxe/in.h> struct iphdr { uint8_t verhdrlen; diff --git a/src/include/proto.h b/src/include/proto.h index fb4e4137c..886d76e37 100644 --- a/src/include/proto.h +++ b/src/include/proto.h @@ -3,7 +3,7 @@ #include "tables.h" #include "buffer.h" -#include "in.h" +#include <gpxe/in.h> struct protocol { char *name; diff --git a/src/include/resolv.h b/src/include/resolv.h index 1ca8a584a..1c74081e4 100644 --- a/src/include/resolv.h +++ b/src/include/resolv.h @@ -1,7 +1,7 @@ #ifndef RESOLV_H #define RESOLV_H -#include "in.h" +#include <gpxe/in.h> #include "tables.h" struct resolver { diff --git a/src/include/tftp.h b/src/include/tftp.h index 2a086eb2b..ae8f35192 100644 --- a/src/include/tftp.h +++ b/src/include/tftp.h @@ -3,7 +3,7 @@ /** @file */ -#include "in.h" +#include <gpxe/in.h> #include "buffer.h" #include "nic.h" #include "ip.h" @@ -139,6 +139,15 @@ struct tftp_state { * TFTP server. Note that the first data block is block 1; a * value of 0 indicates that no data blocks have yet been * received. + * + * For multicast TFTP protocols, where the blocks may not be + * received in strict order, the meaning of this field changes + * slightly, to "first missing block minus one". For example, + * suppose that we have received blocks 1, 2, 4 and 5; this + * field would then have the value 2, since the first missing + * block is block 3. If the blocks do arrive in strict order, + * this definition is exactly equivalent to "most recently + * received block". */ unsigned int block; }; diff --git a/src/include/udp.h b/src/include/udp.h index d06c5999c..7814c5f43 100644 --- a/src/include/udp.h +++ b/src/include/udp.h @@ -3,7 +3,7 @@ #include "stddef.h" #include "stdint.h" -#include "in.h" +#include <gpxe/in.h> #include "ip.h" struct udp_pseudo_hdr { diff --git a/src/include/url.h b/src/include/url.h index add34e397..f0207b99f 100644 --- a/src/include/url.h +++ b/src/include/url.h @@ -2,7 +2,7 @@ #define URL_H #include "proto.h" -#include "in.h" +#include <gpxe/in.h> extern int parse_url ( char *url, struct protocol **proto, struct sockaddr_in *server, char **filename ); diff --git a/src/proto/nfs.c b/src/proto/nfs.c index 311409a6b..828aa8717 100644 --- a/src/proto/nfs.c +++ b/src/proto/nfs.c @@ -1,7 +1,7 @@ #include "etherboot.h" #include "init.h" #include "proto.h" -#include "in.h" +#include <gpxe/in.h> #include "nic.h" /* NOTE: the NFS code is heavily inspired by the NetBSD netboot code (read: |
