search for: udp_reader

Displaying 16 results from an estimated 16 matches for "udp_reader".

2017 May 31
0
[PATCH 3/4] Removing the udp_reader efi_binding
This extra socket cause the EFI udp stack to duplicate every packet to be able to provide them to both udp_reader and socket->net.efi.binding. The ones in socket->net.efi.binding were never read so they accumulated in the stack on EFI side making the stack slower and slower. Slow enough to not be able to download a kernel+initramfs before the EFI timeout (5 minutes). Signed-off-by: Julien Viard de Galbe...
2017 May 31
3
[PATCH 3/4] Removing the udp_reader efi_binding
On Wed, May 31, 2017 at 3:56 AM, Julien Viard de Galbert via Syslinux <syslinux at zytor.com> wrote: > This extra socket cause the EFI udp stack to duplicate every packet > to be able to provide them to both udp_reader and socket->net.efi.binding. > The ones in socket->net.efi.binding were never read so they accumulated in > the stack on EFI side making the stack slower and slower. > Slow enough to not be able to download a kernel+initramfs before the EFI > timeout (5 minutes). > > Signed-...
2017 May 31
6
[PATCH 1/4] efi/udp: core_udp_connect should use SubnetMask not StationAddress for netmask
Signed-off-by: Julien Viard de Galbert <jviarddegalbert at online.net> --- efi/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/efi/udp.c b/efi/udp.c index 1088f47..b0f13ad 100644 --- a/efi/udp.c +++ b/efi/udp.c @@ -163,7 +163,7 @@ void core_udp_connect(struct pxe_pvt_inode *socket, uint32_t ip, } else { udata.UseDefaultAddress = FALSE;
2017 May 31
2
[PATCH 3/4] Removing the udp_reader efi_binding
On Wed, May 31, 2017 at 10:06 AM, Matt Fleming <matt at codeblueprint.co.uk> wrote: > On Wed, 31 May, at 07:45:00AM, Gene Cumm wrote: >> > extern EFI_GUID Udp4ServiceBindingProtocol, Udp4Protocol; >> > >> > -/* >> > - * This UDP binding is configured to operate in promiscuous mode. It is >> > - * only used for reading packets. It has no
2017 May 31
0
[PATCH 3/4] Removing the udp_reader efi_binding
On Wed, 31 May, at 07:45:00AM, Gene Cumm wrote: > > extern EFI_GUID Udp4ServiceBindingProtocol, Udp4Protocol; > > > > -/* > > - * This UDP binding is configured to operate in promiscuous mode. It is > > - * only used for reading packets. It has no associated state unlike > > - * socket->net.efi.binding, which has a remote IP address and port > > - *
2016 Feb 28
0
[PATCH 0/1] UEFI UDP/TFTP
...erviceBindingProtocol, Udp4Protocol; -/* - * This UDP binding is configured to operate in promiscuous mode. It is - * only used for reading packets. It has no associated state unlike - * socket->net.efi.binding, which has a remote IP address and port - * number. - */ -static struct efi_binding *udp_reader; + + + +/** + Poll the UDP to get the IP4 default address, which may be retrieved + by DHCP. + + The default time out value is 5 seconds. If IP has retrieved the default address, + the UDP is reconfigured. + + + @param udp_io The UDP_IO instance + @param udata...
2013 Mar 28
1
Makefile race condition with parallel make
When attempting to build syslinux in parallel (make -j5), I encountered the following error at the end: rm -f liblpxelinux.a ar cq liblpxelinux.a rawcon.o ./fs/pxe/dhcp_option.o ./fs/pxe/pxe.o ./fs/pxe/tftp.o ./fs/pxe/urlparse.o ./lwip/src/netif/ethernetif.o ./lwip/src/netif/etharp.o ./lwip/src/netif/slipif.o ./lwip/src/netif/ppp/md5.o ./lwip/src/netif/ppp/randm.o ./lwip/src/netif/ppp/chpms.o
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 Jul 18
2
[syslinux:firmware] efi: Add network support
...t > +/* > + * This UDP binding is configured to operate in promiscuous mode. It is > + * only used for reading packets. It has no associated state unlike > + * socket->net.efi.binding, which has a remote IP address and port > + * number. > + */ > +static struct efi_binding *udp_reader; > + > +/** > + * Open a socket > + * > + * @param:socket, the socket to open > + * > + * @out: error code, 0 on success, -1 on failure > + */ > +int core_udp_open(struct pxe_pvt_inode *socket) > +{ > + memset(&udata, 0, sizeof(udata)); > + udata.Accep...
2023 Aug 17
1
UEFI syslinux PXE boot issues
...this a few years back: There are other issues with PXE over UEFI with syslinux. I got it to work by using version 6.04_pre1 plus 3 pathes and building from source: efi-udp-core_udp_connect-use-SubnetMask-not-StationA.patch efi-udp-Add-retry-disabling-UseDefaultAddress.patch efi-udp-Removing-the-udp_reader-efi_binding.patch Patches are cherry-picked commits from syslinux git tree. Fixes the decaying TFTP transfer rate problem. --jzb
2005 Mar 09
0
Re: [Fwd: Re: etherboot 5.3.14 and pxelinux keyboard problem]
On Wed, 9 Mar 2005, Quinn wrote: > I have now also tried etherboot on a AMD Athlon machine with a 3Com 905B > NIC, etherboot 5.3.14 and pxelinux.0-3.08-pre5. Here is the results: > > Etherboot 5.3.14 (GPL) http://etherboot.org > Drivers: 3C90X Images: NBI ELF PXE Exports: PXE > Protocols: DHCP TFTP > Relocating _text from: [00010420,00022880) to [5feedba0,5ff00000) >
2015 Jul 20
0
[syslinux:firmware] efi: Add network support
...UDP binding is configured to operate in promiscuous mode. It is > > + * only used for reading packets. It has no associated state unlike > > + * socket->net.efi.binding, which has a remote IP address and port > > + * number. > > + */ > > +static struct efi_binding *udp_reader; > > + > > +/** > > + * Open a socket > > + * > > + * @param:socket, the socket to open > > + * > > + * @out: error code, 0 on success, -1 on failure > > + */ > > +int core_udp_open(struct pxe_pvt_inode *socket) > > +{ > > > +...
2013 Nov 08
4
syslinux.efi pxeboot across multiple subnets
...ly untested patch if someone wants to try and take it for a spin? -hpa -------------- next part -------------- diff --git a/efi/udp.c b/efi/udp.c index 59bb426..60a8fe9 100644 --- a/efi/udp.c +++ b/efi/udp.c @@ -41,8 +41,7 @@ int core_udp_open(struct pxe_pvt_inode *socket) udp = (EFI_UDP4 *)udp_reader->this; memset(&udata, 0, sizeof(udata)); - udata.AcceptPromiscuous = TRUE; - udata.AcceptAnyPort = TRUE; + udata.AcceptBroadcast = TRUE; status = uefi_call_wrapper(udp->Configure, 2, udp, &udata); if (status != EFI_SUCCESS) @@ -50,6 +49,18 @@ int core_udp_o...
2023 Aug 17
1
UEFI syslinux PXE boot issues
Steve Rikli schreef op 2023-08-16 16:31: > On Wed, Aug 16, 2023 at 02:05:33PM +0200, AL13N via Syslinux wrote: >> Joakim Tjernlund schreef op 2023-08-16 13:15: >> > On Thu, 1970-01-01 at 00:00 +0000, AL13N via Syslinux wrote: >> > > >> > > I'm used to non-UEFI PXE boot, and I use it for my network installer >> > > since forever ago.
2013 Nov 08
4
syslinux.efi pxeboot across multiple subnets
I did change both instances of txdata->GatewayAddress, but I think something may be wrong in my toolchain. If I extract syslinux.zip and attempt to make from there (without modifying any files), the cached DHCP packet isn't read on the same subnet. I receive "Succeed to download NBP file." twice before anything from syslinux is loaded, so I believe the duplicate request for
2020 Feb 27
1
Problem with PXE/UEFI
Hi Guys, i have a problem with PXE/UEFI Boot. Legacy PXE Boot is working fine. I use Dnsmasq with integrated tftp. As Mentioned above, legacy pxe boot is working fine, tcpdump shows: --- start tcpdump legacy pxe boot --- 13:44:16.589197 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from f8:ca:b8:06:7d:ed (oui Unknown), length 548 13:44:20.543910 IP 0.0.0.0.bootpc >