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

Side by Side Diff: net/socket/sctp_support.h

Issue 6800009: Attn: Mike Belshe Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef NET_SOCKET_SCTP_SUPPORT_H_
6 #define NET_SOCKET_SCTP_SUPPORT_H_
7
8 #include "base/basictypes.h"
9
10 // TODO(jtl): consider implementing kNumberOfSctpStreamsToRequest and
11 // kSctpMaxBurst.
12
13 namespace net {
14
15 // sctp_enabled returns true if all sockets are forced to use the SCTP transport
16 // protocol.
17 bool sctp_enabled();
18
19 // Force all sockets to use the SCTP transport protocol.
20 void set_sctp_enabled();
21
22 // sctp_control_stream_enabled returns true if all sockets are using the SCTP
23 // transport protocol, and all SPDY control frames are sent on SCTP stream ID 0.
24 bool sctp_control_stream_enabled();
25
26 // Send all SPDY control frames on SCTP stream ID 0.
27 void set_sctp_control_stream_enabled();
28
29 } // namespace net
30
31 #endif // NET_SOCKET_SCTP_SUPPORT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698