Merge branch 'master' of ssh://rom.etherboot.org/pub/scm/gpxe

This commit is contained in:
Marty Connor
2007-07-02 15:36:19 -04:00
19 changed files with 294 additions and 211 deletions

View File

@@ -30,6 +30,8 @@ struct arp_net_protocol {
#define __arp_net_protocol \
__table ( struct arp_net_protocol, arp_net_protocols, 01 )
extern struct net_protocol arp_protocol;
extern int arp_resolve ( struct net_device *netdev,
struct net_protocol *net_protocol,
const void *dest_net_addr,

View File

@@ -27,6 +27,12 @@ struct device_description {
unsigned int vendor;
/** Device ID */
unsigned int device;
/** Device class */
unsigned long class;
/** I/O address */
unsigned long ioaddr;
/** IRQ */
unsigned int irq;
};
/** PCI bus type */

View File

@@ -122,6 +122,8 @@ struct ll_protocol {
uint16_t ll_proto;
/** Link-layer address length */
uint8_t ll_addr_len;
/** Link-layer header length */
uint8_t ll_header_len;
/** Link-layer broadcast address */
const uint8_t *ll_broadcast;
};

14
src/include/gpxe/rarp.h Normal file
View File

@@ -0,0 +1,14 @@
#ifndef _GPXE_RARP_H
#define _GPXE_RARP_H
/** @file
*
* Reverse Address Resolution Protocol
*
*/
struct net_protocol;
extern struct net_protocol rarp_protocol;
#endif /* _GPXE_RARP_H */

View File

@@ -137,4 +137,6 @@ struct pcir_header {
extern struct net_device *pxe_netdev;
extern void pxe_set_netdev ( struct net_device *netdev );
#endif /* PXE_H */