nmap/libdnet-stripped/src
david 02cb2931aa Fix rt_msghdr padding on NetBSD.
NetBSD uses a fixed 64-bit padding, unlike OS X (32-bit), and unlike
other platforms (sizeof(unsigned long)). There is an RT_ROUNDUP macro
that does the right alignment; use that when available.

http://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/lib/libc/net/getifaddrs.c
http://fxr.watson.org/fxr/source/net/route.h?v=NETBSD#L270

Rounding to 4 bytes was breaking with IPv6 addresses, which are 28
bytes. The pointer was being advanced by 28 instead of 32. Compare to
r29739, somewhat similar.

Reported by Fredrik Pettai.
http://seclists.org/nmap-dev/2013/q1/384
2013-06-01 16:28:44 +00:00
..
addr-util.c Get rid of ntohs in ip6_ntop. 2013-01-30 08:47:24 +00:00
addr.c Handle AppleTalk devices 2013-02-14 23:32:52 +00:00
arp-bsd.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
arp-ioctl.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
arp-none.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
arp-win32.c Check some libdnet mallocs for failure. 2012-11-22 00:50:18 +00:00
blob.c Changd some calls to ctype functions so that their arguments are explicitly cast 2009-08-06 16:12:21 +00:00
crc32ct.h o Added initial SCTP port scanning support to Nmap. SCTP is 2009-06-03 23:15:45 +00:00
err.c
eth-bsd.c Open bpf devices in read/write mode, not read-only, in libdnet on BSD. This is 2009-11-09 04:49:32 +00:00
eth-dlpi.c Try /dev/net/<iface> after /dev/<iface> with DLPI. 2012-03-17 12:06:27 +00:00
eth-linux.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
eth-ndd.c Set sa.sndd_8022_ethertype to 0 in eth-ndd.c. 2012-12-08 11:04:23 +00:00
eth-none.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
eth-pfilt.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
eth-snoop.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
eth-win32.c Move the body of eth_get_pcap_devname back into intf_get_pcap_devname, leaving 2010-05-13 04:06:53 +00:00
fw-none.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
intf-win32.c Use a large initial buffer in the call to GetAdaptersAddresses. 2012-05-10 21:29:54 +00:00
intf.c Updated libdnet to not SIOCIFNETMASK before SIOCIFADDR on OpenBSD. This was 2013-05-17 21:38:08 +00:00
ip-cooked.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
ip-util.c o Added initial SCTP port scanning support to Nmap. SCTP is 2009-06-03 23:15:45 +00:00
ip-win32.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
ip.c Use socklen_t as the type in arguments to getsockname and getsockopt to 2009-08-07 00:11:57 +00:00
ip6.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
Makefile.am Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
Makefile.in autoreconf with Autoconf 2.63, Automake 1.10.1, and libtool 2.2.6. 2009-08-06 22:00:34 +00:00
memcmp.c
rand.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
route-bsd.c Fix rt_msghdr padding on NetBSD. 2013-06-01 16:28:44 +00:00
route-hpux.c Add metric to struct route_entry. 2013-02-01 05:01:56 +00:00
route-linux.c Add metric to struct route_entry. 2013-02-01 05:01:56 +00:00
route-none.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
route-win32.c Add metric to struct route_entry. 2013-02-01 05:01:56 +00:00
strlcat.c
strlcpy.c
strsep.c
tun-bsd.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
tun-linux.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
tun-none.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00
tun-solaris.c Upgrading shipped libdnet to 1.12 2008-09-19 06:12:25 +00:00