summaryrefslogtreecommitdiffstats
path: root/net/flip/flip_bitmasks.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/flip/flip_bitmasks.h')
-rw-r--r--net/flip/flip_bitmasks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/flip/flip_bitmasks.h b/net/flip/flip_bitmasks.h
index 8f139e0..3123da7 100644
--- a/net/flip/flip_bitmasks.h
+++ b/net/flip/flip_bitmasks.h
@@ -10,6 +10,8 @@ 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
+const int kLengthMask = 0xffffff; // Mask the lower 24 bits.
+
} // flip
#endif // NET_FLIP_FLIP_BITMASKS_H_