summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2007-07-02 21:05:58 +0200
committerMichael Brown2007-07-02 21:05:58 +0200
commit332614a382c5e435e61509d130872e143670df56 (patch)
tree416f2a207e7b4e6b223296d257fe254d8c2fcb73 /src/include
parentUse a common base-memory packet buffer for DHCP construction (as used (diff)
downloadipxe-332614a382c5e435e61509d130872e143670df56.tar.gz
ipxe-332614a382c5e435e61509d130872e143670df56.tar.xz
ipxe-332614a382c5e435e61509d130872e143670df56.zip
Add untested support for UNDI transmit and receive.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/arp.h2
-rw-r--r--src/include/gpxe/netdevice.h2
-rw-r--r--src/include/gpxe/rarp.h14
3 files changed, 18 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/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 */