Lines Matching defs:packet_length
276 packet_start_discard(Enc *enc, Mac *mac, u_int packet_length, u_int discard)
280 if (packet_length != PACKET_MAX_SIZE && mac && mac->enabled)
848 u_int packet_length = 0;
921 /* packet_length includes payload, padding and padding length field */
922 packet_length = buffer_len(&active_state->outgoing_packet) - 4;
924 put_u32(cp, packet_length);
926 DBG(debug("send: len %d (includes padlen %d)", packet_length+4, padlen));
954 active_state->p_send.blocks += (packet_length + 4) / block_size;
955 active_state->p_send.bytes += packet_length + 4;