| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2016 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 #ifndef WEBRTC_P2P_BASE_DTLSTRANSPORTINTERNAL_H_ | 11 #ifndef WEBRTC_P2P_BASE_DTLSTRANSPORTINTERNAL_H_ |
| 12 #define WEBRTC_P2P_BASE_DTLSTRANSPORTINTERNAL_H_ | 12 #define WEBRTC_P2P_BASE_DTLSTRANSPORTINTERNAL_H_ |
| 13 | 13 |
| 14 #include <memory> | 14 #include <memory> |
| 15 #include <string> | 15 #include <string> |
| 16 #include <vector> | 16 #include <vector> |
| 17 | 17 |
| 18 #include "webrtc/base/sslstreamadapter.h" |
| 19 #include "webrtc/base/stringencode.h" |
| 18 #include "webrtc/p2p/base/icetransportinternal.h" | 20 #include "webrtc/p2p/base/icetransportinternal.h" |
| 19 #include "webrtc/p2p/base/jseptransport.h" | 21 #include "webrtc/p2p/base/jseptransport.h" |
| 20 #include "webrtc/p2p/base/packettransportinternal.h" | 22 #include "webrtc/p2p/base/packettransportinternal.h" |
| 21 #include "webrtc/rtc_base/sslstreamadapter.h" | |
| 22 #include "webrtc/rtc_base/stringencode.h" | |
| 23 | 23 |
| 24 namespace cricket { | 24 namespace cricket { |
| 25 | 25 |
| 26 enum PacketFlags { | 26 enum PacketFlags { |
| 27 PF_NORMAL = 0x00, // A normal packet. | 27 PF_NORMAL = 0x00, // A normal packet. |
| 28 PF_SRTP_BYPASS = 0x01, // An encrypted SRTP packet; bypass any additional | 28 PF_SRTP_BYPASS = 0x01, // An encrypted SRTP packet; bypass any additional |
| 29 // crypto provided by the transport (e.g. DTLS) | 29 // crypto provided by the transport (e.g. DTLS) |
| 30 }; | 30 }; |
| 31 | 31 |
| 32 // DtlsTransportInternal is an internal interface that does DTLS, also | 32 // DtlsTransportInternal is an internal interface that does DTLS, also |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 protected: | 101 protected: |
| 102 DtlsTransportInternal() {} | 102 DtlsTransportInternal() {} |
| 103 | 103 |
| 104 private: | 104 private: |
| 105 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportInternal); | 105 RTC_DISALLOW_COPY_AND_ASSIGN(DtlsTransportInternal); |
| 106 }; | 106 }; |
| 107 | 107 |
| 108 } // namespace cricket | 108 } // namespace cricket |
| 109 | 109 |
| 110 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTINTERNAL_H_ | 110 #endif // WEBRTC_P2P_BASE_DTLSTRANSPORTINTERNAL_H_ |
| OLD | NEW |