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

Issue 7300081: code review 7300081: net: set up IPv6 scoped addressing zone for network fac... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by mikio
Modified:
11 years, 2 months ago
Reviewers:
CC:
rsc, dave_cheney.net, golang-dev
Visibility:
Public.

Description

net: set up IPv6 scoped addressing zone for network facilities This CL changes nothing to existing API behavior, just sets up Zone in IPNet and IPAddr structures if possible. Also does small simplification. Update issue 4234.

Patch Set 1 : diff -r a44171137af8 https://code.google.com/p/go #

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

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

Total comments: 3

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

Total comments: 4

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -64 lines) Patch
M src/pkg/net/interface_bsd.go View 1 2 3 4 4 chunks +22 lines, -28 lines 0 comments Download
M src/pkg/net/interface_darwin.go View 1 2 3 4 2 chunks +9 lines, -13 lines 0 comments Download
M src/pkg/net/interface_freebsd.go View 1 2 3 4 2 chunks +9 lines, -13 lines 0 comments Download
M src/pkg/net/interface_linux.go View 1 2 3 4 9 chunks +10 lines, -10 lines 0 comments Download
M src/pkg/net/interface_netbsd.go View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/net/interface_openbsd.go View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/net/interface_windows.go View 1 2 3 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8
mikio
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 2 months ago (2013-02-11 12:55:54 UTC) #1
dave_cheney.net
Thank you, I think this is very close. Does it need a test for the ...
11 years, 2 months ago (2013-02-15 11:58:06 UTC) #2
mikio
Hello rsc@golang.org, dave@cheney.net (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 2 months ago (2013-02-16 05:00:09 UTC) #3
mikio
PTAL. > Does it need a test for the new Zone setting behavior. nope, for ...
11 years, 2 months ago (2013-02-16 05:06:36 UTC) #4
dave_cheney.net
LGTM providing there is a decision on issue https://code.google.com/p/go/issues/detail?id=4501
11 years, 2 months ago (2013-02-17 00:25:14 UTC) #5
mikio
Russ? I think this CL doesn't step across the Rubicon yet and easy to revert, ...
11 years, 2 months ago (2013-02-17 06:01:37 UTC) #6
rsc
LGTM https://codereview.appspot.com/7300081/diff/14001/src/pkg/net/interface_linux.go File src/pkg/net/interface_linux.go (right): https://codereview.appspot.com/7300081/diff/14001/src/pkg/net/interface_linux.go#newcode32 src/pkg/net/interface_linux.go:32: break done done is weird label for a ...
11 years, 2 months ago (2013-02-19 15:20:31 UTC) #7
mikio
11 years, 2 months ago (2013-02-19 23:18:14 UTC) #8
*** Submitted as https://code.google.com/p/go/source/detail?r=a81ef8e0cc05 ***

net: set up IPv6 scoped addressing zone for network facilities

This CL changes nothing to existing API behavior, just sets up
Zone in IPNet and IPAddr structures if possible.

Also does small simplification.

Update issue 4234.

R=rsc, dave
CC=golang-dev
https://codereview.appspot.com/7300081

https://codereview.appspot.com/7300081/diff/14001/src/pkg/net/interface_linux.go
File src/pkg/net/interface_linux.go (right):

https://codereview.appspot.com/7300081/diff/14001/src/pkg/net/interface_linux...
src/pkg/net/interface_linux.go:32: break done
On 2013/02/19 15:20:31, rsc wrote:
> done is weird label for a for loop. If you want to use a labeled break, please
> use a label like Loop or MessageLoop.

Done.

https://codereview.appspot.com/7300081/diff/14001/src/pkg/net/interface_linux...
src/pkg/net/interface_linux.go:116: break done
On 2013/02/19 15:20:31, rsc wrote:
> Same.

Done.
Sign in to reply to this message.

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