Displaying 9 results from an estimated 9 matches for "pxe_api".
2011 Apr 26
1
[syslinux:lwip] PXE Cleanups, allow for 128 open files
...t; */
> -#define MAX_OPEN_LG2 5
> +#define MAX_OPEN_LG2 7
> #define MAX_OPEN (1 << MAX_OPEN_LG2)
>
> #define FILENAME_MAX_LG2 8
>
> --- a/core/fs/pxe/pxe.h
> +++ b/core/fs/pxe/pxe.h
> @@ -21,27 +21,15 @@
> #define PXE_H
>
> #include <syslinux/pxe_api.h>
> -#include "fs.h" /* For MAX_OPEN, should go away */
> +#include "fs.h" /* Mostly for FILENAME_MAX */
FWIW, I would expect
#include "fs.h" /* Mostly for MAX_OPEN */
Groeten
Geert Stappers
--
> And is there a policy on top-posting vs. bottom-...
2013 Nov 21
0
Baking Cookies
FYI -- Did some more digging. These two changes lets SENDCOOKIES behavior work as desired/intended.
--- syslinux-6.02/com32/include/syslinux/pxe_api.h 2013-10-13 13:59:03.000000000 -0400
+++ syslinux-6.02-changed/com32/include/syslinux/pxe_api.h 2013-11-21 17:00:57.379519000 -0500
@@ -589,7 +589,7 @@
void __weak unload_pxe(uint16_t flags);
uint32_t __weak dns_resolv(const char *);
-uint32_t __weak SendCookies;
+extern uint32_t Send...
2013 Nov 21
2
Baking Cookies
Hmm... well adding the __export stopped the "undefined symbol" error from showing up when I add "SENDCOOKIES" in the config, however I'm still not seeing any cookies being sent to my webserver.
Any ideas on how to further debug? (if you want to send me the debug compile options privately that's okay too)
-----Original Message-----
From: H. Peter Anvin [mailto:hpa at
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
...| 43 ++++++-------
com32/elflink/ldlinux/readconfig.c | 16 +++++
com32/include/menu.h | 7 --
com32/include/syslinux/boot.h | 10 +++
com32/include/syslinux/config.h | 5 ++
com32/include/syslinux/features.h | 10 +--
com32/include/syslinux/pxe_api.h | 4 +
com32/lib/Makefile | 1 -
com32/lib/sys/ansicon_write.c | 4 +-
com32/lib/sys/gpxe.c | 14 +---
com32/lib/sys/module/common.c | 10 +++-
com32/lib/sys/module/elf_module.c | 15 ++++-
com32/lib/sys/rawcon_read.c...
2012 Aug 14
1
[GIT PULL] elflink fixes
...eadconfig.c | 16 +++++
com32/include/menu.h | 7 --
com32/include/sys/module.h | 10 +++
com32/include/syslinux/boot.h | 10 +++
com32/include/syslinux/config.h | 5 ++
com32/include/syslinux/features.h | 10 +--
com32/include/syslinux/pxe_api.h | 4 +
com32/lib/Makefile | 1 -
com32/lib/sys/ansicon_write.c | 4 +-
com32/lib/sys/gpxe.c | 14 +---
com32/lib/sys/module/common.c | 36 ++++++++++-
com32/lib/sys/module/elf_module.c | 15 ++++-
com32/lib/sys/rawcon_rea...
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
2015 Jun 03
5
[PATCH 0/1] EFI PXE DHCP/proxyDHCP issues fix
...ach. In pxe.c, I populate DhcpAck packet with all of the
correct ip addresses and netmask. In udp.c, at the end, I disable
UseDefaultAddress and populate missing correct ip addresses. Details and
code below.
My approach:
In efi/pxe.c:
#include <syslinux/firmware.h>
#include <syslinux/pxe_api.h>
#include "efi.h"
#include "net.h"
#include "fs/pxe/pxe.h"
++ extern struct syslinux_ipinfo IPInfo;
const struct url_scheme url_schemes[] = {
{ "tftp", tftp_open, 0 },
{ "http", http_open, O_DIRECTORY },
{ "ftp", ftp...
2019 Jul 09
0
[PATCH] core: Add support for BLS Type 1 entries
...2/elflink/ldlinux/readconfig.c
@@ -22,6 +22,7 @@
#include <inttypes.h>
#include <colortbl.h>
#include <com32.h>
+#include <dirent.h>
#include <syslinux/adv.h>
#include <syslinux/config.h>
#include <dprintf.h>
@@ -32,11 +33,22 @@
#include <syslinux/pxe_api.h>
#include "menu.h"
+#include "bls.h"
#include "config.h"
#include "getkey.h"
#include "core.h"
#include "fs.h"
+/* BLS1 entry global settings */
+char *bls1_labelf = NULL;
+char *bls1_format = NULL;
+char *bls1_sortby = NULL;...
2012 Jun 26
2
[GIT PULL] elflink bug fixes
.../**
diff --git a/com32/include/syslinux/pxe.h b/com32/include/syslinux/pxe.h
index 156f4cf..4e8a336 100644
--- a/com32/include/syslinux/pxe.h
+++ b/com32/include/syslinux/pxe.h
@@ -34,11 +34,11 @@
#ifndef _SYSLINUX_PXE_H
#define _SYSLINUX_PXE_H
-#include <pxe.h>
#include <syslinux/pxe_api.h>
/* SYSLINUX-defined PXE utility functions */
int pxe_get_cached_info(int level, void **buf, size_t *len);
-int pxe_get_nic_type(t_PXENV_UNDI_GET_NIC_TYPE *gnt);
+int pxe_get_nic_type(t_PXENV_UNDI_GET_NIC_TYPE * gnt);
+uint32_t pxe_dns(const char *hostname);
#endif /* _SYSLINUX_PXE_H */...