summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMarty Connor2007-07-02 21:36:19 +0200
committerMarty Connor2007-07-02 21:36:19 +0200
commit0297a63877f7d45fab0f67786866096a1e3f87f4 (patch)
tree65bae097355bb80074d6515bb898a818f93331b4 /src/include
parentWarnings purge (diff)
parentAdd untested support for UNDI transmit and receive. (diff)
downloadipxe-0297a63877f7d45fab0f67786866096a1e3f87f4.tar.gz
ipxe-0297a63877f7d45fab0f67786866096a1e3f87f4.tar.xz
ipxe-0297a63877f7d45fab0f67786866096a1e3f87f4.zip
Merge branch 'master' of ssh://rom.etherboot.org/pub/scm/gpxe
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/arp.h2
-rw-r--r--src/include/gpxe/device.h6
-rw-r--r--src/include/gpxe/netdevice.h2
-rw-r--r--src/include/gpxe/rarp.h14
-rw-r--r--src/include/pxe.h2
5 files changed, 26 insertions, 0 deletions
diff --git a/src/include/gpxe/arp.h b/src/include/gpxe/arp.h
index 1c702b00a..6464ce0c5 100644
--- a/src/include/gpxe/arp.h
+++ b/src/include/gpxe/arp.h
@@ -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,
diff --git a/src/include/gpxe/device.h b/src/include/gpxe/device.h
index f88a2da5a..caabdae56 100644
--- a/src/include/gpxe/device.h
+++ b/src/include/gpxe/device.h
@@ -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 */
diff --git a/src/include/gpxe/netdevice.h b/src/include/gpxe/netdevice.h
index 9800ef569..0060e7d5c 100644
--- a/src/include/gpxe/netdevice.h
+++ b/src/include/gpxe/netdevice.h
@@ -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;
};
diff --git a/src/include/gpxe/rarp.h b/src/include/gpxe/rarp.h
new file mode 100644
index 000000000..81e03bde2
--- /dev/null
+++ b/src/include/gpxe/rarp.h
@@ -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 */
diff --git a/src/include/pxe.h b/src/include/pxe.h
index aba774efd..301bb10b8 100644
--- a/src/include/pxe.h
+++ b/src/include/pxe.h
@@ -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 */