| Index: net/socket/sctp_support.h
|
| ===================================================================
|
| --- net/socket/sctp_support.h (revision 0)
|
| +++ net/socket/sctp_support.h (revision 0)
|
| @@ -0,0 +1,31 @@
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef NET_SOCKET_SCTP_SUPPORT_H_
|
| +#define NET_SOCKET_SCTP_SUPPORT_H_
|
| +
|
| +#include "base/basictypes.h"
|
| +
|
| +// TODO(jtl): consider implementing kNumberOfSctpStreamsToRequest and
|
| +// kSctpMaxBurst.
|
| +
|
| +namespace net {
|
| +
|
| +// sctp_enabled returns true if all sockets are forced to use the SCTP transport
|
| +// protocol.
|
| +bool sctp_enabled();
|
| +
|
| +// Force all sockets to use the SCTP transport protocol.
|
| +void set_sctp_enabled();
|
| +
|
| +// sctp_control_stream_enabled returns true if all sockets are using the SCTP
|
| +// transport protocol, and all SPDY control frames are sent on SCTP stream ID 0.
|
| +bool sctp_control_stream_enabled();
|
| +
|
| +// Send all SPDY control frames on SCTP stream ID 0.
|
| +void set_sctp_control_stream_enabled();
|
| +
|
| +} // namespace net
|
| +
|
| +#endif // NET_SOCKET_SCTP_SUPPORT_H_
|
|
|
| Property changes on: net/socket/sctp_support.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|