Orxonox  0.0.5 Codename: Arcturus
Public Attributes | List of all members
_ENetHost Struct Reference

An ENet host for communicating with peers. More...

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/enet/enet.h>

Public Attributes

ENetAddress address
 Internet address of the host. More...
 
enet_uint32 bandwidthThrottleEpoch
 
size_t bufferCount
 
ENetBuffer buffers [ENET_BUFFER_MAXIMUM]
 
size_t channelLimit
 maximum number of channels allowed for connected peers More...
 
ENetChecksumCallback checksum
 callback the user can set to enable packet checksums for this host More...
 
size_t commandCount
 
ENetProtocol commands [ENET_PROTOCOL_MAXIMUM_PACKET_COMMANDS]
 
ENetCompressor compressor
 
int continueSending
 
ENetList dispatchQueue
 
enet_uint16 headerFlags
 
enet_uint32 incomingBandwidth
 downstream bandwidth of the host More...
 
enet_uint32 mtu
 
enet_uint32 outgoingBandwidth
 upstream bandwidth of the host More...
 
enet_uint8 packetData [2][ENET_PROTOCOL_MAXIMUM_MTU]
 
size_t packetSize
 
size_t peerCount
 number of peers allocated for this host More...
 
ENetPeerpeers
 array of peers allocated for this host More...
 
enet_uint32 randomSeed
 
int recalculateBandwidthLimits
 
ENetAddress receivedAddress
 
enet_uint8receivedData
 
size_t receivedDataLength
 
enet_uint32 serviceTime
 
ENetSocket socket4
 
ENetSocket socket6
 
enet_uint32 totalReceivedData
 total data received, user should reset to 0 as needed to prevent overflow More...
 
enet_uint32 totalReceivedPackets
 total UDP packets received, user should reset to 0 as needed to prevent overflow More...
 
enet_uint32 totalSentData
 total data sent, user should reset to 0 as needed to prevent overflow More...
 
enet_uint32 totalSentPackets
 total UDP packets sent, user should reset to 0 as needed to prevent overflow More...
 

Detailed Description

An ENet host for communicating with peers.

No fields should be modified unless otherwise stated.

See also
enet_host_create()
enet_host_destroy()
enet_host_connect()
enet_host_service()
enet_host_flush()
enet_host_broadcast()
enet_host_compress()
enet_host_compress_with_range_coder()
enet_host_channel_limit()
enet_host_bandwidth_limit()
enet_host_bandwidth_throttle()

Member Data Documentation

ENetAddress _ENetHost::address

Internet address of the host.

enet_uint32 _ENetHost::bandwidthThrottleEpoch
size_t _ENetHost::bufferCount
ENetBuffer _ENetHost::buffers[ENET_BUFFER_MAXIMUM]
size_t _ENetHost::channelLimit

maximum number of channels allowed for connected peers

ENetChecksumCallback _ENetHost::checksum

callback the user can set to enable packet checksums for this host

size_t _ENetHost::commandCount
ENetCompressor _ENetHost::compressor
int _ENetHost::continueSending
ENetList _ENetHost::dispatchQueue
enet_uint16 _ENetHost::headerFlags
enet_uint32 _ENetHost::incomingBandwidth

downstream bandwidth of the host

enet_uint32 _ENetHost::mtu
enet_uint32 _ENetHost::outgoingBandwidth

upstream bandwidth of the host

enet_uint8 _ENetHost::packetData[2][ENET_PROTOCOL_MAXIMUM_MTU]
size_t _ENetHost::packetSize
size_t _ENetHost::peerCount

number of peers allocated for this host

ENetPeer* _ENetHost::peers

array of peers allocated for this host

enet_uint32 _ENetHost::randomSeed
int _ENetHost::recalculateBandwidthLimits
ENetAddress _ENetHost::receivedAddress
enet_uint8* _ENetHost::receivedData
size_t _ENetHost::receivedDataLength
enet_uint32 _ENetHost::serviceTime
ENetSocket _ENetHost::socket4
ENetSocket _ENetHost::socket6
enet_uint32 _ENetHost::totalReceivedData

total data received, user should reset to 0 as needed to prevent overflow

enet_uint32 _ENetHost::totalReceivedPackets

total UDP packets received, user should reset to 0 as needed to prevent overflow

enet_uint32 _ENetHost::totalSentData

total data sent, user should reset to 0 as needed to prevent overflow

enet_uint32 _ENetHost::totalSentPackets

total UDP packets sent, user should reset to 0 as needed to prevent overflow


The documentation for this struct was generated from the following file: