[ipxe-devel] PXENV_UDP_WRITE

Michael Brown mbrown at fensystems.co.uk
Fri Mar 2 23:57:45 UTC 2012


On Wednesday 29 Feb 2012 18:30:39 Frediano Ziglio wrote:
> This patch implement handling ARP request sending UDP packets

I've implemented a more generic solution:

  http://git.ipxe.org/ipxe.git/commitdiff/d620606

This implements an ARP transmission queue, allowing packets to be transmitted 
as soon as ARP completes successfully.  This isn't limited to PXENV_UDP_WRITE; 
it will also apply to iPXE-internal UDP or TCP connections.

PXENV_UDP_WRITE should now return an error if the packet cannot be transmitted 
immediately (due to a missing ARP entry).  The packet will be queued, and will 
be transmitted as soon as the ARP response arrives.  (This assumes that the 
caller will be polling on PXENV_UDP_READ, as is usual for UDP-based PXE NBPs.)

Michael



More information about the ipxe-devel mailing list