[ipxe-devel] PXENV_UDP_WRITE

Michael Brown mbrown at fensystems.co.uk
Sun Feb 12 13:38:43 UTC 2012


On Thursday 19 Jan 2012 16:44:47 Frediano Ziglio wrote:
>   it's not clear what this function should do if sending ip address is
> not in the ARP cache. Currently the code should return error and
> transmit the ARP request. Is this the expected behaviour? Why there is a
> PXENV_STATUS_ARP_TIMEOUT status and when is supposed to get reported?

iPXE 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.

Michael



More information about the ipxe-devel mailing list