Displaying 3 results from an estimated 3 matches for "fragmentbuff".
Did you mean:
fragmentbuffer
2017 Nov 21
2
[PATCH] EFI TCP buffer reuse bug
...ken));
@@ -223,10 +220,10 @@ void core_tcp_fill_buffer(struct inode *
iotoken.Packet.RxData = &rxdata;
rxdata.FragmentCount = 1;
- rxdata.DataLength = sizeof(databuf);
+ rxdata.DataLength = sizeof(socket->tcp_databuf);
frag = &rxdata.FragmentTable[0];
- frag->FragmentBuffer = databuf;
- frag->FragmentLength = sizeof(databuf);
+ frag->FragmentBuffer = socket->tcp_databuf;
+ frag->FragmentLength = sizeof(socket->tcp_databuf);
status = uefi_call_wrapper(tcp->Receive, 2, tcp, &iotoken);
if (status == EFI_CONNECTION_FIN) {
@@ -2...
2016 Feb 28
0
[PATCH 0/1] UEFI UDP/TFTP
.../
- cb_status = -1;
-
- if (rv)
- goto bail;
-
- rxdata = token.Packet.RxData;
- frag = &rxdata->FragmentTable[0];
+ token = zalloc(sizeof(EFI_UDP4_COMPLETION_TOKEN));
+ if (!token)
+ goto bail;
- size = min(frag->FragmentLength, *buf_len);
- memcpy(buf, frag->FragmentBuffer, size);
- *buf_len = size;
+ txdata = zalloc(sizeof(EFI_UDP4_TRANSMIT_DATA));
+ if (!txdata)
+ goto bail;
- memcpy(src_port, &rxdata->UdpSession.SourcePort, sizeof(*src_port));
- memcpy(src_ip, &rxdata->UdpSession.SourceAddress, sizeof(*src_ip));
+ status = 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 --------------