ENet  v1.3.14
Reliable UDP networking library
Data Fields
ENetPeer Struct Reference

An ENet peer which data packets may be sent or received from. More...

#include <enet.h>

Data Fields

ENetList acknowledgements
 
ENetAddress address
 Internet address of the peer. More...
 
size_t channelCount
 Number of channels allocated for communication with peer. More...
 
ENetChannelchannels
 
enet_uint32 connectID
 
void * data
 Application private data, may be freely modified. More...
 
ENetList dispatchedCommands
 
ENetListNode dispatchList
 
enet_uint32 earliestTimeout
 
enet_uint32 eventData
 
enet_uint32 highestRoundTripTimeVariance
 
struct _ENetHost * host
 
enet_uint32 incomingBandwidth
 Downstream bandwidth of the client in bytes/second. More...
 
enet_uint32 incomingBandwidthThrottleEpoch
 
enet_uint32 incomingDataTotal
 
enet_uint16 incomingPeerID
 
enet_uint8 incomingSessionID
 
enet_uint16 incomingUnsequencedGroup
 
enet_uint32 lastReceiveTime
 
enet_uint32 lastRoundTripTime
 
enet_uint32 lastRoundTripTimeVariance
 
enet_uint32 lastSendTime
 
enet_uint32 lowestRoundTripTime
 
enet_uint32 mtu
 
int needsDispatch
 
enet_uint32 nextTimeout
 
enet_uint32 outgoingBandwidth
 Upstream bandwidth of the client in bytes/second. More...
 
enet_uint32 outgoingBandwidthThrottleEpoch
 
enet_uint32 outgoingDataTotal
 
enet_uint16 outgoingPeerID
 
ENetList outgoingReliableCommands
 
enet_uint16 outgoingReliableSequenceNumber
 
enet_uint8 outgoingSessionID
 
ENetList outgoingUnreliableCommands
 
enet_uint16 outgoingUnsequencedGroup
 
enet_uint32 packetLoss
 mean packet loss of reliable packets as a ratio with respect to the constant ENET_PEER_PACKET_LOSS_SCALE More...
 
enet_uint32 packetLossEpoch
 
enet_uint32 packetLossVariance
 
enet_uint32 packetsLost
 
enet_uint32 packetsSent
 
enet_uint32 packetThrottle
 
enet_uint32 packetThrottleAcceleration
 
enet_uint32 packetThrottleCounter
 
enet_uint32 packetThrottleDeceleration
 
enet_uint32 packetThrottleEpoch
 
enet_uint32 packetThrottleInterval
 
enet_uint32 packetThrottleLimit
 
enet_uint32 pingInterval
 
enet_uint32 reliableDataInTransit
 
enet_uint32 roundTripTime
 mean round trip time (RTT), in milliseconds, between sending a reliable packet and receiving its acknowledgement More...
 
enet_uint32 roundTripTimeVariance
 
ENetList sentReliableCommands
 
ENetList sentUnreliableCommands
 
ENetPeerState state
 
enet_uint32 timeoutLimit
 
enet_uint32 timeoutMaximum
 
enet_uint32 timeoutMinimum
 
size_t totalWaitingData
 
enet_uint32 unsequencedWindow [ENET_PEER_UNSEQUENCED_WINDOW_SIZE/32]
 
enet_uint32 windowSize
 

Detailed Description

An ENet peer which data packets may be sent or received from.

No fields should be modified unless otherwise specified.

Field Documentation

◆ acknowledgements

ENetList ENetPeer::acknowledgements

◆ address

ENetAddress ENetPeer::address

Internet address of the peer.

◆ channelCount

size_t ENetPeer::channelCount

Number of channels allocated for communication with peer.

◆ channels

ENetChannel* ENetPeer::channels

◆ connectID

enet_uint32 ENetPeer::connectID

◆ data

void* ENetPeer::data

Application private data, may be freely modified.

◆ dispatchedCommands

ENetList ENetPeer::dispatchedCommands

◆ dispatchList

ENetListNode ENetPeer::dispatchList

◆ earliestTimeout

enet_uint32 ENetPeer::earliestTimeout

◆ eventData

enet_uint32 ENetPeer::eventData

◆ highestRoundTripTimeVariance

enet_uint32 ENetPeer::highestRoundTripTimeVariance

◆ host

struct _ENetHost* ENetPeer::host

◆ incomingBandwidth

enet_uint32 ENetPeer::incomingBandwidth

Downstream bandwidth of the client in bytes/second.

◆ incomingBandwidthThrottleEpoch

enet_uint32 ENetPeer::incomingBandwidthThrottleEpoch

◆ incomingDataTotal

enet_uint32 ENetPeer::incomingDataTotal

◆ incomingPeerID

enet_uint16 ENetPeer::incomingPeerID

◆ incomingSessionID

enet_uint8 ENetPeer::incomingSessionID

◆ incomingUnsequencedGroup

enet_uint16 ENetPeer::incomingUnsequencedGroup

◆ lastReceiveTime

enet_uint32 ENetPeer::lastReceiveTime

◆ lastRoundTripTime

enet_uint32 ENetPeer::lastRoundTripTime

◆ lastRoundTripTimeVariance

enet_uint32 ENetPeer::lastRoundTripTimeVariance

◆ lastSendTime

enet_uint32 ENetPeer::lastSendTime

◆ lowestRoundTripTime

enet_uint32 ENetPeer::lowestRoundTripTime

◆ mtu

enet_uint32 ENetPeer::mtu

◆ needsDispatch

int ENetPeer::needsDispatch

◆ nextTimeout

enet_uint32 ENetPeer::nextTimeout

◆ outgoingBandwidth

enet_uint32 ENetPeer::outgoingBandwidth

Upstream bandwidth of the client in bytes/second.

◆ outgoingBandwidthThrottleEpoch

enet_uint32 ENetPeer::outgoingBandwidthThrottleEpoch

◆ outgoingDataTotal

enet_uint32 ENetPeer::outgoingDataTotal

◆ outgoingPeerID

enet_uint16 ENetPeer::outgoingPeerID

◆ outgoingReliableCommands

ENetList ENetPeer::outgoingReliableCommands

◆ outgoingReliableSequenceNumber

enet_uint16 ENetPeer::outgoingReliableSequenceNumber

◆ outgoingSessionID

enet_uint8 ENetPeer::outgoingSessionID

◆ outgoingUnreliableCommands

ENetList ENetPeer::outgoingUnreliableCommands

◆ outgoingUnsequencedGroup

enet_uint16 ENetPeer::outgoingUnsequencedGroup

◆ packetLoss

enet_uint32 ENetPeer::packetLoss

mean packet loss of reliable packets as a ratio with respect to the constant ENET_PEER_PACKET_LOSS_SCALE

◆ packetLossEpoch

enet_uint32 ENetPeer::packetLossEpoch

◆ packetLossVariance

enet_uint32 ENetPeer::packetLossVariance

◆ packetsLost

enet_uint32 ENetPeer::packetsLost

◆ packetsSent

enet_uint32 ENetPeer::packetsSent

◆ packetThrottle

enet_uint32 ENetPeer::packetThrottle

◆ packetThrottleAcceleration

enet_uint32 ENetPeer::packetThrottleAcceleration

◆ packetThrottleCounter

enet_uint32 ENetPeer::packetThrottleCounter

◆ packetThrottleDeceleration

enet_uint32 ENetPeer::packetThrottleDeceleration

◆ packetThrottleEpoch

enet_uint32 ENetPeer::packetThrottleEpoch

◆ packetThrottleInterval

enet_uint32 ENetPeer::packetThrottleInterval

◆ packetThrottleLimit

enet_uint32 ENetPeer::packetThrottleLimit

◆ pingInterval

enet_uint32 ENetPeer::pingInterval

◆ reliableDataInTransit

enet_uint32 ENetPeer::reliableDataInTransit

◆ roundTripTime

enet_uint32 ENetPeer::roundTripTime

mean round trip time (RTT), in milliseconds, between sending a reliable packet and receiving its acknowledgement

◆ roundTripTimeVariance

enet_uint32 ENetPeer::roundTripTimeVariance

◆ sentReliableCommands

ENetList ENetPeer::sentReliableCommands

◆ sentUnreliableCommands

ENetList ENetPeer::sentUnreliableCommands

◆ state

ENetPeerState ENetPeer::state

◆ timeoutLimit

enet_uint32 ENetPeer::timeoutLimit

◆ timeoutMaximum

enet_uint32 ENetPeer::timeoutMaximum

◆ timeoutMinimum

enet_uint32 ENetPeer::timeoutMinimum

◆ totalWaitingData

size_t ENetPeer::totalWaitingData

◆ unsequencedWindow

enet_uint32 ENetPeer::unsequencedWindow[ENET_PEER_UNSEQUENCED_WINDOW_SIZE/32]

◆ windowSize

enet_uint32 ENetPeer::windowSize

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