Home | History | Annotate | Download | only in flip
      1 // Copyright (c) 2009 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_FLIP_FLIP_BITMASKS_H_
      6 #define NET_FLIP_FLIP_BITMASKS_H_
      7 
      8 namespace flip {
      9 
     10 // StreamId mask from the FlipHeader
     11 const unsigned int kStreamIdMask = 0x7fffffff;
     12 
     13 // Control flag mask from the FlipHeader
     14 const unsigned int kControlFlagMask = 0x8000;
     15 
     16 // Priority mask from the SYN_FRAME
     17 const unsigned int kPriorityMask = 0xc0;
     18 
     19 // Mask the lower 24 bits.
     20 const unsigned int kLengthMask = 0xffffff;
     21 
     22 }  // flip
     23 
     24 #endif  // NET_FLIP_FLIP_BITMASKS_H_
     25