From 3c8aafa2099c13799fdb4f42d06f1abd278b14f7 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 17 Jun 2006 22:36:27 +0000 Subject: Simplify RX data path. Kill off the static single net device and move to proper dynamic registration (which we need with the new device model). Break the (flawed) assumption that all network-layer protocols can use ARP; such network-layer protocols (i.e. IPv4) must now register as an ARP protocol using ARP_NET_PROTOCOL() and provide a single method for checking the existence of a local network-layer address. --- src/include/gpxe/ip.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/include/gpxe/ip.h') diff --git a/src/include/gpxe/ip.h b/src/include/gpxe/ip.h index 8eac31a6..7cd2fcff 100644 --- a/src/include/gpxe/ip.h +++ b/src/include/gpxe/ip.h @@ -7,6 +7,8 @@ * */ +#include + struct net_protocol; extern struct net_protocol ipv4_protocol; @@ -15,6 +17,6 @@ extern int add_ipv4_address ( struct net_device *netdev, struct in_addr address, struct in_addr netmask, struct in_addr gateway ); extern void del_ipv4_address ( struct net_device *netdev ); -extern int ipv4_uip_transmit ( struct pk_buff *pkb ); +extern int ipv4_uip_tx ( struct pk_buff *pkb ); #endif /* _GPXE_IP_H */ -- cgit v1.2.3-55-g7522