ソースを参照

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

prototester.
tags/v0.9.3
Michael Brown 18年前
コミット
dde1c5ad18
11個のファイルの変更19行の追加10行の削除
  1. 1
    1
      src/include/dns.h
  2. 1
    1
      src/include/etherboot.h
  3. 0
    0
      src/include/gpxe/in.h
  4. 1
    1
      src/include/igmp.h
  5. 1
    1
      src/include/ip.h
  6. 1
    1
      src/include/proto.h
  7. 1
    1
      src/include/resolv.h
  8. 10
    1
      src/include/tftp.h
  9. 1
    1
      src/include/udp.h
  10. 1
    1
      src/include/url.h
  11. 1
    1
      src/proto/nfs.c

+ 1
- 1
src/include/dns.h ファイルの表示

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

+ 1
- 1
src/include/etherboot.h ファイルの表示

@@ -133,7 +133,7 @@ enum {
133 133
 #define	RARP_REQUEST	3
134 134
 #define	RARP_REPLY	4
135 135
 
136
-#include	"in.h"
136
+#include <gpxe/in.h>
137 137
 
138 138
 
139 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 ファイルの表示


+ 1
- 1
src/include/igmp.h ファイルの表示

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

+ 1
- 1
src/include/ip.h ファイルの表示

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

+ 1
- 1
src/include/proto.h ファイルの表示

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

+ 1
- 1
src/include/resolv.h ファイルの表示

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

+ 10
- 1
src/include/tftp.h ファイルの表示

@@ -3,7 +3,7 @@
3 3
 
4 4
 /** @file */
5 5
 
6
-#include "in.h"
6
+#include <gpxe/in.h>
7 7
 #include "buffer.h"
8 8
 #include "nic.h"
9 9
 #include "ip.h"
@@ -139,6 +139,15 @@ struct tftp_state {
139 139
 	 * TFTP server.  Note that the first data block is block 1; a
140 140
 	 * value of 0 indicates that no data blocks have yet been
141 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 152
 	unsigned int block;
144 153
 };

+ 1
- 1
src/include/udp.h ファイルの表示

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

+ 1
- 1
src/include/url.h ファイルの表示

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

+ 1
- 1
src/proto/nfs.c ファイルの表示

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

読み込み中…
キャンセル
保存