search for: udata

Displaying 20 results from an estimated 82 matches for "udata".

Did you mean: data
2015 Jun 11
2
[PATCH 0/1] Network UEFI PXE DHCP/proxyDHCP fix
...r/efi/udp.c syslinux-master/efi/udp.c --- orig_repo/syslinux-master/efi/udp.c 2015-06-09 02:50:15.000000000 -0700 +++ syslinux-master/efi/udp.c 2015-06-02 05:54:11.000000000 -0700 @@ -150,11 +150,15 @@ void core_udp_connect(struct pxe_pvt_ino /* Re-use the existing local port number */ udata.StationPort = socket->net.efi.localport; - udata.UseDefaultAddress = TRUE; + udata.UseDefaultAddress = FALSE; memcpy(&udata.RemoteAddress, &ip, sizeof(ip)); udata.RemotePort = port; udata.AcceptPromiscuous = TRUE; udata.TimeToLive = 64; + ip = IPInfo.myip;...
2015 Jun 12
0
[PATCH 0/1] Network UEFI PXE DHCP/proxyDHCP fix
...; --- orig_repo/syslinux-master/efi/udp.c 2015-06-09 02:50:15.000000000 > -0700 > +++ syslinux-master/efi/udp.c 2015-06-02 05:54:11.000000000 -0700 > @@ -150,11 +150,15 @@ void core_udp_connect(struct pxe_pvt_ino > /* Re-use the existing local port number */ > udata.StationPort = socket->net.efi.localport; > > - udata.UseDefaultAddress = TRUE; > + udata.UseDefaultAddress = FALSE; > memcpy(&udata.RemoteAddress, &ip, sizeof(ip)); > udata.RemotePort = port; > udata.AcceptPromiscuous = TRUE; > udata.TimeToL...
2016 Feb 28
0
[PATCH 0/1] UEFI UDP/TFTP
...ldlinux.e32" http://www.syslinux.org/archives/2015-October/024341.html This report has led to Gene's patch: https://github.com/geneC/syslinux/commit/9e0926bb338deb5c634ccb4ee29eb4577158cfdc it was reported working but I think "it cannot work" if it has these lines + memcpy(&udata.StationAddress, &IPInfo.myip, sizeof(IPInfo.myip)); + memcpy(&udata.StationAddress, &IPInfo.netmask, sizeof(IPInfo.netmask)); the StationAddress gets overwritten by a netmask... There's a picture attached comparing performance between the old and new udp.c code. Testing reports...
2015 Jul 08
4
[PATCH] Updated udp.c to use real client ip and subnetmask values if on local subnet
...52 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 50 insertions(+), 2 deletions(-) --- udp.c 2015-07-06 07:22:04.000000000 -0700 +++ efi/udp.c 2015-07-08 12:13:48.000000000 -0700 @@ -142,6 +142,7 @@ void core_udp_connect(struct pxe_pvt_ino EFI_UDP4_CONFIG_DATA udata; EFI_STATUS status; EFI_UDP4 *udp; + uint32_t tip; udp = (EFI_UDP4 *)socket->net.efi.binding->this; @@ -150,7 +151,30 @@ void core_udp_connect(struct pxe_pvt_ino /* Re-use the existing local port number */ udata.StationPort = socket->net.efi.localport; -...
2015 Oct 03
2
UEFI: Failed to load ldlinux.e64/ldlinux.e32
...C/syslinux.git > > > > Branch 1efipxe > > > > _ Silly question: is it clear to everyone / anyone how exactly would > that manual configuration would be achieved? Partial diff between the 1efipxe branch and master /* Re-use the existing local port number */ udata.StationPort = socket->net.efi.localport; - udata.UseDefaultAddress = TRUE; + if (efi_net_def_addr) { + udata.UseDefaultAddress = TRUE; + } else { + udata.UseDefaultAddress = FALSE; + memcpy(&udata.StationAddress, &IPInfo.myip, sizeof(IPInfo.myip)); + me...
2015 Jul 18
2
[syslinux:firmware] efi: Add network support
...*/ > +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.AcceptPromiscuous = TRUE; > + udata.AcceptAnyPort = TRUE; Why promiscuous? That seems to want to accept it on any local address and put the NIC into promiscuous mode, avoiding the default MAC filter in the NIC. This should be uncessary as we're not c...
2017 May 31
6
[PATCH 1/4] efi/udp: core_udp_connect should use SubnetMask not StationAddress for netmask
...iarddegalbert 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; memcpy(&udata.StationAddress, &IPInfo.myip, sizeof(IPInfo.myip)); - memcpy(&udata.StationAddress, &IPInfo.netmask, sizeof(IPInfo.netmask)); + memcpy(&udata.SubnetMask, &IPInfo.netmask, sizeof(IPInfo.netmask)); } memcpy(&udata.Remote...
2013 Nov 29
2
[PATCH] efi: reuse UDP port with sendto
...ibi at gmail.com> --- efi/udp.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/efi/udp.c b/efi/udp.c index 59bb426..7271f1f 100644 --- a/efi/udp.c +++ b/efi/udp.c @@ -336,6 +336,9 @@ void core_udp_sendto(struct pxe_pvt_inode *socket, const void *data, memset(&udata, 0, sizeof(udata)); + /* Re-use the existing local port number if any */ + udata.StationPort = socket->net.efi.localport; + memcpy(&udata.StationAddress, &IPInfo.myip, sizeof(IPInfo.myip)); memcpy(&udata.SubnetMask, &IPInfo.netmask, sizeof(IPInfo.netmask));...
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 --------------
2014 Jan 15
1
Samba 4.0.9 running on centos 6.5 (64bit) share access issues
...192.168.100.10#53 Name: roger.test_ad.testdom.org Address: 192.168.100.10 Normal share mkdir -p /usr/local/samba/var/<share> chown root:root /usr/local/samba/var/<share> chmod 755 /usr/local/samba/var/<share> Using \\roger\<share> all sysvol, netlogon, profiles, udata, dfs are accessible Using \\roger.test_ad.testdom.org\<share> all sysvol, netlogon, profiles, udata, dfs are accessible Using \\192.168.100.10\<share> all sysvol, netlogon, profiles, udata, dfs are accessible Using \\test_ad.testdom.org\<share> sysvol, netlogon are accessible but...
2017 May 31
0
[PATCH 2/4] efi/udp: Add retry disabling UseDefaultAddress in core_udp_connect and core_udp_sendto
...viarddegalbert at online.net> --- efi/udp.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/efi/udp.c b/efi/udp.c index b0f13ad..8f4d7dc 100644 --- a/efi/udp.c +++ b/efi/udp.c @@ -52,7 +52,7 @@ EFI_STATUS core_udp_configure(EFI_UDP4 *udp, EFI_UDP4_CONFIG_DATA *udata, } } else { if (status != EFI_SUCCESS) { - Print(L"%s: udp->Configure() unsuccessful (%d)", f, status); + Print(L"%s: udp->Configure() unsuccessful (%d)\n", f, status); if (!efi_net_def_addr && (status == EFI_INVALID_PARAMETER)) efi_net_de...
2015 Oct 03
0
UEFI: Failed to load ldlinux.e64/ldlinux.e32
...Branch 1efipxe >> > >> >> _ Silly question: is it clear to everyone / anyone how exactly would >> that manual configuration would be achieved? > > Partial diff between the 1efipxe branch and master > > /* Re-use the existing local port number */ > udata.StationPort = socket->net.efi.localport; > > - udata.UseDefaultAddress = TRUE; > + if (efi_net_def_addr) { > + udata.UseDefaultAddress = TRUE; > + } else { > + udata.UseDefaultAddress = FALSE; > + memcpy(&udata.StationAddress, &IPInfo.myip,...
2015 Jul 20
0
[syslinux:firmware] efi: Add network support
...> > +/** > > + * 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.AcceptPromiscuous = TRUE; > > + udata.AcceptAnyPort = TRUE; > > Why promiscuous? That seems to want to accept it on any local address > and put the NIC into promiscuous mode, avoiding the default MAC filter > in the NIC. This should b...
2016 Jan 07
2
Domain name search path use during PXE booting
...@@ -133,6 +138,135 @@ static void pxelinux_reboottime(const vo DHCPMagic |= 8; /* Got reboot time */ } +/* + * See RFC1035 section 4.1.3 for the format of the domain name as it's a compact format. + */ +static void domain_search(const void *data, int opt_len) +{ + const uint8_t *udata = (uint8_t *)data; + const uint8_t *inp = udata; /* in the buffer, does not follow pointers */ + char *outp = DomainSearch; /* current location to output chars to */ + char *endp = DomainSearch; /* end of the last completed domain string */ + const uint8_t *cpp; /* copy pointe...
2013 Nov 08
4
syslinux.efi pxeboot across multiple subnets
...y 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_open(struct pxe_pvt_inode *socket)...
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
2012 Sep 08
3
[patch 1/3] xen/privcmd: check for integer overflow in ioctl
...y: Dan Carpenter <dan.carpenter at oracle.com> --- Only needed in linux-next. diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c index 215a3c0..fdff8f9 100644 --- a/drivers/xen/privcmd.c +++ b/drivers/xen/privcmd.c @@ -325,6 +325,8 @@ static long privcmd_ioctl_mmap_batch(void __user *udata, int version) return -EFAULT; /* Returns per-frame error in m.arr. */ m.err = NULL; + if (m.num > SIZE_MAX / sizeof(*m.arr)) + return -EINVAL; if (!access_ok(VERIFY_WRITE, m.arr, m.num * sizeof(*m.arr))) return -EFAULT; break; @@ -332,6 +334,8 @@ static long privcmd_ioctl_...
2012 Sep 08
3
[patch 1/3] xen/privcmd: check for integer overflow in ioctl
...y: Dan Carpenter <dan.carpenter at oracle.com> --- Only needed in linux-next. diff --git a/drivers/xen/privcmd.c b/drivers/xen/privcmd.c index 215a3c0..fdff8f9 100644 --- a/drivers/xen/privcmd.c +++ b/drivers/xen/privcmd.c @@ -325,6 +325,8 @@ static long privcmd_ioctl_mmap_batch(void __user *udata, int version) return -EFAULT; /* Returns per-frame error in m.arr. */ m.err = NULL; + if (m.num > SIZE_MAX / sizeof(*m.arr)) + return -EINVAL; if (!access_ok(VERIFY_WRITE, m.arr, m.num * sizeof(*m.arr))) return -EFAULT; break; @@ -332,6 +334,8 @@ static long privcmd_ioctl_...
2015 Jun 03
5
[PATCH 0/1] EFI PXE DHCP/proxyDHCP issues fix
...s do not work. In that case, the packets were not parsed to get any of the ip addresses so I used IPInfo to get client ip and netmask instead of using defaults. In efi/udp.c: void core_udp_connect(struct pxe_pvt_inode *socket, uint32_t ip, uint16_t port) { EFI_UDP4_CONFIG_DATA udata; EFI_STATUS status; EFI_UDP4 *udp; udp = (EFI_UDP4 *)socket->net.efi.binding->this; memset(&udata, 0, sizeof(udata)); /* Re-use the existing local port number */ udata.StationPort = socket->net.efi.localport; -- udata.UseDefaultAddress = TRUE; ++ udata.Use...
2010 Dec 08
2
piechart
....9, labels= c("J","F","M","A","M","J","J","A","S","O","N","D"),clockwise=T) points (0,0,col="black",cex=20,pch=1 -- ------------------------------------------------- UDATA Umweltschutz und Datenanalyse Hydrologie, Klimafolgenforschung, Boden- und Grundwasserschutz Carl-Sch?ller-Str. 30 1/3, 95444 Bayreuth www.udata.de Tel. 0921/78638573 (Durchwahl) wendel at udata.de Firmensitz: Neustadt an der Weinstra?e Inhaber: Dr. J?rg Scherzer