diff options
Diffstat (limited to 'net/flip/flip_bitmasks.h')
-rw-r--r-- | net/flip/flip_bitmasks.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/net/flip/flip_bitmasks.h b/net/flip/flip_bitmasks.h new file mode 100644 index 0000000..8f139e0 --- /dev/null +++ b/net/flip/flip_bitmasks.h @@ -0,0 +1,16 @@ +// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef NET_FLIP_FLIP_BITMASKS_H_ +#define NET_FLIP_FLIP_BITMASKS_H_ + +namespace flip { + +const int kStreamIdMask = 0x7fffffff; // StreamId mask from the FlipHeader +const int kControlFlagMask = 0x8000; // Control flag mask from the FlipHeader +const int kPriorityMask = 0xc0; // Priority mask from the SYN_FRAME +} // flip + +#endif // NET_FLIP_FLIP_BITMASKS_H_ + |