Browse Source

Moved include/in.h to include/gpxe/in.h, so that it can be included by

prototester.
tags/v0.9.3
Michael Brown 18 years ago
parent
commit
dde1c5ad18

+ 1
- 1
src/include/dns.h View File

2
 #define DNS_RESOLVER_H
2
 #define DNS_RESOLVER_H
3
 
3
 
4
 #include "stdint.h"
4
 #include "stdint.h"
5
-#include "in.h"
5
+#include <gpxe/in.h>
6
 #include "ip.h"
6
 #include "ip.h"
7
 #include "udp.h"
7
 #include "udp.h"
8
 
8
 

+ 1
- 1
src/include/etherboot.h View File

133
 #define	RARP_REQUEST	3
133
 #define	RARP_REQUEST	3
134
 #define	RARP_REPLY	4
134
 #define	RARP_REPLY	4
135
 
135
 
136
-#include	"in.h"
136
+#include <gpxe/in.h>
137
 
137
 
138
 
138
 
139
 /* Helper macros used to identify when DHCP options are valid/invalid in/outside of encapsulation */
139
 /* Helper macros used to identify when DHCP options are valid/invalid in/outside of encapsulation */

src/include/in.h → src/include/gpxe/in.h View File


+ 1
- 1
src/include/igmp.h View File

2
 #define	IGMP_H
2
 #define	IGMP_H
3
 
3
 
4
 #include "stdint.h"
4
 #include "stdint.h"
5
-#include "in.h"
5
+#include <gpxe/in.h>
6
 
6
 
7
 #define IGMP_QUERY	0x11
7
 #define IGMP_QUERY	0x11
8
 #define IGMPv1_REPORT	0x12
8
 #define IGMPv1_REPORT	0x12

+ 1
- 1
src/include/ip.h View File

3
 
3
 
4
 #include "stddef.h"
4
 #include "stddef.h"
5
 #include "stdint.h"
5
 #include "stdint.h"
6
-#include "in.h"
6
+#include <gpxe/in.h>
7
 
7
 
8
 struct iphdr {
8
 struct iphdr {
9
 	uint8_t  verhdrlen;
9
 	uint8_t  verhdrlen;

+ 1
- 1
src/include/proto.h View File

3
 
3
 
4
 #include "tables.h"
4
 #include "tables.h"
5
 #include "buffer.h"
5
 #include "buffer.h"
6
-#include "in.h"
6
+#include <gpxe/in.h>
7
 
7
 
8
 struct protocol {
8
 struct protocol {
9
 	char *name;
9
 	char *name;

+ 1
- 1
src/include/resolv.h View File

1
 #ifndef RESOLV_H
1
 #ifndef RESOLV_H
2
 #define RESOLV_H
2
 #define RESOLV_H
3
 
3
 
4
-#include "in.h"
4
+#include <gpxe/in.h>
5
 #include "tables.h"
5
 #include "tables.h"
6
 
6
 
7
 struct resolver {
7
 struct resolver {

+ 10
- 1
src/include/tftp.h View File

3
 
3
 
4
 /** @file */
4
 /** @file */
5
 
5
 
6
-#include "in.h"
6
+#include <gpxe/in.h>
7
 #include "buffer.h"
7
 #include "buffer.h"
8
 #include "nic.h"
8
 #include "nic.h"
9
 #include "ip.h"
9
 #include "ip.h"
139
 	 * TFTP server.  Note that the first data block is block 1; a
139
 	 * TFTP server.  Note that the first data block is block 1; a
140
 	 * value of 0 indicates that no data blocks have yet been
140
 	 * value of 0 indicates that no data blocks have yet been
141
 	 * received.
141
 	 * received.
142
+	 *
143
+	 * For multicast TFTP protocols, where the blocks may not be
144
+	 * received in strict order, the meaning of this field changes
145
+	 * slightly, to "first missing block minus one".  For example,
146
+	 * suppose that we have received blocks 1, 2, 4 and 5; this
147
+	 * field would then have the value 2, since the first missing
148
+	 * block is block 3.  If the blocks do arrive in strict order,
149
+	 * this definition is exactly equivalent to "most recently
150
+	 * received block".
142
 	 */
151
 	 */
143
 	unsigned int block;
152
 	unsigned int block;
144
 };
153
 };

+ 1
- 1
src/include/udp.h View File

3
 
3
 
4
 #include "stddef.h"
4
 #include "stddef.h"
5
 #include "stdint.h"
5
 #include "stdint.h"
6
-#include "in.h"
6
+#include <gpxe/in.h>
7
 #include "ip.h"
7
 #include "ip.h"
8
 
8
 
9
 struct udp_pseudo_hdr {
9
 struct udp_pseudo_hdr {

+ 1
- 1
src/include/url.h View File

2
 #define URL_H
2
 #define URL_H
3
 
3
 
4
 #include "proto.h"
4
 #include "proto.h"
5
-#include "in.h"
5
+#include <gpxe/in.h>
6
 
6
 
7
 extern int parse_url ( char *url, struct protocol **proto,
7
 extern int parse_url ( char *url, struct protocol **proto,
8
 		       struct sockaddr_in *server, char **filename );
8
 		       struct sockaddr_in *server, char **filename );

+ 1
- 1
src/proto/nfs.c View File

1
 #include "etherboot.h"
1
 #include "etherboot.h"
2
 #include "init.h"
2
 #include "init.h"
3
 #include "proto.h"
3
 #include "proto.h"
4
-#include "in.h"
4
+#include <gpxe/in.h>
5
 #include "nic.h"
5
 #include "nic.h"
6
 
6
 
7
 /* NOTE: the NFS code is heavily inspired by the NetBSD netboot code (read:
7
 /* NOTE: the NFS code is heavily inspired by the NetBSD netboot code (read:

Loading…
Cancel
Save