zephyr/subsys/net/ip
Bogdan Davidoaia 290e1d8451 net: use UNALIGNED_GET/PUT to access IP address
Use UNALIGNED_GET and UNALIGNED_PUT throughout the networking stack to
access fields from the IP address structure. These structures can be
mapped directly to buffers and the macros are required for correct
unaligned memory access.

Jira: ZEP-2012

Change-Id: I55f9da7b143a22fa869d5d215c661de988cd9b91
Signed-off-by: Bogdan Davidoaia <bogdan.davidoaia@linaro.org>
2017-04-13 15:21:46 +03:00
..
l2 net/ieee802154: Add ieee15_4 shell module functions to set/get tx power 2017-04-13 15:21:46 +03:00
6lo_private.h net: 6lo: Change how net_buf is allocated in RX side 2017-03-09 20:33:43 +02:00
6lo.c net: use UNALIGNED_GET/PUT to access IP address 2017-04-13 15:21:46 +03:00
6lo.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
connection.c net: use UNALIGNED_GET/PUT to access IP address 2017-04-13 15:21:46 +03:00
connection.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
dhcpv4.c net: nbuf: Pass ll_reserve when creating TX buffer 2017-03-09 20:33:43 +02:00
dhcpv4.h net/dhcpv4: Rework initialization. 2017-03-09 20:33:41 +02:00
icmpv4.c net/icmpv4: Normalize input function signature with ipv6 counter-part 2017-03-24 17:31:42 +02:00
icmpv4.h net/icmpv4: Normalize input function signature with ipv6 counter-part 2017-03-24 17:31:42 +02:00
icmpv6.c net: icmpv6: Print received packet type as string 2017-04-07 18:32:19 +03:00
icmpv6.h net: icmpv6: Print received packet type as string 2017-04-07 18:32:19 +03:00
ipv4.c net: Move IPv4 packet handling from net_core.c to ipv4.c 2017-04-07 18:32:18 +03:00
ipv4.h net: Modify IPv4/6 packet finalize API's 2017-03-17 10:34:42 +02:00
ipv6.c net: if: Reshuffle fields in net_if and related structs 2017-04-13 15:21:45 +03:00
ipv6.h net: ipv6: Rework net_ipv6_nbr_add 2017-04-13 15:21:44 +03:00
Kconfig net: Enable context buffer pool in case TCP and 6LO are enabled 2017-04-07 18:32:18 +03:00
Kconfig.app net/ieee802154/samples: Add a Kconfig option to tweak the TX power 2017-04-13 15:21:46 +03:00
Kconfig.debug net: nbuf: Track memory allocations 2017-03-09 20:33:44 +02:00
Kconfig.ipv4 license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.ipv6 net: ipv6: Support fragmented IPv6 packets 2017-04-13 15:21:41 +03:00
Kconfig.mgmt license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.rpl net: rpl: Fix the statistics collection 2017-04-13 15:21:42 +03:00
Kconfig.stack net: ip: Increase RX stack size 2017-04-07 13:33:55 +03:00
Kconfig.stats net: ipv6: Collect MLD statistics 2017-03-09 20:33:48 +02:00
Makefile net: in newlib, ESHUTDOWN is considered an extension 2017-01-20 16:23:20 +02:00
nbr.c net: nbr: Fix miss calculation of nbr size 2017-04-07 12:35:50 +03:00
nbr.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
nbuf.c net: nbuf: Add function to split a data fragment 2017-04-13 15:21:41 +03:00
net_context.c net: tcp: Invalid transition from FIN_WAIT_1 to CLOSE_WAIT 2017-03-24 17:31:41 +02:00
net_core.c net: ipv6: Support fragmented IPv6 packets 2017-04-13 15:21:41 +03:00
net_if.c net: use UNALIGNED_GET/PUT to access IP address 2017-04-13 15:21:46 +03:00
net_mgmt.c net/mgmt: Mask vs event should be verified part by part 2017-03-31 12:15:29 +00:00
net_private.h net: ipv6: Support fragmented IPv6 packets 2017-04-13 15:21:41 +03:00
net_shell.c net: if: Reshuffle fields in net_if and related structs 2017-04-13 15:21:45 +03:00
net_shell.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
net_stats.c net: rpl: Fix the statistics collection 2017-04-13 15:21:42 +03:00
net_stats.h net: ipv6: Collect MLD statistics 2017-03-09 20:33:48 +02:00
route.c net: route: Fix compilation error 2017-04-13 15:21:44 +03:00
route.h net: route: Update IPv6 packet routing mechanism 2017-04-07 12:35:50 +03:00
rpl-mrhof.c net: rpl: Fix compilation if MRHOF is enabled 2017-04-13 15:21:44 +03:00
rpl-of0.c net: Use lighter printk() instead of printf() 2017-01-27 12:35:51 +02:00
rpl.c net: rpl: Fix compilation if CONFIG_NET_RPL_MOP3 is enabled 2017-04-13 15:21:44 +03:00
rpl.h net: use UNALIGNED_GET/PUT to access IP address 2017-04-13 15:21:46 +03:00
tcp.c net: tcp: Release buf after failing to send 2017-04-13 15:21:42 +03:00
tcp.h net: tcp: remove net_tcp_set_state() function 2017-03-09 20:33:47 +02:00
trickle.c license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
udp.h license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
utils.c net: use UNALIGNED_GET/PUT to access IP address 2017-04-13 15:21:46 +03:00