zephyr/samples/net/zperf/src
Michael Hope 69b76d7305 samples: zperf: fix an unaligned access in the UDP uploader
zperf takes a potentially unaligned netowrk packet, casts it to a
struct, and then dereferences the fields.  This causes a crash on
cores that don't support unaligned access such as the Cortex-M0+.

Use the UNALIGNED_GET helper instead.

Signed-off-by: Michael Hope <mlhx@google.com>
2020-06-15 10:30:35 +03:00
..
shell_utils.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
shell_utils.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
zperf_internal.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
zperf_session.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
zperf_session.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
zperf_shell.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
zperf_tcp_receiver.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
zperf_tcp_uploader.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
zperf_udp_receiver.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
zperf_udp_uploader.c samples: zperf: fix an unaligned access in the UDP uploader 2020-06-15 10:30:35 +03:00
zperf.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00