diff options
author | Michael Brown | 2006-06-18 00:36:27 +0200 |
---|---|---|
committer | Michael Brown | 2006-06-18 00:36:27 +0200 |
commit | 3c8aafa2099c13799fdb4f42d06f1abd278b14f7 (patch) | |
tree | dda612574bf0c128cc58ff4f7231b73f019f8e2b /src/include/gpxe/ip.h | |
parent | Remove dependency on arptable[] (which is no longer used). (diff) | |
download | ipxe-3c8aafa2099c13799fdb4f42d06f1abd278b14f7.tar.gz ipxe-3c8aafa2099c13799fdb4f42d06f1abd278b14f7.tar.xz ipxe-3c8aafa2099c13799fdb4f42d06f1abd278b14f7.zip |
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.
Diffstat (limited to 'src/include/gpxe/ip.h')
-rw-r--r-- | src/include/gpxe/ip.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 <ip.h> + 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 */ |