Lines Matching refs:p_send
166 struct packet_state p_read, p_send; member
238 active_state->p_send.packets = active_state->p_read.packets = 0; in packet_set_connection()
400 &active_state->p_read : &active_state->p_send; in packet_get_state()
418 &active_state->p_read : &active_state->p_send; in packet_set_state()
720 active_state->p_send.packets++; in packet_send1()
721 active_state->p_send.bytes += len + in packet_send1()
747 active_state->p_send.packets = active_state->p_send.blocks = 0; in set_newkeys()
930 macbuf = mac_compute(mac, active_state->p_send.seqnr, in packet_send2_wrapped()
933 DBG(debug("done calc MAC out #%d", active_state->p_send.seqnr)); in packet_send2_wrapped()
949 if (++active_state->p_send.seqnr == 0) in packet_send2_wrapped()
951 if (++active_state->p_send.packets == 0) in packet_send2_wrapped()
954 active_state->p_send.blocks += (packet_length + 4) / block_size; in packet_send2_wrapped()
955 active_state->p_send.bytes += packet_length + 4; in packet_send2_wrapped()
1883 (active_state->p_send.packets > MAX_PACKETS) || in packet_need_rekeying()
1886 (active_state->p_send.blocks > active_state->max_blocks_out)) || in packet_need_rekeying()