Public Attributes | List of all members
alts_zero_copy_grpc_protector Struct Reference

Public Attributes

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

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.

Definition at line 49 of file alts_zero_copy_grpc_protector.cc.

Member Data Documentation

◆ base

tsi_zero_copy_grpc_protector alts_zero_copy_grpc_protector::base

Definition at line 50 of file alts_zero_copy_grpc_protector.cc.

◆ max_protected_frame_size

size_t alts_zero_copy_grpc_protector::max_protected_frame_size

Definition at line 53 of file alts_zero_copy_grpc_protector.cc.

◆ max_unprotected_data_size

size_t alts_zero_copy_grpc_protector::max_unprotected_data_size

Definition at line 54 of file alts_zero_copy_grpc_protector.cc.

◆ parsed_frame_size

uint32_t alts_zero_copy_grpc_protector::parsed_frame_size

Definition at line 58 of file alts_zero_copy_grpc_protector.cc.

◆ protected_sb

grpc_slice_buffer alts_zero_copy_grpc_protector::protected_sb

Definition at line 56 of file alts_zero_copy_grpc_protector.cc.

◆ protected_staging_sb

grpc_slice_buffer alts_zero_copy_grpc_protector::protected_staging_sb

Definition at line 57 of file alts_zero_copy_grpc_protector.cc.

◆ record_protocol

alts_grpc_record_protocol* alts_zero_copy_grpc_protector::record_protocol

Definition at line 51 of file alts_zero_copy_grpc_protector.cc.

◆ unprotected_staging_sb

grpc_slice_buffer alts_zero_copy_grpc_protector::unprotected_staging_sb

Definition at line 55 of file alts_zero_copy_grpc_protector.cc.

◆ unrecord_protocol

alts_grpc_record_protocol* alts_zero_copy_grpc_protector::unrecord_protocol

Definition at line 52 of file alts_zero_copy_grpc_protector.cc.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:39