|
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().
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+856 lines, -275 lines) |
Patch |
|
M |
CONTRIBUTORS
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Makefile
|
View
|
1
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
A |
include/ip.h
|
View
|
1
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
|
M |
kern/devip.h
|
View
|
1
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
kern/devip.c
|
View
|
1
|
18 chunks |
+38 lines, -183 lines |
0 comments
|
Download
|
|
M |
kern/devip-posix.c
|
View
|
1
|
8 chunks |
+102 lines, -41 lines |
0 comments
|
Download
|
|
M |
kern/devip-win32.c
|
View
|
1
|
7 chunks |
+91 lines, -40 lines |
0 comments
|
Download
|
|
M |
kern/fns.h
|
View
|
1
|
1 chunk |
+0 lines, -6 lines |
0 comments
|
Download
|
|
A |
libip/Makefile
|
View
|
1
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
A |
libip/bo.c
|
View
|
1
|
1 chunk |
+77 lines, -0 lines |
0 comments
|
Download
|
|
A |
libip/classmask.c
|
View
|
1
|
1 chunk |
+86 lines, -0 lines |
0 comments
|
Download
|
|
A |
libip/eipfmt.c
|
View
|
1
|
1 chunk |
+109 lines, -0 lines |
0 comments
|
Download
|
|
A |
libip/ipaux.c
|
View
|
1
|
1 chunk |
+102 lines, -0 lines |
0 comments
|
Download
|
|
A |
libip/parseip.c
|
View
|
1
|
1 chunk |
+184 lines, -0 lines |
0 comments
|
Download
|
Total messages: 4
|