Displaying 4 results from an estimated 4 matches for "parse_dotquad".
2010 Jul 20
3
fix byte ordering problem in TFTP/PXE fs access
Hello,
When trying out (g)pxelinux using TFTP URLs and the '<host>::<path>' syntax,
pxelinux seemed to "hang". Some printf debugging and tcpdump revealed that it
looped in the timeout after sending the TFTP RRQ. Further investigation
revealed, that if a plain IP address (e.g. "tftp://12.34.56.78/something") is
used, the byte order is not converted from host
2015 Sep 10
3
[PATCH 0/1] efi: DNS resolver
From: Sylvain Gault <sylvain.gault at gmail.com>
Despite having native network capabilities, UEFI 2.4 (the most widely deployed
at the moment) has no native DNS resolver. I propose here an implementation
more or less inspired by the one found in core/legacynet/dnsresolv.c.
Since it's non-trivial, I'd like to ask for a deep review of this code. I tried
to make it as strong as
2019 Apr 18
0
[PATCH] efi/pxe.c: Allow ipv4 host names
EFI devices should be allowed to use host names for remote servers.
Only adds ipv4 host name functionality for efi devices.
Reuses core/fs/pxe/dnsresolv.c parse_dotquad code to implement.
Signed-off-by: Lincoln Thurlow <lincoln at isi.edu>
---
efi/pxe.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/efi/pxe.c b/efi/pxe.c
index 5b552b39..366f30fd 100644
--- a/efi/pxe.c
+++ b/efi/pxe.c
@@ -35,8 +35,52...
2007 Jun 28
4
Support DHCP sname field in PXELINUX
...asm syslinux-3.36/pxelinux.asm
--- syslinux-3.36-dist/pxelinux.asm 2007-02-10 14:47:08.000000000 -0600
+++ syslinux-3.36/pxelinux.asm 2007-06-28 13:54:15.000000000 -0500
@@ -2056,6 +2056,12 @@
mov cx,64
call parse_dhcp_options
.nosnameoverload:
+ cmp byte [si], 0
+ jz .parsed_sname
+ call parse_dotquad
+ jc .parsed_sname
+ mov [ServerIP], eax
+.parsed_sname:
ret
;
--
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.