Searched refs:padding_to_add (Results 1 – 2 of 2) sorted by relevance
313 size_t padding_to_add = Padding(content_size(), alignment_bytes()); in AddPaddingBytesToChecksum() local315 while (padding_to_add != 0u) { in AddPaddingBytesToChecksum()316 const size_t chunk_size = std::min(padding_to_add, sizeof(padding)); in AddPaddingBytesToChecksum()318 padding_to_add -= chunk_size; in AddPaddingBytesToChecksum()
544 DataSize padding_to_add = PaddingToAdd(recommended_probe_size, data_sent); in ProcessPackets() local545 if (padding_to_add > DataSize::Zero()) { in ProcessPackets()547 packet_sender_->GeneratePadding(padding_to_add); in ProcessPackets()