Displaying 3 results from an estimated 3 matches for "efi_udp4_completion_token".
2016 Feb 28
0
[PATCH 0/1] UEFI UDP/TFTP
...uint32_t* src_ip;
+ uint16_t* src_port;
+}RX;
+
+///
+/// Type defined as UDP_IO.
+/// This data structure wraps the UDP instance and configuration.
+///
+typedef struct {
+ uint16_t known_TID;
+ struct efi_binding* b;
+ EFI_UDP4* Protocol_Udp4;
+ EFI_UDP4_CONFIG_DATA Config_Udp4;
+ EFI_UDP4_COMPLETION_TOKEN* Token;
+ EFI_EVENT Timeout_Timer;
+ EFI_EVENT CB_OK_Event;
+ RX rx;
+}UDP_IO;
+
+
+#define EFI_IP4_EQUAL(Ip1, Ip2) (CompareMem ((Ip1), (Ip2), sizeof (EFI_IPv4_ADDRESS)) == 0)
+EFI_IPv4_ADDRESS mZeroIp4Addr = {{0, 0, 0, 0}};
+static BOOLEAN volatile UseDefaultSetting = TRUE;
+
extern EFI...
2016 Feb 24
6
[PATCH 2/5] ntfs: remove unused variable and have ntfssect use char API calls
The variable 'ok' is never used and generates a warning. Remove it. Also
ntfssect.c is designed to be compiled in non Unicode mode when using
MSVC compilers, so remove all ambiguity about it (LPCTSTR -> LPCSTR, use
of 'A' API calls) so that it doesn't break when compiled in Unicode
mode, which is what Rufus uses with MSVC.
-------------- next part --------------
2015 Jun 03
5
[PATCH 0/1] EFI PXE DHCP/proxyDHCP issues fix
...re(udp, &udata, L"core_udp_connect");
if (status != EFI_SUCCESS) {
Print(L"Failed to configure UDP: %d\n", status);
return;
}
}
?
void core_udp_sendto(struct pxe_pvt_inode *socket, const void *data,
size_t len, uint32_t ip, uint16_t port)
{
EFI_UDP4_COMPLETION_TOKEN *token;
EFI_UDP4_TRANSMIT_DATA *txdata;
EFI_UDP4_FRAGMENT_DATA *frag;
EFI_UDP4_CONFIG_DATA udata;
EFI_STATUS status;
struct efi_binding *b;
EFI_UDP4 *udp;
(void)socket;
b = efi_create_binding(&Udp4ServiceBindingProtocol, &Udp4Protocol);
if (!b)
retu...