|
net: drop laddr from Dial, cname from LookupHost; new functions
Drop laddr argument from Dial.
Drop cname return from LookupHost.
Add LookupIP, LookupCNAME, ParseCIDR, IP.Equal.
Export SplitHostPort, JoinHostPort.
Add AAAA (IPv6) support to host lookups.
Preparations for implementing some of the
lookups using cgo.
ParseCIDR and IP.Equal are logically new in this CL
but accidentally snuck into an earlier CL about unused
labels that was in the same client.
In crypto/tls, drop laddr from Dial to match net.
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+352 lines, -145 lines) |
Patch |
 |
M |
src/pkg/crypto/tls/handshake_client_test.go
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/crypto/tls/tls.go
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/pkg/net/Makefile
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
src/pkg/net/cgo_stub.go
|
View
|
1
2
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/pkg/net/dial.go
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+27 lines, -52 lines |
0 comments
|
Download
|
 |
M |
src/pkg/net/dialgoogle_test.go
|
View
|
1
2
3
4
5
|
3 chunks |
+10 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/pkg/net/dnsclient.go
|
View
|
1
2
3
4
5
|
5 chunks |
+71 lines, -9 lines |
0 comments
|
Download
|
 |
M |
src/pkg/net/dnsmsg.go
|
View
|
1
|
8 chunks |
+39 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/pkg/net/hosts_test.go
|
View
|
1
2
3
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/net/ip.go
|
View
|
1
2
3
4
5
6
|
2 chunks |
+32 lines, -19 lines |
0 comments
|
Download
|
 |
M |
src/pkg/net/ip_test.go
|
View
|
1
2
3
4
5
6
|
3 chunks |
+70 lines, -20 lines |
0 comments
|
Download
|
 |
M |
src/pkg/net/iprawsock.go
|
View
|
1
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/net/ipsock.go
|
View
|
1
3
|
4 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
A |
src/pkg/net/lookup.go
|
View
|
1
2
3
4
5
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/pkg/net/net_test.go
|
View
|
1
2
3
4
5
|
2 chunks |
+11 lines, -12 lines |
0 comments
|
Download
|
 |
M |
src/pkg/net/port.go
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/pkg/net/server_test.go
|
View
|
1
2
3
4
5
6
|
1 chunk |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/pkg/net/sock.go
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/pkg/net/tcpsock.go
|
View
|
1
2
3
4
5
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
src/pkg/net/textproto/textproto.go
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/net/timeout_test.go
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/pkg/net/udpsock.go
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 8
|