Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1375)

Issue 13368044: code review 13368044: net: add netaddr interface (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 7 months ago by mikio
Modified:
10 years, 7 months ago
Reviewers:
bradfitz
CC:
golang-dev, bradfitz
Visibility:
Public.

Description

net: add netaddr interface This CL adds the netaddr interface that will carry a single network endpoint address or a short list of IP addresses to dial helper functions in the upcoming CLs. This is in preparation for TCP connection setup with fast failover on dual IP stack node as described in RFC 6555. Update issue 3610 Update issue 5267

Patch Set 1 #

Patch Set 2 : diff -r 162abca105d5 https://code.google.com/p/go #

Patch Set 3 : diff -r 162abca105d5 https://code.google.com/p/go #

Total comments: 4

Patch Set 4 : diff -r c98067b47ab0 https://code.google.com/p/go #

Patch Set 5 : diff -r bd825a13f08b https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -73 lines) Patch
M src/pkg/net/dial.go View 1 3 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/net/dial_gen.go View 1 2 chunks +3 lines, -3 lines 0 comments Download
M src/pkg/net/fd_unix.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/net/fd_windows.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/net/iprawsock.go View 1 2 chunks +8 lines, -1 line 0 comments Download
M src/pkg/net/iprawsock_posix.go View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download
M src/pkg/net/ipsock.go View 1 2 3 5 chunks +44 lines, -29 lines 0 comments Download
M src/pkg/net/sock_posix.go View 1 2 chunks +2 lines, -5 lines 0 comments Download
M src/pkg/net/tcpsock.go View 1 2 chunks +8 lines, -1 line 0 comments Download
M src/pkg/net/tcpsock_posix.go View 1 1 chunk +0 lines, -7 lines 0 comments Download
M src/pkg/net/udpsock.go View 1 2 chunks +8 lines, -1 line 0 comments Download
M src/pkg/net/udpsock_posix.go View 1 1 chunk +0 lines, -7 lines 0 comments Download
M src/pkg/net/unixsock.go View 1 1 chunk +7 lines, -0 lines 0 comments Download
M src/pkg/net/unixsock_posix.go View 1 2 3 1 chunk +0 lines, -7 lines 0 comments Download

Messages

Total messages: 7
mikio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
10 years, 7 months ago (2013-08-29 01:10:40 UTC) #1
bradfitz
https://codereview.appspot.com/13368044/diff/6001/src/pkg/net/ipsock.go File src/pkg/net/ipsock.go (right): https://codereview.appspot.com/13368044/diff/6001/src/pkg/net/ipsock.go#newcode42 src/pkg/net/ipsock.go:42: func firstFavoriteAddr(filter func(IP) IP, addrs []string, inetaddr func(IP) netaddr) ...
10 years, 7 months ago (2013-08-29 04:22:58 UTC) #2
mikio
On Thu, Aug 29, 2013 at 1:22 PM, <bradfitz@golang.org> wrote: > To be clear, we ...
10 years, 7 months ago (2013-08-29 05:27:55 UTC) #3
bradfitz
An error is okay too. Just not (nil, nil) On Aug 28, 2013 10:27 PM, ...
10 years, 7 months ago (2013-08-29 05:46:27 UTC) #4
mikio
gotcha+ptal https://codereview.appspot.com/13368044/diff/6001/src/pkg/net/ipsock.go File src/pkg/net/ipsock.go (right): https://codereview.appspot.com/13368044/diff/6001/src/pkg/net/ipsock.go#newcode42 src/pkg/net/ipsock.go:42: func firstFavoriteAddr(filter func(IP) IP, addrs []string, inetaddr func(IP) ...
10 years, 7 months ago (2013-08-29 05:55:02 UTC) #5
bradfitz
LGTM On Wed, Aug 28, 2013 at 10:55 PM, <mikioh.mikioh@gmail.com> wrote: > gotcha+ptal > > ...
10 years, 7 months ago (2013-08-29 19:02:49 UTC) #6
mikio
10 years, 7 months ago (2013-08-30 00:09:51 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=87e254f60143 ***

net: add netaddr interface

This CL adds the netaddr interface that will carry a single network
endpoint address or a short list of IP addresses to dial helper
functions in the upcoming CLs.

This is in preparation for TCP connection setup with fast failover on
dual IP stack node as described in RFC 6555.

Update issue 3610
Update issue 5267

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/13368044
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b