- u32 version; // protocol version.
- u32 seq; // Sequence number for this heatbeat.
- u32 basetime; // What time I started
- u32 clusterid; // Id for this cluster?
+ uint32_t version; // protocol version.
+ uint32_t seq; // Sequence number for this heatbeat.
+ uint32_t basetime; // What time I started
+ uint32_t clusterid; // Id for this cluster?
+
+ uint32_t highsession; // Id of the highest in-use session.
+ uint32_t freesession; // Id of the first free session.
+ uint32_t highbundle; // Id of the highest used bundle.
+ uint32_t hightunnel; // Id of the highest used tunnel.
+ uint32_t size_sess; // Size of the session structure.
+
+ uint32_t size_bund; // size of the bundle structure.
+ uint32_t size_tunn; // size of the tunnel structure.
+ uint32_t interval; // ping/heartbeat interval
+ uint32_t timeout; // heartbeat timeout