Searched refs:padding_bytes_in_packet (Results 1 – 2 of 2) sorted by relevance
100 int padding_bytes_in_packet = max_length; in PaddingPacket() local102 padding_bytes_in_packet = (bytes + 16) & 0xffe0; // Keep our modulus 32. in PaddingPacket()112 for (int j = 0; j < (padding_bytes_in_packet >> 2); j++) { in PaddingPacket()116 buffer[header_length + padding_bytes_in_packet - 1] = in PaddingPacket()117 padding_bytes_in_packet; in PaddingPacket()118 return padding_bytes_in_packet + header_length; in PaddingPacket()
487 int padding_bytes_in_packet = kMaxPaddingLength; in BuildPaddingPacket() local489 padding_bytes_in_packet = bytes; in BuildPaddingPacket()496 for (int j = 0; j < (padding_bytes_in_packet >> 2); ++j) { in BuildPaddingPacket()500 packet[header_length + padding_bytes_in_packet - 1] = padding_bytes_in_packet; in BuildPaddingPacket()501 return padding_bytes_in_packet; in BuildPaddingPacket()524 int padding_bytes_in_packet = 0; in SendPadData() local526 for (; bytes > 0; bytes -= padding_bytes_in_packet) { in SendPadData()572 padding_bytes_in_packet = in SendPadData()574 int length = padding_bytes_in_packet + header_length; in SendPadData()589 bytes_sent += padding_bytes_in_packet; in SendPadData()