nmap/libdnet-stripped
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
..
config Use getkerninfo to get routing information on AIX. 2011-09-21 07:31:34 +00:00
include Handle AppleTalk devices 2013-02-14 23:32:52 +00:00
src Fix rt_msghdr padding on NetBSD. 2013-06-01 16:28:44 +00:00
acconfig.h Add semicolons to the socklen_t typedefs, thanks again to Michael 2010-01-14 06:04:17 +00:00
aclocal.m4 autoreconf with Autoconf 2.63, Automake 1.10.1, and libtool 2.2.6. 2009-08-06 22:00:34 +00:00
configure Check for <netinet/in6_var.h>. 2011-09-28 06:55:47 +00:00
configure.in Check for <netinet/in6_var.h>. 2011-09-28 06:55:47 +00:00
dnet-config.in
INSTALL
libdnet-stripped.vcxproj Use the default value of MultiThreadedDLL where possible. 2013-02-09 20:30:01 +00:00
LICENSE
Makefile.am Don't use the removed directorie man, python, and test in Makefile.am. 2009-08-06 21:45:19 +00:00
Makefile.am.common
Makefile.in autoreconf with Autoconf 2.63, Automake 1.10.1, and libtool 2.2.6. 2009-08-06 22:00:34 +00:00
NMAP_MODIFICATIONS Fix rt_msghdr padding on NetBSD. 2013-06-01 16:28:44 +00:00
README
THANKS
TODO

libdnet
-------

libdnet provides a simplified, portable interface to several low-level
networking routines, including network address manipulation, kernel
arp(4) cache and route(4) table lookup and manipulation, network
firewalling, network interface lookup and manipulation, IP tunnelling,
and raw IP packet and Ethernet frame transmission.

WWW: http://libdnet.sourceforge.net/

$Id: README 578 2005-02-14 21:00:17Z dugsong $