commit | 95bc563f0cdfb380b49b99d0e03f49d3739d3802 | [log] [tgz] |
---|---|---|
author | Michael Brown <mcb30@ipxe.org> | Fri Feb 06 14:13:26 2015 +0000 |
committer | Michael Brown <mcb30@ipxe.org> | Fri Feb 06 14:16:31 2015 +0000 |
tree | 9cb73907cd2ed9408ed7b03bde0de3a4f94235cc | |
parent | c9dbe1d39caa6a8b2eda84e7f3e7e83bd9bbe4a5 [diff] |
[pxe] Maintain a queue for received PXE UDP packets Some devices return multiple packets in a single poll. Handle such devices gracefully by enqueueing received PXE UDP packets (along with a pseudo-header to hold the IPv4 addresses and port numbers) and dequeueing them on subsequent calls to PXENV_UDP_READ. Signed-off-by: Michael Brown <mcb30@ipxe.org>