summaryrefslogtreecommitdiffstats
path: root/net/spdy/spdy_bitmasks.h
diff options
context:
space:
mode:
authormbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-02 22:24:45 +0000
committermbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-02 22:24:45 +0000
commit4e1d0347528d3be39ff4854a1b9268accb001282 (patch)
tree3f0a617f0071096e45be3a1d2890e7691c542d37 /net/spdy/spdy_bitmasks.h
parent4cccc224e222ceeb765ce93d5bb40223b210c472 (diff)
downloadchromium_src-4e1d0347528d3be39ff4854a1b9268accb001282.zip
chromium_src-4e1d0347528d3be39ff4854a1b9268accb001282.tar.gz
chromium_src-4e1d0347528d3be39ff4854a1b9268accb001282.tar.bz2
Implement protocol definitions for the SPDY SETTINGS frame (previously
labeled the HELLO frame). BUG=none TEST=SpdyProtocolTest. Review URL: http://codereview.chromium.org/1569018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@43535 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/spdy/spdy_bitmasks.h')
-rw-r--r--net/spdy/spdy_bitmasks.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/spdy/spdy_bitmasks.h b/net/spdy/spdy_bitmasks.h
index 0a7351f..40403e1 100644
--- a/net/spdy/spdy_bitmasks.h
+++ b/net/spdy/spdy_bitmasks.h
@@ -19,6 +19,9 @@ const unsigned int kPriorityMask = 0xc0;
// Mask the lower 24 bits.
const unsigned int kLengthMask = 0xffffff;
+// Mask the Id from a SETTINGS id.
+const unsigned int kSettingsIdMask = 0xffffff;
+
} // namespace spdy
#endif // NET_SPDY_SPDY_BITMASKS_H_