The problem is that LwIP creates a new pbuf RAM 'r' and copies
'q' of type PBUF RAM and 'p' of type PBUF_ROM to the new PBUF RAM!
Indeed I don't want to copy PBUF_ROM payload to the new PBUF_RAM, is there
a way to avoid such copy? why LwIP doesn't copy 'q
h would prevent copying", so
I have to add some instructions inside the LwIP code, right?
Regards,
Amena
On Tue, Nov 14, 2017 at 11:31 PM, goldsi...@gmx.de wrote:
> Amena El Homsi wrote:
>
>> I am trying to send ping request using Lwip.
>> The ICMP header and ping data is i
On Wed, Nov 15, 2017 at 1:22 PM, Simon Goldschmidt wrote:
> Amena El Homsi wrote:
> > What I know is PBUF_ROM doesn't mean the actual ROM (stable for very
> long) but it
> > means that the data is immutable and it is located in memory which is
> not managed
> >
On Wed, Nov 15, 2017 at 3:15 PM, Simon Goldschmidt wrote:
> Amena El Homsi wrote:
> > Actually I had this understanding from this link http://www.nongnu.org/
> lwip/2_0_x/group__pbuf.html
>
> That page says "PBUF_ROM: pbuf data is stored in ROM". Could you tell us
&g
frame address to clean it.
For the incoming frames, I didn't face any problem in passing the frame
address as pbuf payload ptr of PBUF_ROM type and LwIP did the necessary
parsing of the received frames.
On Wed, Nov 15, 2017 at 4:47 PM, goldsimon wrote:
>
>
> Amena El Homsi wrote:
&
Hello,
In the eth_type enum, I didn't see the ETHTYPE 0x88a8 referring to the TPID
of service-provider outer S-TAG used when the Ethernet frame have double
VLAN tagging.
Does LwIP support Ethernet frames with double VLAN tagging?
Thanks,
Amena
--
Amena El-Homsi
Computer & Comm
So the LwIP discards such frames, right?
Thanks
Amena
On Wed, Jan 10, 2018 at 10:56 AM, Dirk Ziegelmeier
wrote:
> No, lwIP doesn't support it. But it should be easy to add in
> src/netif/ethernet.c.
>
> Ciao
> Dirk
>
> On Wed, Jan 10, 2018 at 9:41 AM, Amena El
Hello,
I am using lwip 2.0.3 Release version, I din't find MEMP_SEPARATE_POOLS
Macro. How to know if the pools are placed in one array or separate arrays?
Regards,
Amena
--
Amena El-Homsi
Computer & Communication Engineer
Dipl. Eng, M.S.
___
,
Amena
--
Amena El-Homsi
Computer & Communication Engineer
Dipl. Eng, M.S.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
Hi,
In tcp_write() function, why we don't allocate segments bigger than half
the maximum window we ever received?
Is this a LwIP requirement or TCP protocol requirement?
Thanks,
Amena
--
Amena El-Homsi
Computer & Communication Engineer
Dipl.
ure only from the lwIP pools, and calls
the MMU to allocate memory to the frame, then I set p->payload to the frame
pointer.
I am able to send and receive ARPs, pings, and DHCP messeages.
Are there specific cases where this procedure will not work correctly?
Thanks,
Amena
--
Amena E
ction.
Thanks,
Amena
On Thu, Jun 28, 2018 at 3:26 PM, Simon Goldschmidt wrote:
> "Amena El Homsi" wrote:
> > For PBUF_RAM type, LwIP mentions that "struct pbuf and its payload are
> > allocated in one piece of contiguous memory (so the first payload byte
> > can
Hi,
Can we support sockets using RAW API without Socket API?
Thanks,
--
Amena El-Homsi
Computer & Communication Engineer
Dipl. Eng, M.S.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
Hi,
When we receive an echo request using IPv6, LwIP copies the request to new
pbuf to send the reply.
Why LwIP doesn't use the echo request pbuf, instead of allocating a new one
(as what LwIP does when replying to IPv4 echo requests)?
Thanks in advance.
--
Amena El-Homsi
Com
wrote:
> On 14.08.2018 14:49, Amena El Homsi wrote:
>
>> When we receive an echo request using IPv6, LwIP copies the request to
>> new pbuf to send the reply.
>> Why LwIP doesn't use the echo request pbuf, instead of allocating a new
>> one (as what LwIP does
ging the list at
>>lwip-users-ow...@nongnu.org
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of lwip-users digest..."
>> Today's Topics:
>> 1. icmp6
Hi,
The pbuf structure is 16 bytes. Is their a plan to add more elements to it
in the next lwip versions or its size will not be changed?
Thanks,
--
Amena El-Homsi
Computer & Communication Engineer
Dipl. Eng, M.S.
___
lwip-users mailing list
the result of the ARP request, however raw_input() is
not called unless ip4_input is called and since the arp will be processed
by etharp_input I will not be able to use raw_pcb.
Thanks,
--
Amena El-Homsi
Computer & Communication Engineer
Dipl. Eng,
Thanks for your reply. So if I want to support it I have to add some
changes to etharp.c file. Is there a plan to support such feature?
On Mon, Nov 5, 2018 at 6:27 PM goldsi...@gmx.de wrote:
> On 05.11.2018 16:35, Amena El Homsi wrote:
> > LwIP processes the ARP requests and replies up
shwaddr,
> netif->num, hdr->opcode, p);
>
> arp_callback is defined in my code and passes whatever is needed by the
> callback. Just be sure to NOT free the packet in etharp_input but then do
> it in your code (or free it after the callback returns in etharp_input).
>
>
Hi,
Most embedded systems have a power save mode in which memory is shut down
and the state is saved in a non-volatile memory.
Does LwIP have a list of variables that should be saved and restored to
resume proper functionality?
--
Amena El-Homsi
Computer & Communication Engineer
Dipl.
NDEX_DHCP, NULL)
and autoip_remove_struct is expanded to: do { (netif)->autoip = NULL; }
while (0)
?
--
Amena El-Homsi
Computer & Communication Engineer
Dipl. Eng, M.S.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
utoip set",
> netif_autoip_data(netif) != NULL);
>
> netif_set_client_data(netif, LWIP_NETIF_CLIENT_DATA_INDEX_AUTOIP, NULL);
> }
>
>
> Ciao
> Dirk
>
>
> On Wed, Nov 20, 2019 at 9:26 AM Amena El Homsi
> wrote:
>
>> Hello,
>>
>> I set au
ening?
--
Amena El-Homsi
Computer & Communication Engineer
Dipl. Eng, M.S.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
Hi, thanks for your reply, please check my answers below.
On Thu, Jan 9, 2020 at 6:35 PM goldsimon wrote:
>
>
> Amena El Homsi wrote:
> >Hello,
> >
> >After disconnecting from an AP I have to reset the PCBs pools. If I did
> >not
> >do that and I recon
.
If we use netcat to open a socket on linux using wrong IP address, binding
fails as mentioned in the attached picture.
--
Amena El-Homsi
Computer & Communication Engineer
Dipl. Eng, M.S.
___
lwip-users mailing list
lwip-users@nongnu.org
h
is null. Am I right or wrong?
--
Amena El-Homsi
Computer & Communication Engineer
Dipl. Eng, M.S.
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
27 matches
Mail list logo