[lwip-users] memcpying p->payload?

2012-08-23 Thread girrian seedo
Hi everyone! I had a problem when I was trying to memcpy p->payload directly into a systems memory. I tried to do it as below. memcpy ( (unsigned int *)(SYSTEM_MEMORY + 4*size),\ (unsigned int *)(p->payload+PACKET_HEADER), bytesReceived-PACKET_HEADER ); This didn't work at all, and my packets da

Re: [lwip-users] Changing the TOS value for UDP packets

2012-08-23 Thread Simon Goldschmidt
"Marco Jakobs" wrote: > just a short question: Is there any way to alter the TOS field (for QoS > taaging) of an UDP packet before it's finally sent out with > 'netconn_sendto'? For example writing into the netconn structure etc.? No. Changing TOS is implemented on pcb-level (pcb->tos) but there'

[lwip-users] Changing the TOS value for UDP packets

2012-08-23 Thread Marco Jakobs
Good evening guys, just a short question: Is there any way to alter the TOS field (for QoS taaging) of an UDP packet before it's finally sent out with 'netconn_sendto'? For example writing into the netconn structure etc.? Thanks, Marco ___

Re: [lwip-users] ethernetif_input usage with Ethernet over SPI

2012-08-23 Thread Sylvain Rochet
Hi, On Thu, Aug 23, 2012 at 04:50:07PM +0200, Tomás Svec wrote: > The problem is, the external chip is a prototype, so this would not help > the cause. I am currently in contact with the manufacturer to clarify the > ARP packages. But I am sure it does not have an embedded stack, just ARPs. Well,

Re: [lwip-users] ethernetif_input usage with Ethernet over SPI

2012-08-23 Thread Tomáš Švec
The problem is, the external chip is a prototype, so this would not help the cause. I am currently in contact with the manufacturer to clarify the ARP packages. But I am sure it does not have an embedded stack, just ARPs. 2012/8/23 Sylvain Rochet > Hi, > > On Thu, Aug 23, 2012 at 04:21:30PM +020

Re: [lwip-users] ethernetif_input usage with Ethernet over SPI

2012-08-23 Thread Sylvain Rochet
Hi, On Thu, Aug 23, 2012 at 04:21:30PM +0200, Tomás Svec wrote: > Well, to clarify, I send whole Ethernet frames via SPI. ARP should be > handled by the external chip, though, as it does not let any ARP packages > through and responds to ARP queries without the TCP/IP stack. Maybe you should tell

Re: [lwip-users] ethernetif_input usage with Ethernet over SPI

2012-08-23 Thread Tomáš Švec
Well, to clarify, I send whole Ethernet frames via SPI. ARP should be handled by the external chip, though, as it does not let any ARP packages through and responds to ARP queries without the TCP/IP stack. I stumbled upon a problem with ARP, however - everytime I try to turn it off in lwipopts.h, a