search for: core_udp_disconnect

Displaying 6 results from an estimated 6 matches for "core_udp_disconnect".

2013 Jun 25
2
syslinux6 EFI fail to boot via pxe
...e found the problem. In /core/fs/pxe/tftp.c in function tftp_open: First you do a core_udp_connect to port 69 (TFTP) at line 264. -> source port = x After that you sent the filerequest at line 265 You receive the fileinfo and also the used port (y) for the transfer in line 273 Than you perform a core_udp_disconnect at line 286 Now you perform a new core_udp_connect to port y which set the source port to x + 1 at line 287 for example: Client | Server TFTP get file 2900 > 69 Response tsize 2900 < 7012 ACK blk 0 2901 > 7012 <-- wrong source port N...
2013 Jun 25
0
syslinux6 EFI fail to boot via pxe
...In /core/fs/pxe/tftp.c in function tftp_open: > First you do a core_udp_connect to port 69 (TFTP) at line 264. -> source port = x > After that you sent the filerequest at line 265 > You receive the fileinfo and also the used port (y) for the transfer in line 273 > Than you perform a core_udp_disconnect at line 286 > Now you perform a new core_udp_connect to port y which set the source port to x + 1 at line 287 > > for example: > Client | Server > TFTP get file 2900 > 69 > Response tsize 2900 < 7012 > ACK blk 0 2901 >...
2013 Jun 24
2
syslinux6 EFI fail to boot via pxe
Hello, I tried to boot the new syslinux.efi (32bit) from the released syslinux 6 via PXE. In a wireshark trace I can see that the syslinux.efi was loaded successfully via TFTP. Then the client try to load ldlinux.e32. I see the request and also the acknoledgement in the trace. After that the client try to load the file, but the source port is changed to tftp request port + 1. For example:
2015 Sep 10
3
[PATCH 0/1] efi: DNS resolver
From: Sylvain Gault <sylvain.gault at gmail.com> Despite having native network capabilities, UEFI 2.4 (the most widely deployed at the moment) has no native DNS resolver. I propose here an implementation more or less inspired by the one found in core/legacynet/dnsresolv.c. Since it's non-trivial, I'd like to ask for a deep review of this code. I tried to make it as strong as
2016 Feb 28
0
[PATCH 0/1] UEFI UDP/TFTP
...udp_io, L"core_udp_connect"); + if (EFI_ERROR (status)) + { + Print(L"Failed to configure UDP: %d\n", status); + return; + } + } + } /** * Tear down a connection on an open socket * - * @param:socket, the open socket + * @param:socket, the open socket */ void core_udp_disconnect(struct pxe_pvt_inode *socket) { - EFI_STATUS status; - EFI_UDP4 *udp; - - udp = (EFI_UDP4 *)socket->net.efi.binding->this; - - /* Reset */ - status = uefi_call_wrapper(udp->Configure, 2, udp, NULL); - if (status != EFI_SUCCESS) - Print(L"Failed to reset UDP: %d\n&quo...
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 --------------