diff options
author | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-14 20:06:12 +0000 |
---|---|---|
committer | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-14 20:06:12 +0000 |
commit | 66814bb0eb9fd82cb6acd58ddc9292555bd98322 (patch) | |
tree | 4f6dba5091239e29d963ac9f96e48dd19deafb97 /net/flip/flip_bitmasks.h | |
parent | affe8fef0a2d2e0115c3f0607df819d3e9db6237 (diff) | |
download | chromium_src-66814bb0eb9fd82cb6acd58ddc9292555bd98322.zip chromium_src-66814bb0eb9fd82cb6acd58ddc9292555bd98322.tar.gz chromium_src-66814bb0eb9fd82cb6acd58ddc9292555bd98322.tar.bz2 |
Update the flip_protocol header to add flags to all frames
and a FIN flag.
TEST=flip_framer_test.cc
BUG=none
Review URL: http://codereview.chromium.org/275017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29005 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/flip/flip_bitmasks.h')
-rw-r--r-- | net/flip/flip_bitmasks.h | 2 |
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_ |