summaryrefslogtreecommitdiff
path: root/gpxe/src/include/gpxe/arp.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/include/gpxe/arp.h')
-rw-r--r--gpxe/src/include/gpxe/arp.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/gpxe/src/include/gpxe/arp.h b/gpxe/src/include/gpxe/arp.h
deleted file mode 100644
index 0623d35c..00000000
--- a/gpxe/src/include/gpxe/arp.h
+++ /dev/null
@@ -1,46 +0,0 @@
-#ifndef _GPXE_ARP_H
-#define _GPXE_ARP_H
-
-/** @file
- *
- * Address Resolution Protocol
- *
- */
-
-FILE_LICENCE ( GPL2_OR_LATER );
-
-#include <gpxe/tables.h>
-
-struct net_device;
-struct net_protocol;
-
-/** A network-layer protocol that relies upon ARP */
-struct arp_net_protocol {
- /** Network-layer protocol */
- struct net_protocol *net_protocol;
- /** Check existence of address
- *
- * @v netdev Network device
- * @v net_addr Network-layer address
- * @ret rc Return status code
- */
- int ( * check ) ( struct net_device *netdev,
- const void *net_addr );
-};
-
-/** ARP protocol table */
-#define ARP_NET_PROTOCOLS \
- __table ( struct arp_net_protocol, "arp_net_protocols" )
-
-/** Declare an ARP protocol */
-#define __arp_net_protocol __table_entry ( 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,
- const void *source_net_addr,
- void *dest_ll_addr );
-
-#endif /* _GPXE_ARP_H */