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

Issue 174030043: code review 174030043: x/net/ipv4: add support for source-specific multicast (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 5 months ago by mikio
Modified:
9 years, 5 months ago
Reviewers:
iant
CC:
iant, golang-codereviews
Visibility:
Public.

Description

x/net/ipv4: add support for source-specific multicast This CL introduces methods for the manipulation of source-specifc group into both PacketConn and RawConn as follows: JoinSourceSpecificGroup(*net.Interface, net.Addr, net.Addr) error LeaveSourceSpecificGroup(*net.Interface, net.Addr, net.Addr) error ExcludeSourceSpecificGroup(*net.Interface, net.Addr, net.Addr) error IncludeSourceSpecificGroup(*net.Interface, net.Addr, net.Addr) error Fixes issue 8266.

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

Total comments: 4

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

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

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

Total comments: 4

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

Patch Set 6 : diff -r 31c92339d376e5de1f2ff7e0b39a0a5270df82dd https://code.google.com/p/go.net #

Unified diffs Side-by-side diffs Delta from patch set Stats (+483 lines, -220 lines) Patch
M ipv4/dgramopt_posix.go View 1 2 3 4 3 chunks +95 lines, -1 line 0 comments Download
M ipv4/dgramopt_stub.go View 1 1 chunk +16 lines, -0 lines 0 comments Download
M ipv4/doc.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M ipv4/header.go View 1 chunk +4 lines, -0 lines 0 comments Download
M ipv4/multicast_test.go View 1 2 3 4 5 chunks +256 lines, -189 lines 0 comments Download
M ipv4/multicastsockopt_test.go View 1 2 3 4 4 chunks +110 lines, -28 lines 0 comments Download

Messages

Total messages: 10
mikio
Hello iant@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.net
9 years, 5 months ago (2014-11-12 13:28:55 UTC) #1
iant
Consider writing some examples of using these features for real-world uses, perhaps in some other ...
9 years, 5 months ago (2014-11-12 21:39:59 UTC) #2
mikio
On Thu, Nov 13, 2014 at 6:39 AM, <iant@golang.org> wrote: > Looking at the ip(7) ...
9 years, 5 months ago (2014-11-12 21:57:55 UTC) #3
iant
On Wed, Nov 12, 2014 at 1:57 PM, Mikio Hara <mikioh.mikioh@gmail.com> wrote: > On Thu, ...
9 years, 5 months ago (2014-11-12 23:24:14 UTC) #4
mikio
> When I search for "multicast channel subscribe" I don't come up with > anything. ...
9 years, 5 months ago (2014-11-13 00:04:55 UTC) #5
iant
On Wed, Nov 12, 2014 at 4:04 PM, <mikioh.mikioh@gmail.com> wrote: >> When I search for ...
9 years, 5 months ago (2014-11-13 00:11:16 UTC) #6
mikio
ptal > Consider writing some examples of using these features for real-world uses, perhaps in ...
9 years, 5 months ago (2014-11-13 02:38:54 UTC) #7
iant
LGTM https://codereview.appspot.com/174030043/diff/160001/ipv4/dgramopt_posix.go File ipv4/dgramopt_posix.go (right): https://codereview.appspot.com/174030043/diff/160001/ipv4/dgramopt_posix.go#newcode98 ipv4/dgramopt_posix.go:98: // possible to mute and unmute data transmission ...
9 years, 5 months ago (2014-11-13 05:17:41 UTC) #8
mikio
will submit with a few nitpicks in test found by vet. On Thu, Nov 13, ...
9 years, 5 months ago (2014-11-13 06:17:18 UTC) #9
mikio
9 years, 5 months ago (2014-11-13 08:23:53 UTC) #10
*** Submitted as
https://code.google.com/p/go/source/detail?r=8fd8d3a0313c&repo=net ***

x/net/ipv4: add support for source-specific multicast

This CL introduces methods for the manipulation of source-specifc
group into both PacketConn and RawConn as follows:

JoinSourceSpecificGroup(*net.Interface, net.Addr, net.Addr) error
LeaveSourceSpecificGroup(*net.Interface, net.Addr, net.Addr) error
ExcludeSourceSpecificGroup(*net.Interface, net.Addr, net.Addr) error
IncludeSourceSpecificGroup(*net.Interface, net.Addr, net.Addr) error

Fixes issue 8266.

LGTM=iant
R=iant
CC=golang-codereviews
https://codereview.appspot.com/174030043

https://codereview.appspot.com/174030043/diff/160001/ipv4/dgramopt_posix.go
File ipv4/dgramopt_posix.go (right):

https://codereview.appspot.com/174030043/diff/160001/ipv4/dgramopt_posix.go#n...
ipv4/dgramopt_posix.go:98: // possible to mute and unmute data transmission from
a spcific source
On 2014/11/13 05:17:40, iant wrote:
> s/spcific/specific/

Done.

https://codereview.appspot.com/174030043/diff/160001/ipv4/dgramopt_posix.go#n...
ipv4/dgramopt_posix.go:136: // JoinSourceSpecificGroup joins the source-specific
group consists of
On 2014/11/13 05:17:40, iant wrote:
> I'm not sure what the first sentence mean.  Do you mean s/consists/consisting/
?

Done.
Sign in to reply to this message.

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