I\'ve the following struct:
struct scp_header { char state_name[NAME_MAXSIZE]; enum scp_packet_type type; size_t payload_size; size_t script_s