ssh_packet_get_state
if ((r = ssh_packet_get_state(ssh, m)) != 0)
int ssh_packet_get_state(struct ssh *, struct sshbuf *);