proxygen
HPACKConstants.h File Reference
#include <stdint.h>
#include <iosfwd>

Go to the source code of this file.

Classes

struct  proxygen::HPACK::Instruction
 

Namespaces

 proxygen
 
 proxygen::HPACK
 

Enumerations

enum  proxygen::HPACK::LiteralEncoding : uint8_t { proxygen::HPACK::PLAIN = 0x00, proxygen::HPACK::HUFFMAN = 0x80 }
 
enum  proxygen::HPACK::DecodeError : uint8_t {
  proxygen::HPACK::DecodeError::NONE = 0, proxygen::HPACK::DecodeError::INVALID_INDEX = 1, proxygen::HPACK::DecodeError::INVALID_HUFFMAN_CODE = 2, proxygen::HPACK::DecodeError::INVALID_ENCODING = 3,
  proxygen::HPACK::DecodeError::INTEGER_OVERFLOW = 4, proxygen::HPACK::DecodeError::INVALID_TABLE_SIZE = 5, proxygen::HPACK::DecodeError::HEADERS_TOO_LARGE = 6, proxygen::HPACK::DecodeError::BUFFER_UNDERFLOW = 7,
  proxygen::HPACK::DecodeError::LITERAL_TOO_LARGE = 8, proxygen::HPACK::DecodeError::TIMEOUT = 9, proxygen::HPACK::DecodeError::CANCELLED = 10, proxygen::HPACK::DecodeError::BAD_SEQUENCE_NUMBER = 11,
  proxygen::HPACK::DecodeError::INVALID_ACK = 12, proxygen::HPACK::DecodeError::TOO_MANY_BLOCKING = 13
}
 

Functions

std::ostream & proxygen::HPACK::operator<< (std::ostream &os, DecodeError err)
 

Variables

const Instruction proxygen::HPACK::INDEX_REF { 0x80, 7 }
 
const Instruction proxygen::HPACK::LITERAL_INC_INDEX { 0x40, 6 }
 
const Instruction proxygen::HPACK::LITERAL { 0x00, 4 }
 
const Instruction proxygen::HPACK::LITERAL_NEV_INDEX { 0x10, 4 }
 
const Instruction proxygen::HPACK::TABLE_SIZE_UPDATE { 0x20, 5 }
 
const Instruction proxygen::HPACK::Q_INSERT_NAME_REF { 0x80, 6 }
 
const Instruction proxygen::HPACK::Q_INSERT_NO_NAME_REF { 0x40, 5 }
 
const Instruction proxygen::HPACK::Q_TABLE_SIZE_UPDATE { 0x20, 5 }
 
const Instruction proxygen::HPACK::Q_DUPLICATE { 0x00, 5 }
 
const Instruction proxygen::HPACK::Q_HEADER_ACK { 0x80, 7 }
 
const Instruction proxygen::HPACK::Q_CANCEL_STREAM { 0x40, 6 }
 
const Instruction proxygen::HPACK::Q_TABLE_STATE_SYNC { 0x00, 6 }
 
const uint8_t proxygen::HPACK::Q_DELTA_BASE_NEG = 0x80
 
const uint8_t proxygen::HPACK::Q_DELTA_BASE_POS = 0x00
 
const Instruction proxygen::HPACK::Q_DELTA_BASE { 0x00, 7 }
 
const Instruction proxygen::HPACK::Q_INDEXED { 0x80, 6 }
 
const Instruction proxygen::HPACK::Q_INDEXED_POST { 0x10, 4 }
 
const Instruction proxygen::HPACK::Q_LITERAL_NAME_REF { 0x40, 4 }
 
const Instruction proxygen::HPACK::Q_LITERAL_NAME_REF_POST { 0x00, 3 }
 
const Instruction proxygen::HPACK::Q_LITERAL { 0x20, 3 }
 
const uint8_t proxygen::HPACK::Q_INDEXED_STATIC = 0x40
 
const uint8_t proxygen::HPACK::Q_INSERT_NAME_REF_STATIC = 0x40
 
const uint8_t proxygen::HPACK::Q_LITERAL_STATIC = 0x10
 
const uint32_t proxygen::HPACK::kDefaultBlocking = 100
 
const uint32_t proxygen::HPACK::kTableSize = 4096
 
const uint8_t proxygen::HPACK::NBIT_MASKS [9]