Classes | Defines | Functions

RakPeer.cpp File Reference

#include "RakNetDefines.h"
#include "RakPeer.h"
#include "RakNetTypes.h"
#include <unistd.h>
#include <time.h>
#include <ctype.h>
#include <string.h>
#include "GetTime.h"
#include "MessageIdentifiers.h"
#include "DS_HuffmanEncodingTree.h"
#include "Rand.h"
#include "PluginInterface2.h"
#include "StringCompressor.h"
#include "StringTable.h"
#include "NetworkIDObject.h"
#include "SHA1.h"
#include "RakSleep.h"
#include "RouterInterface.h"
#include "RakAssert.h"
#include "RakNetVersion.h"
#include "NetworkIDManager.h"
#include "DataBlockEncryptor.h"
#include "gettimeofday.h"
#include "SignaledEvent.h"
#include "SuperFastHash.h"
#include <stdlib.h>
#include "RakAlloca.h"
Include dependency graph for RakPeer.cpp:

Go to the source code of this file.

Classes

struct  RakPeerAndIndex
struct  PacketFollowedByData

Defines

#define closesocket   close
#define REMOTE_SYSTEM_LOOKUP_HASH_MULTIPLE   8

Functions

 RAK_THREAD_DECLARATION (UpdateNetworkLoop)
 RAK_THREAD_DECLARATION (RecvFromLoop)
 RAK_THREAD_DECLARATION (UDTConnect)
void ProcessPortUnreachable (unsigned int binaryAddress, unsigned short port, RakPeer *rakPeer)
bool ProcessOfflineNetworkPacket (const SystemAddress systemAddress, const char *data, const int length, RakPeer *rakPeer, RakNetSmartPtr< RakNetSocket > rakNetSocket, bool *isOfflineMessage, RakNetTimeUS timeRead)
void ProcessNetworkPacket (const SystemAddress systemAddress, const char *data, const int length, RakPeer *rakPeer, RakNetTimeUS timeRead)
void ProcessNetworkPacket (const SystemAddress systemAddress, const char *data, const int length, RakPeer *rakPeer, RakNetSmartPtr< RakNetSocket > rakNetSocket, RakNetTimeUS timeRead)

Define Documentation

#define closesocket   close

Definition at line 16 of file RakPeer.cpp.

#define REMOTE_SYSTEM_LOOKUP_HASH_MULTIPLE   8

Definition at line 55 of file RakPeer.cpp.


Function Documentation

void ProcessNetworkPacket ( const SystemAddress  systemAddress,
const char *  data,
const int  length,
RakPeer rakPeer,
RakNetTimeUS  timeRead 
)

Definition at line 5939 of file RakPeer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ProcessNetworkPacket ( const SystemAddress  systemAddress,
const char *  data,
const int  length,
RakPeer rakPeer,
RakNetSmartPtr< RakNetSocket rakNetSocket,
RakNetTimeUS  timeRead 
)

Definition at line 5943 of file RakPeer.cpp.

Here is the call graph for this function:

bool ProcessOfflineNetworkPacket ( const SystemAddress  systemAddress,
const char *  data,
const int  length,
RakPeer rakPeer,
RakNetSmartPtr< RakNetSocket rakNetSocket,
bool *  isOfflineMessage,
RakNetTimeUS  timeRead 
)

Definition at line 5446 of file RakPeer.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void ProcessPortUnreachable ( unsigned int  binaryAddress,
unsigned short  port,
RakPeer rakPeer 
)

Definition at line 5438 of file RakPeer.cpp.

Here is the caller graph for this function:

RAK_THREAD_DECLARATION ( RecvFromLoop   ) 

Definition at line 6959 of file RakPeer.cpp.

Here is the call graph for this function:

RAK_THREAD_DECLARATION ( UDTConnect   ) 
RAK_THREAD_DECLARATION ( UpdateNetworkLoop   ) 

Definition at line 6991 of file RakPeer.cpp.

Here is the call graph for this function: