DragonFly-2.3.0.70.g0ea81 master lib/libstand tftp.c sys/boot/pc32/libi386 pxe.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Sun Feb 15 04:12:02 PST 2009
commit 0ea818e2fa5ffc5e34a0ecd11c4fc7189e46512b
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sun Feb 15 04:04:44 2009 -0800
pxe/tftpboot work - Allow multiple responses to broadcast query
The PXE boot loader may use a broadcast address to query for files via
TFTP, resulting in multiple responses. Accept the first DATA response
and keep track of the last ERROR response if no DATA response is received.
The first DATA packet locks the server IP for the tftp transfer.
Bring in some structure options (__packed, etc) from FreeBSD plus a fix
to an address increment in the code.
Summary of changes:
lib/libstand/tftp.c | 58 ++++++++++++++++++++++++++++++++----------
sys/boot/pc32/libi386/pxe.c | 6 +++-
2 files changed, 49 insertions(+), 15 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0ea818e2fa5ffc5e34a0ecd11c4fc7189e46512b
--
DragonFly BSD source repository
More information about the Commits
mailing list