freebsd-dev/sbin/ipfw
Marius Strobl 6d3c367d9c Fix a bug in r272840; given that the optlen parameter of setsockopt(2)
is a 32-bit socklen_t, do_get3() passes the kernel to access the wrong
32-bit half on big-endian LP64 machines when simply casting the 64-bit
size_t optlen to a socklen_t pointer.
While at it and given that the intention of do_get3() apparently is to
hide/wrap the fact that socket options are used for communication with
ipfw(4), change the optlen parameter of do_set3() to be of type size_t
and as such more appropriate than uintptr_t, too.

MFC after:	3 days
2016-12-28 23:34:28 +00:00
..
altq.c
dummynet.c
ipfw2.c Fix a bug in r272840; given that the optlen parameter of setsockopt(2) 2016-12-28 23:34:28 +00:00
ipfw2.h Fix a bug in r272840; given that the optlen parameter of setsockopt(2) 2016-12-28 23:34:28 +00:00
ipfw.8
ipv6.c Add missing support of named lookup tables to the IPv6 code. 2016-11-15 07:13:16 +00:00
main.c
Makefile
Makefile.depend
nat64lsn.c
nat64stl.c
nat.c
nptv6.c
tables.c