OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2013 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_BASE_DSCP_H_ | 11 #ifndef WEBRTC_RTC_BASE_DSCP_H_ |
12 #define WEBRTC_BASE_DSCP_H_ | 12 #define WEBRTC_RTC_BASE_DSCP_H_ |
13 | 13 |
14 namespace rtc { | 14 namespace rtc { |
15 // Differentiated Services Code Point. | 15 // Differentiated Services Code Point. |
16 // See http://tools.ietf.org/html/rfc2474 for details. | 16 // See http://tools.ietf.org/html/rfc2474 for details. |
17 enum DiffServCodePoint { | 17 enum DiffServCodePoint { |
18 DSCP_NO_CHANGE = -1, | 18 DSCP_NO_CHANGE = -1, |
19 DSCP_DEFAULT = 0, // Same as DSCP_CS0 | 19 DSCP_DEFAULT = 0, // Same as DSCP_CS0 |
20 DSCP_CS0 = 0, // The default | 20 DSCP_CS0 = 0, // The default |
21 DSCP_CS1 = 8, // Bulk/background traffic | 21 DSCP_CS1 = 8, // Bulk/background traffic |
22 DSCP_AF11 = 10, | 22 DSCP_AF11 = 10, |
(...skipping 12 matching lines...) Expand all Loading... |
35 DSCP_AF42 = 36, // Video | 35 DSCP_AF42 = 36, // Video |
36 DSCP_AF43 = 38, // Video | 36 DSCP_AF43 = 38, // Video |
37 DSCP_CS5 = 40, // Video | 37 DSCP_CS5 = 40, // Video |
38 DSCP_EF = 46, // Voice | 38 DSCP_EF = 46, // Voice |
39 DSCP_CS6 = 48, // Voice | 39 DSCP_CS6 = 48, // Voice |
40 DSCP_CS7 = 56, // Control messages | 40 DSCP_CS7 = 56, // Control messages |
41 }; | 41 }; |
42 | 42 |
43 } // namespace rtc | 43 } // namespace rtc |
44 | 44 |
45 #endif // WEBRTC_BASE_DSCP_H_ | 45 #endif // WEBRTC_RTC_BASE_DSCP_H_ |
OLD | NEW |