Displaying 5 results from an estimated 5 matches for "cached_reply".
2015 Feb 20
0
[PATCH 0/1] EFI image booting capabilities
...Patrick Masotta <masottaus at yahoo.com>
<bigsnip/>
> --- a/efi/pxe.c 2014-10-06 10:27:44.000000000 -0600
> +++ b/efi/pxe.c 2015-02-18 19:39:43.118182728 -0700
> @@ -154,7 +154,12 @@ void net_parse_dhcp(void)
> * Get the boot file and other info. This lives in the CACHED_REPLY
> * packet (query info 3)
> */
> - parse_dhcp(&mode->PxeReply.Dhcpv4, pkt_len);
> +
> + if(&mode->ProxyOfferReceived)
> + parse_dhcp(&mode->ProxyOffer.Dhcpv4, pkt_len);
> + else
> + parse_dhcp(&mode->PxeReply.Dhcpv4, pk...
2015 Feb 20
6
[PATCH 0/1] EFI image booting capabilities
...a = &efi_vesa_ops,
.mem = &efi_mem_ops,
};
diff -uprN a/efi/pxe.c b/efi/pxe.c
--- a/efi/pxe.c 2014-10-06 10:27:44.000000000 -0600
+++ b/efi/pxe.c 2015-02-18 19:39:43.118182728 -0700
@@ -154,7 +154,12 @@ void net_parse_dhcp(void)
* Get the boot file and other info. This lives in the CACHED_REPLY
* packet (query info 3)
*/
- parse_dhcp(&mode->PxeReply.Dhcpv4, pkt_len);
+
+ if(&mode->ProxyOfferReceived)
+ parse_dhcp(&mode->ProxyOffer.Dhcpv4, pkt_len);
+ else
+ parse_dhcp(&mode->PxeReply.Dhcpv4, pkt_len);
+
Print(L"\n");...
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
2016 Mar 20
0
[PATCH 0/1] EFI image booting capabilities
...gt; };
Looks good. Glue.
> diff -uprN a/efi/pxe.c b/efi/pxe.c
> --- a/efi/pxe.c 2014-10-06 10:27:44.000000000 -0600
> +++ b/efi/pxe.c 2015-02-18 19:39:43.118182728 -0700
> @@ -154,7 +154,12 @@ void net_parse_dhcp(void)
> * Get the boot file and other info. This lives in the CACHED_REPLY
> * packet (query info 3)
> */
> - parse_dhcp(&mode->PxeReply.Dhcpv4, pkt_len);
> +
> + if(&mode->ProxyOfferReceived)
> + parse_dhcp(&mode->ProxyOffer.Dhcpv4, pkt_len);
> + else
> + parse_dhcp(&mode->PxeReply.Dhcp...
2015 Jun 03
5
[PATCH 0/1] EFI PXE DHCP/proxyDHCP issues fix
...cate
* we have found option 208 with the appropriate magic number;
* we no longer require that, but MAY want to re-introduce
* it in the future for vendor encapsulated options.
*/
*(char *)&DHCPMagic = 1;
/*
* Get the boot file and other info. This lives in the CACHED_REPLY
* packet (query info 3)
*/
if(mode->PxeReplyReceived)
pkt_v4 = &mode->PxeReply.Dhcpv4;
else
if(mode->ProxyOfferReceived)
{
//I decided to populate DhcpAck with all proxy ip addresses but
//any of the saved packets can be used....