Skip to content

Commit

Permalink
Moved include/in.h to include/gpxe/in.h, so that it can be included by
Browse files Browse the repository at this point in the history
prototester.
  • Loading branch information
Michael Brown committed Mar 23, 2006
1 parent eaf4088 commit dde1c5a
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/include/dns.h
Expand Up @@ -2,7 +2,7 @@
#define DNS_RESOLVER_H

#include "stdint.h"
#include "in.h"
#include <gpxe/in.h>
#include "ip.h"
#include "udp.h"

Expand Down
2 changes: 1 addition & 1 deletion src/include/etherboot.h
Expand Up @@ -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 */
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/include/igmp.h
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/include/ip.h
Expand Up @@ -3,7 +3,7 @@

#include "stddef.h"
#include "stdint.h"
#include "in.h"
#include <gpxe/in.h>

struct iphdr {
uint8_t verhdrlen;
Expand Down
2 changes: 1 addition & 1 deletion src/include/proto.h
Expand Up @@ -3,7 +3,7 @@

#include "tables.h"
#include "buffer.h"
#include "in.h"
#include <gpxe/in.h>

struct protocol {
char *name;
Expand Down
2 changes: 1 addition & 1 deletion 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 {
Expand Down
11 changes: 10 additions & 1 deletion src/include/tftp.h
Expand Up @@ -3,7 +3,7 @@

/** @file */

#include "in.h"
#include <gpxe/in.h>
#include "buffer.h"
#include "nic.h"
#include "ip.h"
Expand Down Expand Up @@ -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;
};
Expand Down
2 changes: 1 addition & 1 deletion src/include/udp.h
Expand Up @@ -3,7 +3,7 @@

#include "stddef.h"
#include "stdint.h"
#include "in.h"
#include <gpxe/in.h>
#include "ip.h"

struct udp_pseudo_hdr {
Expand Down
2 changes: 1 addition & 1 deletion src/include/url.h
Expand Up @@ -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 );
Expand Down
2 changes: 1 addition & 1 deletion 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:
Expand Down

0 comments on commit dde1c5a

Please sign in to comment.