opnsense-src/tests/sys/netinet
John Baldwin 5bd5219d15 Cast pointer to uintptr_t to avoid alignment warnings.
Both struct ip and struct udphdr both have an aligment of 2, but the
cast from struct ip to a uint32_t pointer confused GCC 9 into raising
the required alignment to 4 and then raising a
-Waddress-of-packed-member error when casting to struct udphdr.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D31941

(cherry picked from commit dba02df30d)
2022-05-10 17:11:27 -07:00
..
libalias Cast pointer to uintptr_t to avoid alignment warnings. 2022-05-10 17:11:27 -07:00
arp.sh
carp.sh
divert.sh
fibs.sh
fibs_test.sh
forward.sh
ip_reass_test.c
lpm.sh
Makefile
Makefile.depend
output.sh
redirect.py
redirect.sh
so_reuseport_lb_test.c
socket_afinet.c
tcp_connect_port_test.c
tcp_user_cookie.c
udp_dontroute.c