Victor Boivie | 2150956 | 2021-04-07 08:57:28 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2021 The WebRTC project authors. All Rights Reserved. |
| 3 | * |
| 4 | * Use of this source code is governed by a BSD-style license |
| 5 | * that can be found in the LICENSE file in the root of the source |
| 6 | * tree. An additional intellectual property rights grant can be found |
| 7 | * in the file PATENTS. All contributing project authors may |
| 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | */ |
| 10 | #ifndef NET_DCSCTP_SOCKET_CAPABILITIES_H_ |
| 11 | #define NET_DCSCTP_SOCKET_CAPABILITIES_H_ |
| 12 | |
| 13 | namespace dcsctp { |
| 14 | // Indicates what the association supports, meaning that both parties |
| 15 | // support it and that feature can be used. |
| 16 | struct Capabilities { |
| 17 | // RFC3758 Partial Reliability Extension |
| 18 | bool partial_reliability = false; |
| 19 | // RFC8260 Stream Schedulers and User Message Interleaving |
| 20 | bool message_interleaving = false; |
| 21 | // RFC6525 Stream Reconfiguration |
| 22 | bool reconfig = false; |
| 23 | }; |
| 24 | } // namespace dcsctp |
| 25 | |
| 26 | #endif // NET_DCSCTP_SOCKET_CAPABILITIES_H_ |