search for: hardlen

Displaying 7 results from an estimated 7 matches for "hardlen".

Did you mean: harden
2015 Mar 14
0
[PATCH 0/1] EFI access from Com32 modules
This patch adds to Com32 modules the capabilities of accessing the EFI environment The idea is simple, the EFI parameters "image" and "table" received by syslinux.efi's efi_main() are stored in the "firmware" structure, next they are retrieved from the Com32 module which is linked against the gnu-efi static library. The Com32 module can use the EFI
2012 Oct 03
1
[PATCH] pxedump.c32: Simple PXE cached packet dumping
...+ struct ipaddr_str sip; + struct ipaddr_str gip; + + pkt = cached_pkt->buffer; + mk_ipaddr(&cip, pkt->cip), + mk_ipaddr(&yip, pkt->yip), + mk_ipaddr(&sip, pkt->sip), + mk_ipaddr(&gip, pkt->gip), + printf( + "opcode: %u Hardware: %u Hardlen: %u Gatehops: %u ident: %08x\n" + "seconds: %u Flags: %u cip: %s yip: %s\n" + "sip: %s gip: %s\n" + "Sname: %.64s\n" + "bootfile: %.128s\n", + pkt->opcode, + pkt->Hardware, + pkt->Hardlen, +...
2015 Jun 03
5
[PATCH 0/1] EFI PXE DHCP/proxyDHCP issues fix
..., }; ? void net_parse_dhcp(void) { EFI_PXE_BASE_CODE_MODE *mode; EFI_PXE_BASE_CODE *bc; EFI_PXE_BASE_CODE_DHCPV4_PACKET* pkt_v4; unsigned int pkt_len = sizeof(EFI_PXE_BASE_CODE_PACKET); EFI_STATUS status; EFI_HANDLE *handles = NULL; UINTN nr_handles = 0; uint8_t hardlen; uint32_t ip; char dst[256]; status = LibLocateHandle(ByProtocol, &PxeBaseCodeProtocol, NULL, &nr_handles, &handles); if (status != EFI_SUCCESS) return; /* Probably want to use IPv4 protocol to decide which handle to use */ status = uefi_call_w...
2015 Feb 20
6
[PATCH 0/1] EFI image booting capabilities
This patch adds to the core EFI image booting capabilities. It was tested on VMware EFI clients and HP Elitebook EFI notebooks, only on PXE environments but it should work on non-PXE scenarios as well. Feedback appreciated. Best, Patrick Signed-off-by: Patrick Masotta <masottaus at yahoo.com> --- diff -uprN a/com32/elflink/ldlinux/execute.c b/com32/elflink/ldlinux/execute.c ---
2017 Jun 09
2
[PATCH 1/3] The VPrint definition is now part of the exports of gnu-efi
Signed-off-by: Beno?t Allard <benoit.allard at greenbone.net> --- efi/fio.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/efi/fio.h b/efi/fio.h index 65fff8d..a1bfe68 100644 --- a/efi/fio.h +++ b/efi/fio.h @@ -11,15 +11,6 @@ #define MAX_EFI_ARGS 64 #define WS(c16) (c16 == L' ' || c16 == CHAR_TAB) -/* VPrint is not in export declarations in gnu-efi lib yet
2015 Aug 26
4
[PATCH 0/3] efi: A few warning fixes
From: Sylvain Gault <sylvain.gault at gmail.com> I don't know if I should merge those trivial warning fix into one commit. I can reformat it as requested. Those are a few warning fixes for the efi part. The code involved has mainly been introduced in recent commits. Sylvain Gault (3): efi: fix warnings about argument types efi: fix pointer-type mismatch assigment warning efi: fix
2015 Aug 13
3
[syslinux:master] efi/pxe: Reuse handle
.../efi/pxe.c > +++ b/efi/pxe.c > @@ -93,20 +93,13 @@ void net_parse_dhcp(void) > EFI_PXE_BASE_CODE *bc; > unsigned int pkt_len = sizeof(EFI_PXE_BASE_CODE_PACKET); > EFI_STATUS status; > - EFI_HANDLE *handles = NULL; > - UINTN nr_handles = 0; > uint8_t hardlen; > uint32_t ip; > char dst[256]; > + UINTN i = 0; > > - status = LibLocateHandle(ByProtocol, &PxeBaseCodeProtocol, > - NULL, &nr_handles, &handles); > - if (status != EFI_SUCCESS) > - return; > - > - /* Pro...