Lines Matching defs:packets
90 u_int32_t packets;
202 /* Hook for fuzzing inbound packets */
230 state->p_send.packets = state->p_read.packets = 0;
233 * ssh_packet_send2() needs to queue packets until
966 ps->packets = ps->blocks = 0;
1047 if (state->p_send.packets == 0 && state->p_read.packets == 0)
1057 * As per RFC4344 section 3.1 we do this after 2^31 packets.
1059 if (state->p_send.packets > MAX_PACKETS ||
1060 state->p_read.packets > MAX_PACKETS)
1276 /* increment sequence number for outgoing packets */
1284 if (++state->p_send.packets == 0)
1375 * remaining packets in the queue for now.
1415 * Since we are blocking, ensure that all written packets have
1694 if (++state->p_read.packets == 0)
2390 (r = sshbuf_put_u32(m, state->p_send.packets)) != 0 ||
2394 (r = sshbuf_put_u32(m, state->p_read.packets)) != 0 ||
2526 (r = sshbuf_get_u32(m, &state->p_send.packets)) != 0 ||
2530 (r = sshbuf_get_u32(m, &state->p_read.packets)) != 0 ||
2538 /* XXX ssh_set_newkeys overrides p_read.packets? XXX */