ssh_packet_set_data
ssh_packet_set_data(packet, msgb.begin, msgb_bytes_used(&msgb));
ssh_packet_set_data(&r->packet, ptr, len);