#include <netpacket.h>
|
| bool | Append (psNetPacketEntry *next) |
| |
| void * | GetData () |
| |
| csPtr< psNetPacketEntry > | GetNextPacket (psNetPacket *&packetdata) |
| |
| bool | GetPending () |
| |
| bool | operator< (const psNetPacketEntry &other) const |
| |
| | psNetPacketEntry (psNetPacket *packet, uint32_t cnum, uint16_t sz) |
| | construct a new PacketEntry from a packet, not that this classe calls free on the packet pointer later! More...
|
| |
| | psNetPacketEntry (uint8_t pri, uint32_t cnum, uint32_t id, uint32_t off, uint32_t totalsize, uint16_t sz, psMessageBytes *msg) |
| | construct a new PacketEntry for a single or partial message More...
|
| |
| | psNetPacketEntry (uint8_t pri, uint32_t cnum, uint32_t id, uint32_t off, uint32_t totalsize, uint16_t sz, const char *bytes) |
| | construct a new PacketEntry for a specified buffer of bytes More...
|
| |
| | psNetPacketEntry (psNetPacketEntry *) |
| |
| void | SetPending (bool) |
| |
| | ~psNetPacketEntry () |
| |
| | csSyncRefCount () |
| | Initialize object and set reference to 1. More...
|
| |
| void | DecRef () |
| | Decrease the number of references to this object. More...
|
| |
| int32 | GetRefCount () |
| | Get the reference count (only for debugging). More...
|
| |
| void | IncRef () |
| | Increase the number of references to this object. More...
|
| |
Definition at line 178 of file netpacket.h.
| psNetPacketEntry::psNetPacketEntry |
( |
psNetPacket * |
packet, |
|
|
uint32_t |
cnum, |
|
|
uint16_t |
sz |
|
) |
| |
construct a new PacketEntry from a packet, not that this classe calls free on the packet pointer later!
| psNetPacketEntry::psNetPacketEntry |
( |
uint8_t |
pri, |
|
|
uint32_t |
cnum, |
|
|
uint32_t |
id, |
|
|
uint32_t |
off, |
|
|
uint32_t |
totalsize, |
|
|
uint16_t |
sz, |
|
|
psMessageBytes * |
msg |
|
) |
| |
construct a new PacketEntry for a single or partial message
| psNetPacketEntry::psNetPacketEntry |
( |
uint8_t |
pri, |
|
|
uint32_t |
cnum, |
|
|
uint32_t |
id, |
|
|
uint32_t |
off, |
|
|
uint32_t |
totalsize, |
|
|
uint16_t |
sz, |
|
|
const char * |
bytes |
|
) |
| |
construct a new PacketEntry for a specified buffer of bytes
| psNetPacketEntry::~psNetPacketEntry |
( |
| ) |
|
| void* psNetPacketEntry::GetData |
( |
| ) |
|
|
inline |
| bool psNetPacketEntry::GetPending |
( |
| ) |
|
|
inline |
| void psNetPacketEntry::SetPending |
( |
bool |
| ) |
|
|
inline |
| uint32_t psNetPacketEntry::clientnum |
clientnum this packet comes from/goes to
Definition at line 182 of file netpacket.h.
The Packet like it is returned from reading UDP socket / will be written to socket.
Definition at line 195 of file netpacket.h.
| bool psNetPacketEntry::retransmitted |
has this packet been retransmitted
Definition at line 187 of file netpacket.h.
| csTicks psNetPacketEntry::RTO |
| csTicks psNetPacketEntry::timestamp |
The documentation for this class was generated from the following file: