david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

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

prototester.
This commit is contained in:
Michael Brown 2006-03-23 16:45:01 +00:00
parent eaf40883ff
commit dde1c5ad18
11 changed files with 19 additions and 10 deletions

View File

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

View File

@ -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 */

View File

@ -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

View File

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

View File

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

View File

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

View File

@ -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;
};

View File

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

View File

@ -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 );

View File

@ -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: