protocol.h File Reference


Detailed Description

#include "enet/types.h"

Go to the source code of this file.

Data Structures

struct  ENetProtocolHeader
struct  ENetProtocolCommandHeader
struct  ENetProtocolAcknowledge
struct  ENetProtocolConnect
struct  ENetProtocolVerifyConnect
struct  ENetProtocolBandwidthLimit
struct  ENetProtocolThrottleConfigure
struct  ENetProtocolDisconnect
struct  ENetProtocolPing
struct  ENetProtocolSendReliable
struct  ENetProtocolSendUnreliable
struct  ENetProtocolSendUnsequenced
struct  ENetProtocolSendFragment
union  ENetProtocol

Enumerations

enum  {
  ENET_PROTOCOL_MINIMUM_MTU = 576, ENET_PROTOCOL_MAXIMUM_MTU = 4096, ENET_PROTOCOL_MAXIMUM_PACKET_COMMANDS = 32, ENET_PROTOCOL_MINIMUM_WINDOW_SIZE = 4096,
  ENET_PROTOCOL_MAXIMUM_WINDOW_SIZE = 32768, ENET_PROTOCOL_MINIMUM_CHANNEL_COUNT = 1, ENET_PROTOCOL_MAXIMUM_CHANNEL_COUNT = 255, ENET_PROTOCOL_MAXIMUM_PEER_ID = 0x7FFF
}
enum  ENetProtocolCommand {
  ENET_PROTOCOL_COMMAND_NONE = 0, ENET_PROTOCOL_COMMAND_ACKNOWLEDGE = 1, ENET_PROTOCOL_COMMAND_CONNECT = 2, ENET_PROTOCOL_COMMAND_VERIFY_CONNECT = 3,
  ENET_PROTOCOL_COMMAND_DISCONNECT = 4, ENET_PROTOCOL_COMMAND_PING = 5, ENET_PROTOCOL_COMMAND_SEND_RELIABLE = 6, ENET_PROTOCOL_COMMAND_SEND_UNRELIABLE = 7,
  ENET_PROTOCOL_COMMAND_SEND_FRAGMENT = 8, ENET_PROTOCOL_COMMAND_SEND_UNSEQUENCED = 9, ENET_PROTOCOL_COMMAND_BANDWIDTH_LIMIT = 10, ENET_PROTOCOL_COMMAND_THROTTLE_CONFIGURE = 11,
  ENET_PROTOCOL_COMMAND_COUNT = 12, ENET_PROTOCOL_COMMAND_MASK = 0x0F
}
enum  ENetProtocolFlag { ENET_PROTOCOL_COMMAND_FLAG_ACKNOWLEDGE = (1 << 7), ENET_PROTOCOL_COMMAND_FLAG_UNSEQUENCED = (1 << 6), ENET_PROTOCOL_HEADER_FLAG_SENT_TIME = (1 << 15), ENET_PROTOCOL_HEADER_FLAG_MASK = 0x8000 }


Generated on Wed Jun 6 14:33:50 2007 for enet by  doxygen 1.5.1