@ -113,9 +113,9 @@ GNU General Public License for more details.
@@ -113,9 +113,9 @@ GNU General Public License for more details.
typedef struct netsplit_chain_packet_s
{
// bool vector
unsigned in t recieved_v [ 8 ] ;
uint32_ t recieved_v [ 8 ] ;
// serial number
unsigned in t id ;
uint32_ t id ;
byte data [ NET_MAX_PAYLOAD ] ;
byte received ;
byte count ;
@ -124,10 +124,10 @@ typedef struct netsplit_chain_packet_s
@@ -124,10 +124,10 @@ typedef struct netsplit_chain_packet_s
// raw packet format
typedef struct netsplit_packet_s
{
unsigned in t signature ; // 0xFFFFFFFE
unsigned in t length ;
unsigned in t part ;
unsigned in t id ;
uint32_ t signature ; // 0xFFFFFFFE
uint32_ t length ;
uint32_ t part ;
uint32_ t id ;
// max 256 parts
byte count ;
byte index ;
@ -138,8 +138,8 @@ typedef struct netsplit_packet_s
@@ -138,8 +138,8 @@ typedef struct netsplit_packet_s
typedef struct netsplit_s
{
netsplit_chain_packet_t packets [ NETSPLIT_BACKUP ] ;
integer64 total_received ;
integer64 total_received_uncompressed ;
uint64_t total_received ;
uint64_t total_received_uncompressed ;
} netsplit_t ;
// packet splitting