search for: lm_hostname

Displaying 3 results from an estimated 3 matches for "lm_hostname".

Did you mean: __hostname
2012 Jun 26
2
[GIT PULL] elflink bug fixes
...uint32_t pxe_dns_resolv(const char *name) +/* Returns the status code from PXE (0 on success), + or -1 on invocation failure */ +uint32_t pxe_dns(const char *hostname) { - return dns_resolv(name); -} + com32sys_t regs; + union { + unsigned char b[4]; + uint32_t ip; + } q; + char *lm_hostname; + + /* Is this a dot-quad? */ + if (sscanf(hostname, "%hhu.%hhu.%hhu.%hhu", + &q.b[0], &q.b[1], &q.b[2], &q.b[3]) == 4) + return q.ip; + + lm_hostname = lstrdup(hostname); + if (!lm_hostname) + return 0; + + memset(&regs, 0, sizeof regs); + re...
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
From: Matt Fleming <matt.fleming at intel.com> Since we can't use __intcall() for EFI, and since we can now have the ELF module code resolve all our symbols at runtime, we should delete as many references to __intcall() as possible and just access the symbols directly. The most interesting patch is the support for weak symbols. We need to be able to reference derivative-specific
2012 Aug 14
1
[GIT PULL] elflink fixes
...xe_dns.c index 6620396..b813b54 100644 --- a/com32/lib/syslinux/pxe_dns.c +++ b/com32/lib/syslinux/pxe_dns.c @@ -43,12 +43,12 @@ or -1 on invocation failure */ uint32_t pxe_dns(const char *hostname) { - com32sys_t regs; union { unsigned char b[4]; uint32_t ip; } q; char *lm_hostname; + uint32_t status; /* Is this a dot-quad? */ if (sscanf(hostname, "%hhu.%hhu.%hhu.%hhu", @@ -59,17 +59,9 @@ uint32_t pxe_dns(const char *hostname) if (!lm_hostname) return 0; - memset(&regs, 0, sizeof regs); - regs.eax.w[0] = 0x0010; - regs.es = SEG(l...