freebsd-dev/sbin/ipfw
Mark Johnston 165236a101 ipfw(8): Handle unaligned pointers in pr_u64.
struct _ipfw_dyn_rule is defined as packed, and as a result, its
uint64_t fields are misaligned on some 32-bit platforms.  Since
pr_u64() is explicitly supposed to handle this case, avoid using a
uint64_t * for the input pointer to make sure that the compiler won't
(correctly) warn about the misalignment.

Reported by:	jenkins
MFC with:	r363164
2020-07-13 19:10:16 +00:00
..
altq.c ipfw(8): Fix most warnings with the default WARNS level. 2020-07-13 17:51:04 +00:00
dummynet.c ipfw(8): Fix most warnings with the default WARNS level. 2020-07-13 17:51:04 +00:00
ipfw2.c ipfw(8): Handle unaligned pointers in pr_u64. 2020-07-13 19:10:16 +00:00
ipfw2.h ipfw(8): Handle unaligned pointers in pr_u64. 2020-07-13 19:10:16 +00:00
ipfw.8 Add support for RFC 6598/Carrier Grade NAT subnets. to libalias and ipfw. 2020-01-24 20:35:41 +00:00
ipv6.c ipfw(8): Fix most warnings with the default WARNS level. 2020-07-13 17:51:04 +00:00
main.c ipfw(8): Fix most warnings with the default WARNS level. 2020-07-13 17:51:04 +00:00
Makefile ipfw(8): Fix most warnings with the default WARNS level. 2020-07-13 17:51:04 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nat64clat.c ipfw(8): Fix most warnings with the default WARNS level. 2020-07-13 17:51:04 +00:00
nat64lsn.c ipfw(8): Fix most warnings with the default WARNS level. 2020-07-13 17:51:04 +00:00
nat64stl.c ipfw(8): Fix most warnings with the default WARNS level. 2020-07-13 17:51:04 +00:00
nat.c ipfw(8): Fix most warnings with the default WARNS level. 2020-07-13 17:51:04 +00:00
nptv6.c ipfw(8): Fix most warnings with the default WARNS level. 2020-07-13 17:51:04 +00:00
tables.c ipfw(8): Fix most warnings with the default WARNS level. 2020-07-13 17:51:04 +00:00