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.
Definition at line 49 of file alts_zero_copy_grpc_protector.cc.
tsi_zero_copy_grpc_protector alts_zero_copy_grpc_protector::base |
Definition at line 50 of file alts_zero_copy_grpc_protector.cc.
size_t alts_zero_copy_grpc_protector::max_protected_frame_size |
Definition at line 53 of file alts_zero_copy_grpc_protector.cc.
size_t alts_zero_copy_grpc_protector::max_unprotected_data_size |
Definition at line 54 of file alts_zero_copy_grpc_protector.cc.
uint32_t alts_zero_copy_grpc_protector::parsed_frame_size |
Definition at line 58 of file alts_zero_copy_grpc_protector.cc.
grpc_slice_buffer alts_zero_copy_grpc_protector::protected_sb |
Definition at line 56 of file alts_zero_copy_grpc_protector.cc.
grpc_slice_buffer alts_zero_copy_grpc_protector::protected_staging_sb |
Definition at line 57 of file alts_zero_copy_grpc_protector.cc.
alts_grpc_record_protocol* alts_zero_copy_grpc_protector::record_protocol |
Definition at line 51 of file alts_zero_copy_grpc_protector.cc.
grpc_slice_buffer alts_zero_copy_grpc_protector::unprotected_staging_sb |
Definition at line 55 of file alts_zero_copy_grpc_protector.cc.
alts_grpc_record_protocol* alts_zero_copy_grpc_protector::unrecord_protocol |
Definition at line 52 of file alts_zero_copy_grpc_protector.cc.