Shadowrun: Awakened 29 September 2011 - Build 871
Classes | Namespaces | Defines | Enumerations | Variables
SphynxTransport.hpp File Reference
#include <cat/net/ThreadPoolSockets.hpp>
#include <cat/threads/Mutex.hpp>
#include <cat/crypt/tunnel/AuthenticatedEncryption.hpp>
#include <cat/parse/BufferStream.hpp>
Include dependency graph for SphynxTransport.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cat::sphynx::RecvQueue
struct  cat::sphynx::SendFrag
struct  cat::sphynx::SendQueue
struct  cat::sphynx::TempSendNode
class  cat::sphynx::Transport

Namespaces

namespace  cat
namespace  cat::sphynx

Defines

#define CAT_VERBOSE_VALIDATION

Enumerations

enum  cat::sphynx::HandshakeError { cat::sphynx::ERR_SERVER_FULL }
enum  cat::sphynx::HandshakeType {
  cat::sphynx::C2S_HELLO, cat::sphynx::S2C_COOKIE, cat::sphynx::C2S_CHALLENGE, cat::sphynx::S2C_ANSWER,
  cat::sphynx::S2C_ERROR
}
enum  cat::sphynx::StreamMode { cat::sphynx::STREAM_UNORDERED = 0, cat::sphynx::STREAM_1 = 1, cat::sphynx::STREAM_2 = 2, cat::sphynx::STREAM_3 = 3 }
enum  cat::sphynx::SuperOpcode {
  cat::sphynx::SOP_DATA, cat::sphynx::SOP_FRAG, cat::sphynx::SOP_ACK, cat::sphynx::SOP_MTU_PROBE,
  cat::sphynx::SOP_MTU_SET, cat::sphynx::SOP_TIME_PING, cat::sphynx::SOP_TIME_PONG, cat::sphynx::SOP_DISCO
}

Variables

static const int cat::sphynx::ANSWER_BYTES = PUBLIC_KEY_BYTES*2
static const int cat::sphynx::CHALLENGE_BYTES = PUBLIC_KEY_BYTES
static const u32 cat::sphynx::COLLISION_INCREMENTER = 1013904223
static const u32 cat::sphynx::COLLISION_INCRINVERSE = 0 - COLLISION_INCREMENTER
static const u32 cat::sphynx::COLLISION_MULTINVERSE = 4276115653
static const u32 cat::sphynx::COLLISION_MULTIPLIER = 71*5861 * 4 + 1
static const int cat::sphynx::HASH_TABLE_MASK = HASH_TABLE_SIZE - 1
static const int cat::sphynx::HASH_TABLE_SIZE = 32768
static const int cat::sphynx::MAX_POPULATION = HASH_TABLE_SIZE / 2
static const int cat::sphynx::PRIVATE_KEY_BYTES = 32
static const u32 cat::sphynx::PROTOCOL_MAGIC = 0xC47D0001
static const int cat::sphynx::PUBLIC_KEY_BYTES = 64

Define Documentation

#define CAT_VERBOSE_VALIDATION

Definition at line 192 of file SphynxTransport.hpp.


Copyright © 2007-2010 by The Shadowrun: Awakened Team. This work is licensed under the GNU Lesser General Public License 3.

GNU Lesser General Public License 3 Sourceforge.net