Lines Matching defs:typep
1403 ssh_packet_read_seqnr(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p)
1424 if ((r = ssh_packet_read_poll_seqnr(ssh, typep, seqnr_p)) != 0)
1427 if (*typep != SSH_MSG_NONE)
1495 ssh_packet_read_poll2_mux(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p)
1504 *typep = SSH_MSG_NONE;
1522 (r = sshbuf_get_u8(state->incoming_packet, typep)) != 0)
1524 if (ssh_packet_log_type(*typep))
1525 debug3_f("type %u", *typep);
1533 ssh_packet_read_poll2(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p)
1545 return ssh_packet_read_poll2_mux(ssh, typep, seqnr_p);
1547 *typep = SSH_MSG_NONE;
1734 if ((r = sshbuf_get_u8(state->incoming_packet, typep)) != 0)
1736 if (ssh_packet_log_type(*typep))
1737 debug3("receive packet: type %u", *typep);
1738 if (*typep < SSH2_MSG_MIN) {
1740 "Invalid ssh2 packet type: %d", *typep)) != 0 ||
1746 (r = state->hook_in(ssh, state->incoming_packet, typep,
1749 if (*typep == SSH2_MSG_USERAUTH_SUCCESS && !state->server_side)
1754 fprintf(stderr, "read/plain[%d]:\r\n", *typep);
1759 if (*typep == SSH2_MSG_NEWKEYS && ssh->kex->kex_strict) {
1771 ssh_packet_read_poll_seqnr(struct ssh *ssh, u_char *typep, u_int32_t *seqnr_p)
1782 r = ssh_packet_read_poll2(ssh, typep, seqnr_p);
1785 if (*typep == 0) {
1790 DBG(debug("received packet type %d", *typep));
1793 if (*typep == SSH2_MSG_DISCONNECT) {
1818 switch (*typep) {