search for: 5b552b39

Displaying 1 result from an estimated 1 matches for "5b552b39".

2019 Apr 18
0
[PATCH] efi/pxe.c: Allow ipv4 host names
...nctionality 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 @@ int reset_pxe(void) #define DNS_MAX_SERVERS 4 /* Max no of DNS servers */ uint32_t dns_server[DNS_MAX_SERVERS] = {0, }; + +/* + * parse the ip_str and return the ip address with *res. + * return true if the whole string...