lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] Scan through the heap searching for a free block that i


From: Vrund Rana
Subject: Re: [lwip-users] Scan through the heap searching for a free block that is big enough, beginning with the lowest free block.
Date: Sat, 30 Mar 2019 09:10:34 +0530

Hi.

Thanks for reply.

In noraml case (without any addition of extra  bytes)I don't have problem.
Complete application is running very fine.

Forget about the previous addition that I have done in the code.

Problem is that I need to add and remove 6 bytes hsr tag in the frame.

Frame format is attached.

And I don't know where and how to implement this part in code??

Kindly help me to achieve this.



Regards
Vrund 

On Fri 29 Mar, 2019, 7:50 PM Sergio R. Caprile, <address@hidden> wrote:
If you decide to generate checksums on lwIP, you MUST tell the
controller not to generate them.

You must check arg and newpcb in your tcp_accept() callback, follow the
examples.
Your tcpecho source is different from what I can see on lwIP git. I
won't check further.
I won't check the rest of your coding, particularly because you are
copying memory to places I don't know where they are and to whom they
belong; lest can I know if it fits.

Make sure your modifications to the working server (as you said it
works) happen on a well paced and controlled fashion, in order to make
it easier for you to discover where you break it.


_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

Attachment: img_en_frame_hsr_en.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]