Searched refs:padding_bytes_in_packet (Results 1 – 2 of 2) sorted by relevance
102 int padding_bytes_in_packet = max_length; in PaddingPacket() local104 padding_bytes_in_packet = (bytes + 16) & 0xffe0; // Keep our modulus 32. in PaddingPacket()114 for (int j = 0; j < (padding_bytes_in_packet >> 2); j++) { in PaddingPacket()118 buffer[header_length + padding_bytes_in_packet - 1] = in PaddingPacket()119 padding_bytes_in_packet; in PaddingPacket()120 return padding_bytes_in_packet + header_length; in PaddingPacket()
508 int padding_bytes_in_packet = kMaxPaddingLength; in BuildPaddingPacket() local510 padding_bytes_in_packet = bytes; in BuildPaddingPacket()517 for (int j = 0; j < (padding_bytes_in_packet >> 2); ++j) { in BuildPaddingPacket()521 packet[header_length + padding_bytes_in_packet - 1] = padding_bytes_in_packet; in BuildPaddingPacket()522 return padding_bytes_in_packet; in BuildPaddingPacket()533 int padding_bytes_in_packet = 0; in SendPadData() local535 for (; bytes > 0; bytes -= padding_bytes_in_packet) { in SendPadData()573 padding_bytes_in_packet = BuildPaddingPacket(padding_packet, header_length, in SendPadData()575 if (0 > SendToNetwork(padding_packet, padding_bytes_in_packet, in SendPadData()581 bytes_sent += padding_bytes_in_packet; in SendPadData()