lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] ip_addr_copy alignment issue


From: Ran Shalit
Subject: [lwip-users] ip_addr_copy alignment issue
Date: Sun, 24 Sep 2017 15:47:46 +0300

Hello,

I get stuck in ip_addr_copy when called by ip_input.
I am using MEM_ALIGNMENT 4, and packed structs.
I tried many stuff, but nothing yet helped.
If I try MEM_ALIGNMENT 1, I get stuck in much earlier phase.
I'm using lwip 1.4.1 , which is a stable release as I understand.

Is there any idea how this issue can be fixed ?

This is the code for ip_addr_copy
#define ip_addr_copy(dest, src) ((dest).addr = (src).addr)

Best Regards,
Ran



reply via email to

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