reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
StunMessage.cxx File Reference
#include "StunMessage.hxx"
#include <rutil/compat.hxx>
#include <rutil/Crc32.hxx>
#include <rutil/Timer.hxx>
#include <rutil/Random.hxx>
#include <rutil/DataStream.hxx>
#include <rutil/DigestStream.hxx>
#include <rutil/WinLeakCheck.hxx>
#include <rutil/Logger.hxx>
#include "ReTurnSubsystem.hxx"
#include <openssl/hmac.h>

Go to the source code of this file.

Namespaces

namespace  reTurn
 

Macros

#define RESIPROCATE_SUBSYSTEM   ReTurnSubsystem::RETURN
 
#define MAX_USERNAME_BYTES   512
 
#define MAX_PASSWORD_BYTES   512
 
#define MAX_REALM_BYTES   763
 
#define MAX_NONCE_BYTES   763
 
#define MAX_SOFTWARE_BYTES   763
 
#define MAX_ERRORCODE_REASON_BYTES   763
 
#define STUN_CRC_FINAL_XOR   0x5354554e
 

Functions

bool reTurn::operator< (const UInt128 &lhs, const UInt128 &rhs)
 
bool reTurn::operator== (const UInt128 &lhs, const UInt128 &rhs)
 
EncodeStream & reTurn::operator<< (EncodeStream &strm, const UInt128 &r)
 
EncodeStream & reTurn::operator<< (EncodeStream &strm, const StunMessage::StunAtrAddress &addr)
 
EncodeStream & reTurn::operator<< (EncodeStream &os, const StunMessage::StunMsgHdr &h)
 

Variables

static const Data USERNAME_KEY ("stunServerUsernameKey")
 
static const Data PASSWORD_KEY ("stunServerPasswordKey")
 

Macro Definition Documentation

◆ MAX_ERRORCODE_REASON_BYTES

#define MAX_ERRORCODE_REASON_BYTES   763

Definition at line 38 of file StunMessage.cxx.

◆ MAX_NONCE_BYTES

#define MAX_NONCE_BYTES   763

Definition at line 36 of file StunMessage.cxx.

◆ MAX_PASSWORD_BYTES

#define MAX_PASSWORD_BYTES   512

Definition at line 34 of file StunMessage.cxx.

◆ MAX_REALM_BYTES

#define MAX_REALM_BYTES   763

Definition at line 35 of file StunMessage.cxx.

◆ MAX_SOFTWARE_BYTES

#define MAX_SOFTWARE_BYTES   763

Definition at line 37 of file StunMessage.cxx.

◆ MAX_USERNAME_BYTES

#define MAX_USERNAME_BYTES   512

Definition at line 33 of file StunMessage.cxx.

◆ RESIPROCATE_SUBSYSTEM

#define RESIPROCATE_SUBSYSTEM   ReTurnSubsystem::RETURN

Definition at line 18 of file StunMessage.cxx.

◆ STUN_CRC_FINAL_XOR

#define STUN_CRC_FINAL_XOR   0x5354554e

Definition at line 40 of file StunMessage.cxx.

Variable Documentation

◆ PASSWORD_KEY

const Data PASSWORD_KEY("stunServerPasswordKey") ( "stunServerPasswordKey"  )
static

◆ USERNAME_KEY

const Data USERNAME_KEY("stunServerUsernameKey") ( "stunServerUsernameKey"  )
static