[undi] Fill in ProtType correctly in PXENV_UNDI_ISR
authorMichael Brown <mcb30@etherboot.org>
Wed, 20 Aug 2008 02:21:37 +0000 (03:21 +0100)
committerMichael Brown <mcb30@etherboot.org>
Wed, 20 Aug 2008 02:21:37 +0000 (03:21 +0100)
commit30fb3b3810409a4971adf9abf00e0842f88d87d8
tree19e986606936b2e6f1eed89b066cb2791f77c9b5
parentf6f6f626f7f63269c92932e7701392d619c44312
[undi] Fill in ProtType correctly in PXENV_UNDI_ISR

Determine the network-layer packet type and fill it in for UNDI
clients.  This is required by some NBPs such as emBoot's winBoot/i.

This change requires refactoring the link-layer portions of the
gPXE netdevice API, so that it becomes possible to strip the
link-layer header without passing the packet up the network stack.
src/drivers/net/ipoib.c
src/include/gpxe/netdevice.h
src/interface/pxe/pxe_undi.c
src/net/ethernet.c
src/net/netdevice.c