GRPC Core  9.0.0
Functions | Variables
hpack_table.cc File Reference
#include <grpc/support/port_platform.h>
#include "src/core/ext/transport/chttp2/transport/hpack_table.h"
#include <assert.h>
#include <string.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/string_util.h>
#include "src/core/lib/debug/trace.h"
#include "src/core/lib/gpr/murmur_hash.h"
#include "src/core/lib/slice/slice_internal.h"
#include "src/core/lib/surface/validate_metadata.h"
#include "src/core/lib/transport/static_metadata.h"

Functions

void grpc_chttp2_hptbl_destroy (grpc_chttp2_hptbl *tbl)
 
grpc_mdelem grpc_chttp2_hptbl_lookup_dynamic_index (const grpc_chttp2_hptbl *tbl, uint32_t tbl_index)
 
grpc_mdelem grpc_chttp2_hptbl_lookup_ref_dynamic_index (const grpc_chttp2_hptbl *tbl, uint32_t tbl_index)
 
void grpc_chttp2_hptbl_set_max_bytes (grpc_chttp2_hptbl *tbl, uint32_t max_bytes)
 
grpc_errorgrpc_chttp2_hptbl_set_current_table_size (grpc_chttp2_hptbl *tbl, uint32_t bytes)
 
grpc_errorgrpc_chttp2_hptbl_add (grpc_chttp2_hptbl *tbl, grpc_mdelem md)
 
grpc_chttp2_hptbl_find_result grpc_chttp2_hptbl_find (const grpc_chttp2_hptbl *tbl, grpc_mdelem md)
 
size_t grpc_chttp2_get_size_in_hpack_table (grpc_mdelem elem, bool use_true_binary_metadata)
 

Variables

grpc_core::TraceFlag grpc_http_trace
 

Function Documentation

◆ grpc_chttp2_get_size_in_hpack_table()

size_t grpc_chttp2_get_size_in_hpack_table ( grpc_mdelem  elem,
bool  use_true_binary_metadata 
)

◆ grpc_chttp2_hptbl_add()

grpc_error* grpc_chttp2_hptbl_add ( grpc_chttp2_hptbl tbl,
grpc_mdelem  md 
)

◆ grpc_chttp2_hptbl_destroy()

void grpc_chttp2_hptbl_destroy ( grpc_chttp2_hptbl tbl)

◆ grpc_chttp2_hptbl_find()

grpc_chttp2_hptbl_find_result grpc_chttp2_hptbl_find ( const grpc_chttp2_hptbl tbl,
grpc_mdelem  md 
)

◆ grpc_chttp2_hptbl_lookup_dynamic_index()

grpc_mdelem grpc_chttp2_hptbl_lookup_dynamic_index ( const grpc_chttp2_hptbl tbl,
uint32_t  tbl_index 
)

◆ grpc_chttp2_hptbl_lookup_ref_dynamic_index()

grpc_mdelem grpc_chttp2_hptbl_lookup_ref_dynamic_index ( const grpc_chttp2_hptbl tbl,
uint32_t  tbl_index 
)

◆ grpc_chttp2_hptbl_set_current_table_size()

grpc_error* grpc_chttp2_hptbl_set_current_table_size ( grpc_chttp2_hptbl tbl,
uint32_t  bytes 
)

◆ grpc_chttp2_hptbl_set_max_bytes()

void grpc_chttp2_hptbl_set_max_bytes ( grpc_chttp2_hptbl tbl,
uint32_t  max_bytes 
)

Variable Documentation

◆ grpc_http_trace

grpc_core::TraceFlag grpc_http_trace