Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(633)

Side by Side Diff: net/udp/diff_serv_code_point.h

Issue 2508593002: net: move udp directory into socket (Closed)
Patch Set: revert sys/socket.h change Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/udp/datagram_socket.h ('k') | net/udp/fuzzed_datagram_client_socket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef NET_UDP_DIFF_SERV_CODE_POINT_H_
6 #define NET_UDP_DIFF_SERV_CODE_POINT_H_
7
8 namespace net {
9
10 // Differentiated Services Code Point.
11 // See http://tools.ietf.org/html/rfc2474 for details.
12 enum DiffServCodePoint {
13 DSCP_NO_CHANGE = -1,
14 DSCP_FIRST = DSCP_NO_CHANGE,
15 DSCP_DEFAULT = 0, // Same as DSCP_CS0
16 DSCP_CS0 = 0, // The default
17 DSCP_CS1 = 8, // Bulk/background traffic
18 DSCP_AF11 = 10,
19 DSCP_AF12 = 12,
20 DSCP_AF13 = 14,
21 DSCP_CS2 = 16,
22 DSCP_AF21 = 18,
23 DSCP_AF22 = 20,
24 DSCP_AF23 = 22,
25 DSCP_CS3 = 24,
26 DSCP_AF31 = 26,
27 DSCP_AF32 = 28,
28 DSCP_AF33 = 30,
29 DSCP_CS4 = 32,
30 DSCP_AF41 = 34, // Video
31 DSCP_AF42 = 36, // Video
32 DSCP_AF43 = 38, // Video
33 DSCP_CS5 = 40, // Video
34 DSCP_EF = 46, // Voice
35 DSCP_CS6 = 48, // Voice
36 DSCP_CS7 = 56, // Control messages
37 DSCP_LAST = DSCP_CS7
38 };
39
40 } // namespace net
41
42 #endif // NET_UDP_DIFF_SERV_CODE_POINT_H_
OLDNEW
« no previous file with comments | « net/udp/datagram_socket.h ('k') | net/udp/fuzzed_datagram_client_socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698