blob: 970ff93b9b93f4fc9557a170e9d5dc76b3bad116 [file] [log] [blame]
henrike@webrtc.orgf7795df2014-05-13 18:00:26 +00001/*
2 * Copyright 2013 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
11#ifndef WEBRTC_BASE_DSCP_H_
12#define WEBRTC_BASE_DSCP_H_
13
14namespace rtc {
15// Differentiated Services Code Point.
16// See http://tools.ietf.org/html/rfc2474 for details.
17enum DiffServCodePoint {
18 DSCP_NO_CHANGE = -1,
19 DSCP_DEFAULT = 0, // Same as DSCP_CS0
20 DSCP_CS0 = 0, // The default
21 DSCP_CS1 = 8, // Bulk/background traffic
22 DSCP_AF11 = 10,
23 DSCP_AF12 = 12,
24 DSCP_AF13 = 14,
25 DSCP_CS2 = 16,
26 DSCP_AF21 = 18,
27 DSCP_AF22 = 20,
28 DSCP_AF23 = 22,
29 DSCP_CS3 = 24,
30 DSCP_AF31 = 26,
31 DSCP_AF32 = 28,
32 DSCP_AF33 = 30,
33 DSCP_CS4 = 32,
34 DSCP_AF41 = 34, // Video
35 DSCP_AF42 = 36, // Video
36 DSCP_AF43 = 38, // Video
37 DSCP_CS5 = 40, // Video
38 DSCP_EF = 46, // Voice
39 DSCP_CS6 = 48, // Voice
40 DSCP_CS7 = 56, // Control messages
41};
42
43} // namespace rtc
44
45 #endif // WEBRTC_BASE_DSCP_H_