ssh_packet_next
if ((r = ssh_packet_next(from, &type)) != 0) {
int ssh_packet_next(struct ssh *ssh, u_char *typep);