aboutsummaryrefslogtreecommitdiffstats
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.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/gpxe/src/include/gpxe/arp.h b/gpxe/src/include/gpxe/arp.h
index 6464ce0c..0623d35c 100644
--- a/gpxe/src/include/gpxe/arp.h
+++ b/gpxe/src/include/gpxe/arp.h
@@ -7,6 +7,8 @@
*
*/
+FILE_LICENCE ( GPL2_OR_LATER );
+
#include <gpxe/tables.h>
struct net_device;
@@ -26,9 +28,12 @@ struct arp_net_protocol {
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 ( struct arp_net_protocol, arp_net_protocols, 01 )
+#define __arp_net_protocol __table_entry ( ARP_NET_PROTOCOLS, 01 )
extern struct net_protocol arp_protocol;