1*d9f75844SAndroid Build Coastguard Worker /* 2*d9f75844SAndroid Build Coastguard Worker * Copyright (c) 2021 The WebRTC project authors. All Rights Reserved. 3*d9f75844SAndroid Build Coastguard Worker * 4*d9f75844SAndroid Build Coastguard Worker * Use of this source code is governed by a BSD-style license 5*d9f75844SAndroid Build Coastguard Worker * that can be found in the LICENSE file in the root of the source 6*d9f75844SAndroid Build Coastguard Worker * tree. An additional intellectual property rights grant can be found 7*d9f75844SAndroid Build Coastguard Worker * in the file PATENTS. All contributing project authors may 8*d9f75844SAndroid Build Coastguard Worker * be found in the AUTHORS file in the root of the source tree. 9*d9f75844SAndroid Build Coastguard Worker */ 10*d9f75844SAndroid Build Coastguard Worker #ifndef NET_DCSCTP_SOCKET_CAPABILITIES_H_ 11*d9f75844SAndroid Build Coastguard Worker #define NET_DCSCTP_SOCKET_CAPABILITIES_H_ 12*d9f75844SAndroid Build Coastguard Worker 13*d9f75844SAndroid Build Coastguard Worker #include <cstdint> 14*d9f75844SAndroid Build Coastguard Worker namespace dcsctp { 15*d9f75844SAndroid Build Coastguard Worker // Indicates what the association supports, meaning that both parties 16*d9f75844SAndroid Build Coastguard Worker // support it and that feature can be used. 17*d9f75844SAndroid Build Coastguard Worker struct Capabilities { 18*d9f75844SAndroid Build Coastguard Worker // RFC3758 Partial Reliability Extension 19*d9f75844SAndroid Build Coastguard Worker bool partial_reliability = false; 20*d9f75844SAndroid Build Coastguard Worker // RFC8260 Stream Schedulers and User Message Interleaving 21*d9f75844SAndroid Build Coastguard Worker bool message_interleaving = false; 22*d9f75844SAndroid Build Coastguard Worker // RFC6525 Stream Reconfiguration 23*d9f75844SAndroid Build Coastguard Worker bool reconfig = false; 24*d9f75844SAndroid Build Coastguard Worker // Negotiated maximum incoming and outgoing stream count. 25*d9f75844SAndroid Build Coastguard Worker uint16_t negotiated_maximum_incoming_streams = 0; 26*d9f75844SAndroid Build Coastguard Worker uint16_t negotiated_maximum_outgoing_streams = 0; 27*d9f75844SAndroid Build Coastguard Worker }; 28*d9f75844SAndroid Build Coastguard Worker } // namespace dcsctp 29*d9f75844SAndroid Build Coastguard Worker 30*d9f75844SAndroid Build Coastguard Worker #endif // NET_DCSCTP_SOCKET_CAPABILITIES_H_ 31