[ipxe-devel] PXENV_UDP_WRITE

Michael Brown mbrown at fensystems.co.uk
Wed Feb 15 23:29:05 UTC 2012

On Wednesday 15 Feb 2012 16:34:40 Simon Rowe wrote:
> On Sunday 12 February 2012 13:38:43 Michael Brown wrote:
> > PXE will never block on PXENV_UDP_WRITE.  As you describe, an ARP request
> > will be sent instead of the UDP packet.  Since UDP is an unreliable
> > protocol,  the caller must be prepared to retransmit the UDP packet, at
> > which point hopefully the ARP response will have been received and the
> > UDP packet can be sent.
> Is returning AX=0 from PXENV_UDP_WRITE the correct action or should some
> indication be given to the caller that the UDP packet was discarded?

Probably the latter.  It looks as though the error gets hidden in 
udp_xfer_deliver().  Could you try the attached (untested) patch and see if it 
does what you expect?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: ipxe-udp.patch
Type: text/x-patch
Size: 607 bytes
Desc: not available
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20120215/23883af8/attachment.bin>

More information about the ipxe-devel mailing list