mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-14 22:35:22 +00:00
s_addr is actually an unsigned integer and it's not guaranteed to be aligned on 4-byte boundary. In net_ipv4_addr_cmp(), accessing s_addr directly might cause an unaligned exception on some platform like xtensa. Use UNALIGNED_GET() to prevent unalgined exception. Signed-off-by: Aska Wu <aska.wu@linaro.org> |
||
---|---|---|
.. | ||
arp.h | ||
bt.h | ||
buf.h | ||
dhcpv4.h | ||
dns_resolve.h | ||
ethernet.h | ||
http_parser.h | ||
http.h | ||
ieee802154_radio.h | ||
ieee802154.h | ||
lwm2m.h | ||
mii.h | ||
mqtt_types.h | ||
mqtt.h | ||
net_app.h | ||
net_context.h | ||
net_core.h | ||
net_event.h | ||
net_if.h | ||
net_ip.h | ||
net_l2.h | ||
net_linkaddr.h | ||
net_mgmt.h | ||
net_offload.h | ||
net_pkt.h | ||
net_stats.h | ||
socket.h | ||
trickle.h | ||
udp.h | ||
zoap_link_format.h | ||
zoap.h |