Lines Matching defs:p_send
187 struct packet_state p_read, p_send;
250 state->p_send.packets = state->p_read.packets = 0;
472 *obytes = ssh->state->p_send.bytes;
971 ps = &state->p_send;
984 (unsigned long long)state->p_send.bytes,
985 (unsigned long long)state->p_send.blocks);
1071 if (state->p_send.packets == 0 && state->p_read.packets == 0)
1083 if (state->p_send.packets > MAX_PACKETS ||
1091 (state->p_send.blocks + out_blocks > state->max_blocks_out)) ||
1269 if ((r = mac_compute(mac, state->p_send.seqnr,
1273 DBG(debug("done calc MAC out #%d", state->p_send.seqnr));
1279 if ((r = cipher_crypt(state->send_context, state->p_send.seqnr, cp,
1287 if ((r = mac_compute(mac, state->p_send.seqnr,
1291 state->p_send.seqnr));
1301 if (++state->p_send.seqnr == 0) {
1308 if (++state->p_send.packets == 0)
1311 state->p_send.blocks += len / block_size;
1312 state->p_send.bytes += len;
1316 debug_f("resetting send seqnr %u", state->p_send.seqnr);
1317 state->p_send.seqnr = 0;
1617 state->p_send.seqnr, cp, sshbuf_ptr(state->input),
2423 (r = sshbuf_put_u32(m, state->p_send.seqnr)) != 0 ||
2424 (r = sshbuf_put_u64(m, state->p_send.blocks)) != 0 ||
2425 (r = sshbuf_put_u32(m, state->p_send.packets)) != 0 ||
2426 (r = sshbuf_put_u64(m, state->p_send.bytes)) != 0 ||
2559 (r = sshbuf_get_u32(m, &state->p_send.seqnr)) != 0 ||
2560 (r = sshbuf_get_u64(m, &state->p_send.blocks)) != 0 ||
2561 (r = sshbuf_get_u32(m, &state->p_send.packets)) != 0 ||
2562 (r = sshbuf_get_u64(m, &state->p_send.bytes)) != 0 ||