summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_bitmasks.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/spdy/spdy_bitmasks.h')
-rw-r--r--net/spdy/spdy_bitmasks.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/spdy/spdy_bitmasks.h b/net/spdy/spdy_bitmasks.h
index 40403e1..03752e3 100644
--- a/net/spdy/spdy_bitmasks.h
+++ b/net/spdy/spdy_bitmasks.h
@@ -22,6 +22,12 @@ const unsigned int kLengthMask = 0xffffff;
// Mask the Id from a SETTINGS id.
const unsigned int kSettingsIdMask = 0xffffff;
+// Legal flags on data packets.
+const int kDataFlagsMask = 0x03;
+
+// Legal flags on control packets.
+const int kControlFlagsMask = 0x03;
+
} // namespace spdy
#endif // NET_SPDY_SPDY_BITMASKS_H_