OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef NET_UDP_DIFF_SERV_CODE_POINT_H_ | 5 #ifndef NET_SOCKET_DIFF_SERV_CODE_POINT_H_ |
6 #define NET_UDP_DIFF_SERV_CODE_POINT_H_ | 6 #define NET_SOCKET_DIFF_SERV_CODE_POINT_H_ |
7 | 7 |
8 namespace net { | 8 namespace net { |
9 | 9 |
10 // Differentiated Services Code Point. | 10 // Differentiated Services Code Point. |
11 // See http://tools.ietf.org/html/rfc2474 for details. | 11 // See http://tools.ietf.org/html/rfc2474 for details. |
12 enum DiffServCodePoint { | 12 enum DiffServCodePoint { |
13 DSCP_NO_CHANGE = -1, | 13 DSCP_NO_CHANGE = -1, |
14 DSCP_FIRST = DSCP_NO_CHANGE, | 14 DSCP_FIRST = DSCP_NO_CHANGE, |
15 DSCP_DEFAULT = 0, // Same as DSCP_CS0 | 15 DSCP_DEFAULT = 0, // Same as DSCP_CS0 |
16 DSCP_CS0 = 0, // The default | 16 DSCP_CS0 = 0, // The default |
(...skipping 15 matching lines...) Expand all Loading... |
32 DSCP_AF43 = 38, // Video | 32 DSCP_AF43 = 38, // Video |
33 DSCP_CS5 = 40, // Video | 33 DSCP_CS5 = 40, // Video |
34 DSCP_EF = 46, // Voice | 34 DSCP_EF = 46, // Voice |
35 DSCP_CS6 = 48, // Voice | 35 DSCP_CS6 = 48, // Voice |
36 DSCP_CS7 = 56, // Control messages | 36 DSCP_CS7 = 56, // Control messages |
37 DSCP_LAST = DSCP_CS7 | 37 DSCP_LAST = DSCP_CS7 |
38 }; | 38 }; |
39 | 39 |
40 } // namespace net | 40 } // namespace net |
41 | 41 |
42 #endif // NET_UDP_DIFF_SERV_CODE_POINT_H_ | 42 #endif // NET_SOCKET_DIFF_SERV_CODE_POINT_H_ |
OLD | NEW |