Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Issue 99923004: Add support of IP_MULTICAST_IF in UDP sockets. (Closed)

Created:
7 years ago by Vitaly Buka (NO REVIEWS)
Modified:
7 years ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, mmenke, Wez
Visibility:
Public.

Description

Add support of IP_MULTICAST_IF in UDP sockets. BUG=319068 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=238939

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : #

Patch Set 4 : #

Total comments: 7

Patch Set 5 : #

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -18 lines) Patch
M content/browser/renderer_host/p2p/socket_host_udp_unittest.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M net/dns/mock_mdns_socket_factory.h View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M net/udp/datagram_server_socket.h View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M net/udp/udp_server_socket.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M net/udp/udp_server_socket.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M net/udp/udp_socket_libevent.h View 1 2 3 2 chunks +9 lines, -0 lines 0 comments Download
M net/udp/udp_socket_libevent.cc View 1 2 3 4 5 8 chunks +83 lines, -6 lines 0 comments Download
M net/udp/udp_socket_unittest.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M net/udp/udp_socket_win.h View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download
M net/udp/udp_socket_win.cc View 1 2 3 4 7 chunks +41 lines, -8 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
Vitaly Buka (NO REVIEWS)
7 years ago (2013-12-02 21:25:28 UTC) #1
Vitaly Buka (NO REVIEWS)
On 2013/12/02 21:25:28, Vitaly Buka wrote: Nees some work, it shoulbe be done with SetSocketOptions
7 years ago (2013-12-02 21:43:40 UTC) #2
Noam Samuel
https://codereview.chromium.org/99923004/diff/20001/net/udp/udp_socket_libevent.cc File net/udp/udp_socket_libevent.cc (right): https://codereview.chromium.org/99923004/diff/20001/net/udp/udp_socket_libevent.cc#newcode540 net/udp/udp_socket_libevent.cc:540: address.s_addr = htonl(multicast_interface_); I know that the 0.x.x.x address ...
7 years ago (2013-12-02 22:05:53 UTC) #3
szym
https://codereview.chromium.org/99923004/diff/20001/net/udp/udp_socket_libevent.cc File net/udp/udp_socket_libevent.cc (right): https://codereview.chromium.org/99923004/diff/20001/net/udp/udp_socket_libevent.cc#newcode540 net/udp/udp_socket_libevent.cc:540: address.s_addr = htonl(multicast_interface_); On 2013/12/02 22:05:54, Noam Samuel wrote: ...
7 years ago (2013-12-03 07:42:11 UTC) #4
szym
Can you explain how adding this option will address the linked BUG? In particular, how ...
7 years ago (2013-12-03 07:44:58 UTC) #5
Vitaly Buka (NO REVIEWS)
On 2013/12/03 07:44:58, szym wrote: > Can you explain how adding this option will address ...
7 years ago (2013-12-03 09:40:41 UTC) #6
Vitaly Buka (NO REVIEWS)
done
7 years ago (2013-12-03 11:17:04 UTC) #7
szym
On 2013/12/03 09:40:41, Vitaly Buka wrote: > On 2013/12/03 07:44:58, szym wrote: > > Can ...
7 years ago (2013-12-03 11:29:51 UTC) #8
Vitaly Buka (NO REVIEWS)
On 2013/12/03 11:29:51, szym wrote: > On 2013/12/03 09:40:41, Vitaly Buka wrote: > > On ...
7 years ago (2013-12-03 11:38:44 UTC) #9
Vitaly Buka (NO REVIEWS)
7 years ago (2013-12-03 23:06:04 UTC) #10
szym
I am concerned that passing invalid interface index will fail silently with bind to "default". ...
7 years ago (2013-12-04 00:52:14 UTC) #11
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/99923004/diff/160001/net/udp/udp_socket_libevent.cc File net/udp/udp_socket_libevent.cc (right): https://codereview.chromium.org/99923004/diff/160001/net/udp/udp_socket_libevent.cc#newcode44 net/udp/udp_socket_libevent.cc:44: return htonl(INADDR_ANY); For current use-cases returning error is not ...
7 years ago (2013-12-04 01:00:48 UTC) #12
Vitaly Buka (NO REVIEWS)
https://codereview.chromium.org/99923004/diff/160001/net/udp/udp_socket_libevent.cc File net/udp/udp_socket_libevent.cc (right): https://codereview.chromium.org/99923004/diff/160001/net/udp/udp_socket_libevent.cc#newcode36 net/udp/udp_socket_libevent.cc:36: uint32 GetIPv4AddressFromIndex(int socket, uint32 index){ On 2013/12/04 00:52:15, szym ...
7 years ago (2013-12-04 09:39:36 UTC) #13
Vitaly Buka (NO REVIEWS)
On 2013/12/04 09:39:36, Vitaly Buka wrote: > https://codereview.chromium.org/99923004/diff/160001/net/udp/udp_socket_libevent.cc > File net/udp/udp_socket_libevent.cc (right): > > https://codereview.chromium.org/99923004/diff/160001/net/udp/udp_socket_libevent.cc#newcode36 ...
7 years ago (2013-12-04 21:55:26 UTC) #14
Vitaly Buka (NO REVIEWS)
7 years ago (2013-12-04 21:55:35 UTC) #15
Alpha Left Google
On 2013/12/04 21:55:35, Vitaly Buka wrote: LGTM.
7 years ago (2013-12-04 21:56:43 UTC) #16
szym
lgtm
7 years ago (2013-12-04 22:06:00 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/99923004/180001
7 years ago (2013-12-04 22:07:42 UTC) #18
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) app_list_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, cc_unittests, check_deps, ...
7 years ago (2013-12-04 22:29:00 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/vitalybuka@chromium.org/99923004/200001
7 years ago (2013-12-05 07:58:09 UTC) #20
commit-bot: I haz the power
7 years ago (2013-12-05 11:19:44 UTC) #21
Message was sent while issue was closed.
Change committed as 238939

Powered by Google App Engine
This is Rietveld 408576698