[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] Alignment issue in etharp_raw() ?
From: |
Ran Shalit |
Subject: |
[lwip-users] Alignment issue in etharp_raw() ? |
Date: |
Sun, 10 Sep 2017 15:51:23 +0300 |
Hello,
I have issue on using lwip (1.3.1) porting for uc/os .
It seems that the OS hangs on executing :
etharp_raw()->
hdr->dipaddr = *(struct ip_addr2 *)ipdst_addr;
On further investigation, it seems that the problem is that ipdst_addr
is not 4 byte aligned but only 2 byte aligned (address is hdr->dipaddr
= 0x8002add2 )
Is there a simple way to fix it (without upgrading to newer version) ?
Thank you,
Ran
- [lwip-users] Alignment issue in etharp_raw() ?,
Ran Shalit <=