GRPC C++  1.39.1
Data Fields
alts_zero_copy_grpc_protector Struct Reference

Main struct for alts_zero_copy_grpc_protector. More...

Data Fields

tsi_zero_copy_grpc_protector base
 
alts_grpc_record_protocolrecord_protocol
 
alts_grpc_record_protocolunrecord_protocol
 
size_t max_protected_frame_size
 
size_t max_unprotected_data_size
 
grpc_slice_buffer unprotected_staging_sb
 
grpc_slice_buffer protected_sb
 
grpc_slice_buffer protected_staging_sb
 
uint32_t parsed_frame_size
 

Detailed Description

Main struct for alts_zero_copy_grpc_protector.

We choose to have two alts_grpc_record_protocol objects and two sets of slice buffers: one for protect and the other for unprotect, so that protect and unprotect can be executed in parallel. Implementations of this object must be thread compatible.

Field Documentation

◆ base

tsi_zero_copy_grpc_protector alts_zero_copy_grpc_protector::base

◆ max_protected_frame_size

size_t alts_zero_copy_grpc_protector::max_protected_frame_size

◆ max_unprotected_data_size

size_t alts_zero_copy_grpc_protector::max_unprotected_data_size

◆ parsed_frame_size

uint32_t alts_zero_copy_grpc_protector::parsed_frame_size

◆ protected_sb

grpc_slice_buffer alts_zero_copy_grpc_protector::protected_sb

◆ protected_staging_sb

grpc_slice_buffer alts_zero_copy_grpc_protector::protected_staging_sb

◆ record_protocol

alts_grpc_record_protocol* alts_zero_copy_grpc_protector::record_protocol

◆ unprotected_staging_sb

grpc_slice_buffer alts_zero_copy_grpc_protector::unprotected_staging_sb

◆ unrecord_protocol

alts_grpc_record_protocol* alts_zero_copy_grpc_protector::unrecord_protocol

The documentation for this struct was generated from the following file: