5 #ifndef __ENET_PROTOCOL_H__ 6 #define __ENET_PROTOCOL_H__ 57 #elif defined(__GNUC__) 58 #define ENET_PACKED __attribute__ ((packed)) ENetProtocolDisconnect disconnect
Definition: protocol.h:181
enum _ENetProtocolCommand ENetProtocolCommand
Definition: protocol.h:139
enet_uint16 dataLength
Definition: protocol.h:168
enet_uint16 dataLength
Definition: protocol.h:154
Definition: protocol.h:50
enet_uint16 reliableSequenceNumber
Definition: protocol.h:73
enet_uint8 outgoingSessionID
Definition: protocol.h:88
type definitions for ENet
Definition: protocol.h:118
enet_uint8 incomingSessionID
Definition: protocol.h:87
enet_uint16 receivedReliableSequenceNumber
Definition: protocol.h:79
Definition: protocol.h:150
Definition: protocol.h:69
_ENetProtocolCommand
Definition: protocol.h:22
Definition: protocol.h:32
Definition: protocol.h:15
ENetProtocolCommandHeader header
Definition: protocol.h:159
Definition: protocol.h:144
struct _ENetProtocolSendFragment ENetProtocolSendFragment
struct _ENetProtocolThrottleConfigure ENetProtocolThrottleConfigure
#define ENET_PACKED
Definition: protocol.h:60
enet_uint32 mtu
Definition: protocol.h:107
ENetProtocolSendFragment sendFragment
Definition: protocol.h:186
Definition: protocol.h:44
enet_uint16 outgoingPeerID
Definition: protocol.h:104
enet_uint32 packetThrottleDeceleration
Definition: protocol.h:96
ENetProtocolCommandHeader header
Definition: protocol.h:120
Definition: protocol.h:36
Definition: protocol.h:16
enet_uint16 dataLength
Definition: protocol.h:147
unsigned int enet_uint32
unsigned 32-bit type
Definition: types.h:10
enet_uint32 packetThrottleInterval
Definition: protocol.h:112
enet_uint8 outgoingSessionID
Definition: protocol.h:106
enet_uint32 outgoingBandwidth
Definition: protocol.h:93
enet_uint32 incomingBandwidth
Definition: protocol.h:110
enet_uint32 windowSize
Definition: protocol.h:108
enet_uint32 packetThrottleInterval
Definition: protocol.h:94
struct _ENetProtocolSendUnsequenced ENetProtocolSendUnsequenced
enet_uint32 data
Definition: protocol.h:98
Definition: protocol.h:133
ENetProtocolBandwidthLimit bandwidthLimit
Definition: protocol.h:187
Definition: protocol.h:13
enet_uint16 outgoingPeerID
Definition: protocol.h:86
struct _ENetProtocolAcknowledge ENetProtocolAcknowledge
Definition: protocol.h:30
enet_uint32 mtu
Definition: protocol.h:89
enet_uint32 windowSize
Definition: protocol.h:90
struct _ENetProtocolSendReliable ENetProtocolSendReliable
ENetProtocolCommandHeader header
Definition: protocol.h:135
Definition: protocol.h:27
Definition: protocol.h:24
Definition: protocol.h:164
ENetProtocolSendUnsequenced sendUnsequenced
Definition: protocol.h:185
enet_uint32 fragmentCount
Definition: protocol.h:169
enet_uint32 fragmentOffset
Definition: protocol.h:172
Definition: protocol.h:26
enet_uint32 connectID
Definition: protocol.h:115
Definition: protocol.h:47
enet_uint16 unsequencedGroup
Definition: protocol.h:160
Definition: protocol.h:83
enet_uint32 packetThrottleAcceleration
Definition: protocol.h:113
enet_uint32 incomingBandwidth
Definition: protocol.h:92
struct _ENetProtocolBandwidthLimit ENetProtocolBandwidthLimit
Definition: protocol.h:12
Definition: protocol.h:43
struct _ENetProtocolCommandHeader ENetProtocolCommandHeader
Definition: protocol.h:19
Definition: protocol.h:33
Definition: protocol.h:31
Definition: protocol.h:35
enet_uint16 dataLength
Definition: protocol.h:161
enet_uint32 packetThrottleAcceleration
Definition: protocol.h:95
unsigned short enet_uint16
unsigned 16-bit type
Definition: types.h:9
enet_uint32 outgoingBandwidth
Definition: protocol.h:122
ENetProtocolSendUnreliable sendUnreliable
Definition: protocol.h:184
struct _ENetProtocolConnect ENetProtocolConnect
enet_uint32 incomingBandwidth
Definition: protocol.h:121
ENetProtocolPing ping
Definition: protocol.h:182
struct _ENetProtocolPing ENetProtocolPing
enet_uint8 incomingSessionID
Definition: protocol.h:105
unsigned char enet_uint8
unsigned 8-bit type
Definition: types.h:8
struct _ENetProtocolDisconnect ENetProtocolDisconnect
enet_uint8 channelID
Definition: protocol.h:72
union _ENetProtocol ENetProtocol
ENetProtocolSendReliable sendReliable
Definition: protocol.h:183
ENetProtocolCommandHeader header
Definition: protocol.h:177
ENetProtocolVerifyConnect verifyConnect
Definition: protocol.h:180
Definition: protocol.h:175
ENetProtocolCommandHeader header
Definition: protocol.h:85
ENetProtocolCommandHeader header
Definition: protocol.h:146
enet_uint32 data
Definition: protocol.h:136
enet_uint32 connectID
Definition: protocol.h:97
ENetProtocolThrottleConfigure throttleConfigure
Definition: protocol.h:188
Definition: protocol.h:101
Definition: protocol.h:17
ENetProtocolConnect connect
Definition: protocol.h:179
Definition: protocol.h:29
ENetProtocolCommandHeader header
Definition: protocol.h:78
enet_uint32 channelCount
Definition: protocol.h:91
enum _ENetProtocolFlag ENetProtocolFlag
enet_uint8 command
Definition: protocol.h:71
Definition: protocol.h:76
ENetProtocolAcknowledge acknowledge
Definition: protocol.h:178
ENetProtocolCommandHeader header
Definition: protocol.h:166
Definition: protocol.h:48
struct _ENetProtocolSendUnreliable ENetProtocolSendUnreliable
enet_uint32 outgoingBandwidth
Definition: protocol.h:111
Definition: protocol.h:38
Definition: protocol.h:46
enet_uint32 packetThrottleDeceleration
Definition: protocol.h:114
enet_uint32 fragmentNumber
Definition: protocol.h:170
enet_uint16 receivedSentTime
Definition: protocol.h:80
ENetProtocolCommandHeader header
Definition: protocol.h:103
enet_uint32 channelCount
Definition: protocol.h:109
Definition: protocol.h:25
Definition: protocol.h:51
enet_uint32 totalLength
Definition: protocol.h:171
ENetProtocolCommandHeader header
Definition: protocol.h:141
Definition: protocol.h:14
Definition: protocol.h:28
Definition: protocol.h:157
_ENetProtocolFlag
Definition: protocol.h:41
struct _ENetProtocolVerifyConnect ENetProtocolVerifyConnect
ENetProtocolCommandHeader header
Definition: protocol.h:152
enet_uint16 unreliableSequenceNumber
Definition: protocol.h:153
Definition: protocol.h:34
enet_uint16 startSequenceNumber
Definition: protocol.h:167
struct _ENetProtocolHeader ENetProtocolHeader
Definition: protocol.h:18