Simplify RX data path.
authorMichael Brown <mcb30@etherboot.org>
Sat, 17 Jun 2006 22:36:27 +0000 (22:36 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sat, 17 Jun 2006 22:36:27 +0000 (22:36 +0000)
commit3c8aafa2099c13799fdb4f42d06f1abd278b14f7
treedda612574bf0c128cc58ff4f7231b73f019f8e2b
parent8aeead7c1cd6f0166bb3f0ac9abaf8e490e33923
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.
12 files changed:
src/core/main.c
src/include/gpxe/arp.h
src/include/gpxe/ethernet.h
src/include/gpxe/ip.h
src/include/gpxe/netdevice.h
src/include/gpxe/pkbuff.h
src/net/aoe.c
src/net/arp.c
src/net/ethernet.c
src/net/ipv4.c
src/net/netdevice.c
src/net/tcp.c