Commit Graph

5 Commits

Author SHA1 Message Date
David du Colombier 23a48c7cfe devip: add support for IPv6
Addresses are now stored as uchar[16] instead
of ulong, with enough room for IPv6.

Generic IP functions have been removed from
devip.c and replaced by libip, imported from
Plan 9.

Names and addresses are resolved using either
gethostbyname() or getaddrinfo() functions.

On Windows, IPv6 name resolution is not enabled,
because mingw32 doesn't provide inet_ntop().

R=rsc
http://codereview.appspot.com/6408044
2012-08-03 21:30:17 +02:00
Russ Cox 3bab3a220a win32 build; add -r option 2009-08-25 22:46:22 -07:00
Russ Cox ee5fc884bd fixes 2005-11-08 01:35:49 +00:00
Russ Cox 494adeed0b silence gcc warnings 2005-11-07 17:21:23 +00:00
Russ Cox 5d6ebf7a53 Merge in Windows port using mingw and make. 2005-10-31 15:30:23 +00:00