reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
reTurn::StunMessage Class Reference

#include <StunMessage.hxx>

Classes

struct  Id
 
struct  StunAtrAddress
 
struct  StunAtrError
 
struct  StunAtrHdr
 
struct  StunAtrIntegrity
 
struct  StunAtrIntegritySha256
 
struct  StunAtrUnknown
 
struct  StunMsgHdr
 
struct  TurnAtrEvenPort
 

Public Types

enum  StunHmacStatus {
  HmacUnknown =0 , HmacOK , HmacBadUserName , HmacUnknownUserName ,
  HmacFailed
}
 

Public Member Functions

 StunMessage (const StunTuple &localTuple, const StunTuple &remoteTuple, char *buf, unsigned int bufLen)
 
 StunMessage ()
 
 StunMessage (const StunMessage &message)
 
virtual ~StunMessage ()
 
StunMessage & operator= (const StunMessage &rhs)
 
bool isValid ()
 
bool hasMagicCookie ()
 
const StunTuple & getLocalTuple () const
 
const StunTuple & getRemoteTuple () const
 
unsigned int stunEncodeMessage (char *buf, unsigned int bufLen)
 
unsigned int stunEncodeFramedMessage (char *buf, unsigned int bufLen)
 
void setErrorCode (unsigned short errorCode, const char *reason)
 
void setUsername (const char *username)
 
void setPassword (const char *password)
 
void setRealm (const char *realm)
 
void setNonce (const char *nonce)
 
void setSoftware (const char *software)
 
void setTurnData (const char *data, unsigned int len)
 
void setIcePriority (uint32_t priority)
 
void setIceUseCandidate ()
 
void setIceControlled ()
 
void setIceControlling ()
 
void createHeader (uint16_t stunclass, uint16_t method)
 
void createUsernameAndPassword ()
 
void generateShortTermPasswordForUsername (resip::Data &password)
 
void getTupleFromUsername (StunTuple &tuple)
 
void calculateHmacKey (resip::Data &hmacKey, const resip::Data &longtermAuthenticationPassword)
 
void calculateHmacKeyForHa1 (resip::Data &hmacKey, const resip::Data &ha1)
 
void calculateHmacKey (resip::Data &hmacKey, const resip::Data &username, const resip::Data &realm, const resip::Data &longtermAuthenticationPassword)
 
bool checkMessageIntegrity (const resip::Data &hmacKey)
 
bool checkMessageIntegritySha256 (const resip::Data &hmacKey)
 
bool checkFingerprint ()
 
void applyXorToAddress (const StunAtrAddress &in, StunAtrAddress &out)
 

Static Public Member Functions

static void setStunAtrAddressFromTuple (StunAtrAddress &address, const StunTuple &tuple)
 
static void setTupleFromStunAtrAddress (StunTuple &tuple, const StunAtrAddress &address)
 

Public Attributes

uint16_t mClass
 
uint16_t mMethod
 
bool mHasMagicCookie
 
StunTuple mLocalTuple
 
StunTuple mRemoteTuple
 
resip::Data mBuffer
 
resip::Data mHmacKey
 
uint16_t mMessageIntegrityMsgLength
 
uint16_t mMessageIntegritySha256MsgLength
 
StunMsgHdr mHeader
 
bool mHasMappedAddress
 
StunAtrAddress mMappedAddress
 
bool mHasResponseAddress
 
StunAtrAddress mResponseAddress
 
bool mHasChangeRequest
 
uint32_t mChangeRequest
 
bool mHasSourceAddress
 
StunAtrAddress mSourceAddress
 
bool mHasChangedAddress
 
StunAtrAddress mChangedAddress
 
bool mHasUsername
 
resip::Data * mUsername
 
bool mHasPassword
 
resip::Data * mPassword
 
bool mHasMessageIntegrity
 
StunAtrIntegrity mMessageIntegrity
 
bool mHasMessageIntegritySha256
 
StunAtrIntegritySha256 mMessageIntegritySha256
 
bool mHasErrorCode
 
StunAtrError mErrorCode
 
bool mHasUnknownAttributes
 
StunAtrUnknown mUnknownAttributes
 
bool mHasReflectedFrom
 
StunAtrAddress mReflectedFrom
 
bool mHasRealm
 
resip::Data * mRealm
 
bool mHasNonce
 
resip::Data * mNonce
 
bool mHasXorMappedAddress
 
StunAtrAddress mXorMappedAddress
 
bool mHasFingerprint
 
uint32_t mFingerprint
 
bool mHasSoftware
 
resip::Data * mSoftware
 
bool mHasAlternateServer
 
StunAtrAddress mAlternateServer
 
bool mHasSecondaryAddress
 
StunAtrAddress mSecondaryAddress
 
bool mHasTurnChannelNumber
 
uint16_t mTurnChannelNumber
 
bool mHasTurnLifetime
 
uint32_t mTurnLifetime
 
bool mHasTurnBandwidth
 
uint32_t mTurnBandwidth
 
int mCntTurnXorPeerAddress
 
StunAtrAddress mTurnXorPeerAddress [TURN_MAX_XOR_PEER_ADDR]
 
bool mHasTurnData
 
resip::Data * mTurnData
 
bool mHasTurnXorRelayedAddress
 
StunAtrAddress mTurnXorRelayedAddress
 
bool mHasTurnEvenPort
 
TurnAtrEvenPort mTurnEvenPort
 
bool mHasTurnRequestedTransport
 
uint8_t mTurnRequestedTransport
 
bool mHasTurnDontFragment
 
bool mHasTurnReservationToken
 
uint64_t mTurnReservationToken
 
bool mHasTurnConnectStat
 
uint32_t mTurnConnectStat
 
bool mHasTurnRequestedAddressFamily
 
uint16_t mTurnRequestedAddressFamily
 
bool mHasIcePriority
 
uint32_t mIcePriority
 
bool mHasIceUseCandidate
 
bool mHasIceControlled
 
uint64_t mIceControlledTieBreaker
 
bool mHasIceControlling
 
uint64_t mIceControllingTieBreaker
 
StunAtrUnknown mUnknownRequiredAttributes
 

Static Public Attributes

static const uint8_t IPv4Family = 0x01
 define stun address families
 
static const uint8_t IPv6Family = 0x02
 
static const uint8_t PropsPortEven = 0x00
 
static const uint8_t PropsPortPair = 0x80
 
static const uint8_t PropsNone = 0xFF
 
static const uint32_t RequestedTransportUdp = 17
 
static const uint32_t RequestedTransportTcp = 6
 
static const uint32_t ChangeIpFlag = 0x04
 
static const uint32_t ChangePortFlag = 0x02
 
static const uint16_t StunClassRequest = 0x0000
 
static const uint16_t StunClassIndication = 0x0010
 
static const uint16_t StunClassSuccessResponse = 0x0100
 
static const uint16_t StunClassErrorResponse = 0x0110
 
static const uint16_t BindMethod = 0x001
 
static const uint16_t SharedSecretMethod = 0x002
 
static const uint16_t TurnAllocateMethod = 0x003
 
static const uint16_t TurnRefreshMethod = 0x004
 
static const uint16_t TurnSendMethod = 0x006
 
static const uint16_t TurnDataMethod = 0x007
 
static const uint16_t TurnCreatePermissionMethod = 0x008
 
static const uint16_t TurnChannelBindMethod = 0x009
 
static const uint16_t MappedAddress = 0x0001
 
static const uint16_t ResponseAddress = 0x0002
 
static const uint16_t ChangeRequest = 0x0003
 
static const uint16_t SourceAddress = 0x0004
 
static const uint16_t ChangedAddress = 0x0005
 
static const uint16_t Username = 0x0006
 
static const uint16_t Password = 0x0007
 
static const uint16_t MessageIntegrity = 0x0008
 
static const uint16_t ErrorCode = 0x0009
 
static const uint16_t MessageIntegritySha256 = 0x001C
 
static const uint16_t UnknownAttribute = 0x000A
 
static const uint16_t ReflectedFrom = 0x000B
 
static const uint16_t Realm = 0x0014
 
static const uint16_t Nonce = 0x0015
 
static const uint16_t XorMappedAddress = 0x0020
 
static const uint16_t XorMappedAddress_old = 0x8020
 
static const uint16_t Software = 0x8022
 
static const uint16_t AlternateServer = 0x8023
 
static const uint16_t Fingerprint = 0x8028
 
static const uint16_t SecondaryAddress = 0x8050
 
static const uint16_t TurnChannelNumber = 0x000C
 
static const uint16_t TurnLifetime = 0x000D
 
static const uint16_t TurnBandwidth = 0x0010
 
static const uint16_t TurnXorPeerAddress = 0x0012
 
static const uint16_t TurnData = 0x0013
 
static const uint16_t TurnXorRelayedAddress = 0x0016
 
static const uint16_t TurnEvenPort = 0x0018
 
static const uint16_t TurnRequestedTransport = 0x0019
 
static const uint16_t TurnDontFragment = 0x001a
 
static const uint16_t TurnReservationToken = 0x0022
 
static const uint16_t TurnConnectStat = 0x0023
 
static const uint16_t TurnRequestedAddressFamily = 0x0017
 
static const uint16_t IcePriority = 0x0024
 
static const uint16_t IceUseCandidate = 0x0025
 
static const uint16_t IceControlled = 0x8029
 
static const uint16_t IceControlling = 0x802A
 
static const uint32_t StunMagicCookie = 0x2112A442
 

Detailed Description

Definition at line 24 of file StunMessage.hxx.

Member Enumeration Documentation

◆ StunHmacStatus

Enumerator
HmacUnknown 
HmacOK 
HmacBadUserName 
HmacUnknownUserName 
HmacFailed 

Definition at line 234 of file StunMessage.hxx.

Constructor & Destructor Documentation

◆ StunMessage() [1/3]

reTurn::StunMessage::StunMessage ( const StunTuple &  localTuple,
const StunTuple &  remoteTuple,
char *  buf,
unsigned int  bufLen 
)
explicit

Definition at line 70 of file StunMessage.cxx.

◆ StunMessage() [2/3]

reTurn::StunMessage::StunMessage ( )
explicit

Definition at line 87 of file StunMessage.cxx.

◆ StunMessage() [3/3]

reTurn::StunMessage::StunMessage ( const StunMessage &  message)

Definition at line 93 of file StunMessage.cxx.

◆ ~StunMessage()

reTurn::StunMessage::~StunMessage ( )
virtual

Definition at line 109 of file StunMessage.cxx.

Member Function Documentation

◆ applyXorToAddress()

void reTurn::StunMessage::applyXorToAddress ( const StunAtrAddress &  in,
StunAtrAddress &  out 
)

Definition at line 317 of file StunMessage.cxx.

◆ calculateHmacKey() [1/2]

void reTurn::StunMessage::calculateHmacKey ( resip::Data &  hmacKey,
const resip::Data &  longtermAuthenticationPassword 
)

Definition at line 1924 of file StunMessage.cxx.

◆ calculateHmacKey() [2/2]

void reTurn::StunMessage::calculateHmacKey ( resip::Data &  hmacKey,
const resip::Data &  username,
const resip::Data &  realm,
const resip::Data &  longtermAuthenticationPassword 
)

Definition at line 1954 of file StunMessage.cxx.

◆ calculateHmacKeyForHa1()

void reTurn::StunMessage::calculateHmacKeyForHa1 ( resip::Data &  hmacKey,
const resip::Data &  ha1 
)

Definition at line 1939 of file StunMessage.cxx.

◆ checkFingerprint()

bool reTurn::StunMessage::checkFingerprint ( )

Definition at line 2052 of file StunMessage.cxx.

◆ checkMessageIntegrity()

bool reTurn::StunMessage::checkMessageIntegrity ( const resip::Data &  hmacKey)

Definition at line 1964 of file StunMessage.cxx.

◆ checkMessageIntegritySha256()

bool reTurn::StunMessage::checkMessageIntegritySha256 ( const resip::Data &  hmacKey)

Definition at line 2004 of file StunMessage.cxx.

◆ createHeader()

void reTurn::StunMessage::createHeader ( uint16_t  stunclass,
uint16_t  method 
)

Definition at line 174 of file StunMessage.cxx.

◆ createUsernameAndPassword()

void reTurn::StunMessage::createUsernameAndPassword ( )

Definition at line 1828 of file StunMessage.cxx.

◆ generateShortTermPasswordForUsername()

void reTurn::StunMessage::generateShortTermPasswordForUsername ( resip::Data &  password)

Definition at line 1876 of file StunMessage.cxx.

◆ getLocalTuple()

const StunTuple & reTurn::StunMessage::getLocalTuple ( ) const
inline

Definition at line 39 of file StunMessage.hxx.

◆ getRemoteTuple()

const StunTuple & reTurn::StunMessage::getRemoteTuple ( ) const
inline

Definition at line 40 of file StunMessage.hxx.

◆ getTupleFromUsername()

void reTurn::StunMessage::getTupleFromUsername ( StunTuple &  tuple)

Definition at line 1885 of file StunMessage.cxx.

◆ hasMagicCookie()

bool reTurn::StunMessage::hasMagicCookie ( )

Definition at line 1497 of file StunMessage.cxx.

◆ isValid()

bool reTurn::StunMessage::isValid ( )
inline

Definition at line 37 of file StunMessage.hxx.

◆ operator=()

StunMessage & reTurn::StunMessage::operator= ( const StunMessage &  rhs)

Definition at line 99 of file StunMessage.cxx.

◆ setErrorCode()

void reTurn::StunMessage::setErrorCode ( unsigned short  errorCode,
const char *  reason 
)

Definition at line 186 of file StunMessage.cxx.

◆ setIceControlled()

void reTurn::StunMessage::setIceControlled ( )

Definition at line 301 of file StunMessage.cxx.

◆ setIceControlling()

void reTurn::StunMessage::setIceControlling ( )

Definition at line 309 of file StunMessage.cxx.

◆ setIcePriority()

void reTurn::StunMessage::setIcePriority ( uint32_t  priority)

Definition at line 288 of file StunMessage.cxx.

◆ setIceUseCandidate()

void reTurn::StunMessage::setIceUseCandidate ( )

Definition at line 295 of file StunMessage.cxx.

◆ setNonce()

void reTurn::StunMessage::setNonce ( const char *  nonce)

Definition at line 245 of file StunMessage.cxx.

◆ setPassword()

void reTurn::StunMessage::setPassword ( const char *  password)

Definition at line 217 of file StunMessage.cxx.

◆ setRealm()

void reTurn::StunMessage::setRealm ( const char *  realm)

Definition at line 231 of file StunMessage.cxx.

◆ setSoftware()

void reTurn::StunMessage::setSoftware ( const char *  software)

Definition at line 259 of file StunMessage.cxx.

◆ setStunAtrAddressFromTuple()

void reTurn::StunMessage::setStunAtrAddressFromTuple ( StunAtrAddress &  address,
const StunTuple &  tuple 
)
static

Definition at line 337 of file StunMessage.cxx.

◆ setTupleFromStunAtrAddress()

void reTurn::StunMessage::setTupleFromStunAtrAddress ( StunTuple &  tuple,
const StunAtrAddress &  address 
)
static

Definition at line 355 of file StunMessage.cxx.

◆ setTurnData()

void reTurn::StunMessage::setTurnData ( const char *  data,
unsigned int  len 
)

Definition at line 273 of file StunMessage.cxx.

◆ setUsername()

void reTurn::StunMessage::setUsername ( const char *  username)

Definition at line 203 of file StunMessage.cxx.

◆ stunEncodeFramedMessage()

unsigned int reTurn::StunMessage::stunEncodeFramedMessage ( char *  buf,
unsigned int  bufLen 
)

Definition at line 1740 of file StunMessage.cxx.

◆ stunEncodeMessage()

unsigned int reTurn::StunMessage::stunEncodeMessage ( char *  buf,
unsigned int  bufLen 
)

Definition at line 1503 of file StunMessage.cxx.

Member Data Documentation

◆ AlternateServer

const uint16_t reTurn::StunMessage::AlternateServer = 0x8023
static

Definition at line 146 of file StunMessage.hxx.

◆ BindMethod

const uint16_t reTurn::StunMessage::BindMethod = 0x001
static

Definition at line 115 of file StunMessage.hxx.

◆ ChangedAddress

const uint16_t reTurn::StunMessage::ChangedAddress = 0x0005
static

Definition at line 132 of file StunMessage.hxx.

◆ ChangeIpFlag

const uint32_t reTurn::StunMessage::ChangeIpFlag = 0x04
static

Definition at line 88 of file StunMessage.hxx.

◆ ChangePortFlag

const uint32_t reTurn::StunMessage::ChangePortFlag = 0x02
static

Definition at line 89 of file StunMessage.hxx.

◆ ChangeRequest

const uint16_t reTurn::StunMessage::ChangeRequest = 0x0003
static

Definition at line 130 of file StunMessage.hxx.

◆ ErrorCode

const uint16_t reTurn::StunMessage::ErrorCode = 0x0009
static

Definition at line 136 of file StunMessage.hxx.

◆ Fingerprint

const uint16_t reTurn::StunMessage::Fingerprint = 0x8028
static

Definition at line 147 of file StunMessage.hxx.

◆ IceControlled

const uint16_t reTurn::StunMessage::IceControlled = 0x8029
static

Definition at line 168 of file StunMessage.hxx.

◆ IceControlling

const uint16_t reTurn::StunMessage::IceControlling = 0x802A
static

Definition at line 169 of file StunMessage.hxx.

◆ IcePriority

const uint16_t reTurn::StunMessage::IcePriority = 0x0024
static

Definition at line 166 of file StunMessage.hxx.

◆ IceUseCandidate

const uint16_t reTurn::StunMessage::IceUseCandidate = 0x0025
static

Definition at line 167 of file StunMessage.hxx.

◆ IPv4Family

const uint8_t reTurn::StunMessage::IPv4Family = 0x01
static

define stun address families

Definition at line 75 of file StunMessage.hxx.

◆ IPv6Family

const uint8_t reTurn::StunMessage::IPv6Family = 0x02
static

Definition at line 76 of file StunMessage.hxx.

◆ mAlternateServer

StunAtrAddress reTurn::StunMessage::mAlternateServer

Definition at line 309 of file StunMessage.hxx.

◆ MappedAddress

const uint16_t reTurn::StunMessage::MappedAddress = 0x0001
static

Definition at line 128 of file StunMessage.hxx.

◆ mBuffer

resip::Data reTurn::StunMessage::mBuffer

Definition at line 249 of file StunMessage.hxx.

◆ mChangedAddress

StunAtrAddress reTurn::StunMessage::mChangedAddress

Definition at line 270 of file StunMessage.hxx.

◆ mChangeRequest

uint32_t reTurn::StunMessage::mChangeRequest

Definition at line 264 of file StunMessage.hxx.

◆ mClass

uint16_t reTurn::StunMessage::mClass

Definition at line 244 of file StunMessage.hxx.

◆ mCntTurnXorPeerAddress

int reTurn::StunMessage::mCntTurnXorPeerAddress

Definition at line 324 of file StunMessage.hxx.

◆ mErrorCode

StunAtrError reTurn::StunMessage::mErrorCode

Definition at line 285 of file StunMessage.hxx.

◆ MessageIntegrity

const uint16_t reTurn::StunMessage::MessageIntegrity = 0x0008
static

Definition at line 135 of file StunMessage.hxx.

◆ MessageIntegritySha256

const uint16_t reTurn::StunMessage::MessageIntegritySha256 = 0x001C
static

Definition at line 137 of file StunMessage.hxx.

◆ mFingerprint

uint32_t reTurn::StunMessage::mFingerprint

Definition at line 303 of file StunMessage.hxx.

◆ mHasAlternateServer

bool reTurn::StunMessage::mHasAlternateServer

Definition at line 308 of file StunMessage.hxx.

◆ mHasChangedAddress

bool reTurn::StunMessage::mHasChangedAddress

Definition at line 269 of file StunMessage.hxx.

◆ mHasChangeRequest

bool reTurn::StunMessage::mHasChangeRequest

Definition at line 263 of file StunMessage.hxx.

◆ mHasErrorCode

bool reTurn::StunMessage::mHasErrorCode

Definition at line 284 of file StunMessage.hxx.

◆ mHasFingerprint

bool reTurn::StunMessage::mHasFingerprint

Definition at line 302 of file StunMessage.hxx.

◆ mHasIceControlled

bool reTurn::StunMessage::mHasIceControlled

Definition at line 356 of file StunMessage.hxx.

◆ mHasIceControlling

bool reTurn::StunMessage::mHasIceControlling

Definition at line 359 of file StunMessage.hxx.

◆ mHasIcePriority

bool reTurn::StunMessage::mHasIcePriority

Definition at line 351 of file StunMessage.hxx.

◆ mHasIceUseCandidate

bool reTurn::StunMessage::mHasIceUseCandidate

Definition at line 354 of file StunMessage.hxx.

◆ mHasMagicCookie

bool reTurn::StunMessage::mHasMagicCookie

Definition at line 246 of file StunMessage.hxx.

◆ mHasMappedAddress

bool reTurn::StunMessage::mHasMappedAddress

Definition at line 257 of file StunMessage.hxx.

◆ mHasMessageIntegrity

bool reTurn::StunMessage::mHasMessageIntegrity

Definition at line 278 of file StunMessage.hxx.

◆ mHasMessageIntegritySha256

bool reTurn::StunMessage::mHasMessageIntegritySha256

Definition at line 281 of file StunMessage.hxx.

◆ mHasNonce

bool reTurn::StunMessage::mHasNonce

Definition at line 296 of file StunMessage.hxx.

◆ mHasPassword

bool reTurn::StunMessage::mHasPassword

Definition at line 275 of file StunMessage.hxx.

◆ mHasRealm

bool reTurn::StunMessage::mHasRealm

Definition at line 293 of file StunMessage.hxx.

◆ mHasReflectedFrom

bool reTurn::StunMessage::mHasReflectedFrom

Definition at line 290 of file StunMessage.hxx.

◆ mHasResponseAddress

bool reTurn::StunMessage::mHasResponseAddress

Definition at line 260 of file StunMessage.hxx.

◆ mHasSecondaryAddress

bool reTurn::StunMessage::mHasSecondaryAddress

Definition at line 311 of file StunMessage.hxx.

◆ mHasSoftware

bool reTurn::StunMessage::mHasSoftware

Definition at line 305 of file StunMessage.hxx.

◆ mHasSourceAddress

bool reTurn::StunMessage::mHasSourceAddress

Definition at line 266 of file StunMessage.hxx.

◆ mHasTurnBandwidth

bool reTurn::StunMessage::mHasTurnBandwidth

Definition at line 321 of file StunMessage.hxx.

◆ mHasTurnChannelNumber

bool reTurn::StunMessage::mHasTurnChannelNumber

Definition at line 315 of file StunMessage.hxx.

◆ mHasTurnConnectStat

bool reTurn::StunMessage::mHasTurnConnectStat

Definition at line 345 of file StunMessage.hxx.

◆ mHasTurnData

bool reTurn::StunMessage::mHasTurnData

Definition at line 327 of file StunMessage.hxx.

◆ mHasTurnDontFragment

bool reTurn::StunMessage::mHasTurnDontFragment

Definition at line 339 of file StunMessage.hxx.

◆ mHasTurnEvenPort

bool reTurn::StunMessage::mHasTurnEvenPort

Definition at line 333 of file StunMessage.hxx.

◆ mHasTurnLifetime

bool reTurn::StunMessage::mHasTurnLifetime

Definition at line 318 of file StunMessage.hxx.

◆ mHasTurnRequestedAddressFamily

bool reTurn::StunMessage::mHasTurnRequestedAddressFamily

Definition at line 348 of file StunMessage.hxx.

◆ mHasTurnRequestedTransport

bool reTurn::StunMessage::mHasTurnRequestedTransport

Definition at line 336 of file StunMessage.hxx.

◆ mHasTurnReservationToken

bool reTurn::StunMessage::mHasTurnReservationToken

Definition at line 342 of file StunMessage.hxx.

◆ mHasTurnXorRelayedAddress

bool reTurn::StunMessage::mHasTurnXorRelayedAddress

Definition at line 330 of file StunMessage.hxx.

◆ mHasUnknownAttributes

bool reTurn::StunMessage::mHasUnknownAttributes

Definition at line 287 of file StunMessage.hxx.

◆ mHasUsername

bool reTurn::StunMessage::mHasUsername

Definition at line 272 of file StunMessage.hxx.

◆ mHasXorMappedAddress

bool reTurn::StunMessage::mHasXorMappedAddress

Definition at line 299 of file StunMessage.hxx.

◆ mHeader

StunMsgHdr reTurn::StunMessage::mHeader

Definition at line 255 of file StunMessage.hxx.

◆ mHmacKey

resip::Data reTurn::StunMessage::mHmacKey

Definition at line 250 of file StunMessage.hxx.

◆ mIceControlledTieBreaker

uint64_t reTurn::StunMessage::mIceControlledTieBreaker

Definition at line 357 of file StunMessage.hxx.

◆ mIceControllingTieBreaker

uint64_t reTurn::StunMessage::mIceControllingTieBreaker

Definition at line 360 of file StunMessage.hxx.

◆ mIcePriority

uint32_t reTurn::StunMessage::mIcePriority

Definition at line 352 of file StunMessage.hxx.

◆ mLocalTuple

StunTuple reTurn::StunMessage::mLocalTuple

Definition at line 247 of file StunMessage.hxx.

◆ mMappedAddress

StunAtrAddress reTurn::StunMessage::mMappedAddress

Definition at line 258 of file StunMessage.hxx.

◆ mMessageIntegrity

StunAtrIntegrity reTurn::StunMessage::mMessageIntegrity

Definition at line 279 of file StunMessage.hxx.

◆ mMessageIntegrityMsgLength

uint16_t reTurn::StunMessage::mMessageIntegrityMsgLength

Definition at line 252 of file StunMessage.hxx.

◆ mMessageIntegritySha256

StunAtrIntegritySha256 reTurn::StunMessage::mMessageIntegritySha256

Definition at line 282 of file StunMessage.hxx.

◆ mMessageIntegritySha256MsgLength

uint16_t reTurn::StunMessage::mMessageIntegritySha256MsgLength

Definition at line 253 of file StunMessage.hxx.

◆ mMethod

uint16_t reTurn::StunMessage::mMethod

Definition at line 245 of file StunMessage.hxx.

◆ mNonce

resip::Data* reTurn::StunMessage::mNonce

Definition at line 297 of file StunMessage.hxx.

◆ mPassword

resip::Data* reTurn::StunMessage::mPassword

Definition at line 276 of file StunMessage.hxx.

◆ mRealm

resip::Data* reTurn::StunMessage::mRealm

Definition at line 294 of file StunMessage.hxx.

◆ mReflectedFrom

StunAtrAddress reTurn::StunMessage::mReflectedFrom

Definition at line 291 of file StunMessage.hxx.

◆ mRemoteTuple

StunTuple reTurn::StunMessage::mRemoteTuple

Definition at line 248 of file StunMessage.hxx.

◆ mResponseAddress

StunAtrAddress reTurn::StunMessage::mResponseAddress

Definition at line 261 of file StunMessage.hxx.

◆ mSecondaryAddress

StunAtrAddress reTurn::StunMessage::mSecondaryAddress

Definition at line 312 of file StunMessage.hxx.

◆ mSoftware

resip::Data* reTurn::StunMessage::mSoftware

Definition at line 306 of file StunMessage.hxx.

◆ mSourceAddress

StunAtrAddress reTurn::StunMessage::mSourceAddress

Definition at line 267 of file StunMessage.hxx.

◆ mTurnBandwidth

uint32_t reTurn::StunMessage::mTurnBandwidth

Definition at line 322 of file StunMessage.hxx.

◆ mTurnChannelNumber

uint16_t reTurn::StunMessage::mTurnChannelNumber

Definition at line 316 of file StunMessage.hxx.

◆ mTurnConnectStat

uint32_t reTurn::StunMessage::mTurnConnectStat

Definition at line 346 of file StunMessage.hxx.

◆ mTurnData

resip::Data* reTurn::StunMessage::mTurnData

Definition at line 328 of file StunMessage.hxx.

◆ mTurnEvenPort

TurnAtrEvenPort reTurn::StunMessage::mTurnEvenPort

Definition at line 334 of file StunMessage.hxx.

◆ mTurnLifetime

uint32_t reTurn::StunMessage::mTurnLifetime

Definition at line 319 of file StunMessage.hxx.

◆ mTurnRequestedAddressFamily

uint16_t reTurn::StunMessage::mTurnRequestedAddressFamily

Definition at line 349 of file StunMessage.hxx.

◆ mTurnRequestedTransport

uint8_t reTurn::StunMessage::mTurnRequestedTransport

Definition at line 337 of file StunMessage.hxx.

◆ mTurnReservationToken

uint64_t reTurn::StunMessage::mTurnReservationToken

Definition at line 343 of file StunMessage.hxx.

◆ mTurnXorPeerAddress

StunAtrAddress reTurn::StunMessage::mTurnXorPeerAddress[TURN_MAX_XOR_PEER_ADDR]

Definition at line 325 of file StunMessage.hxx.

◆ mTurnXorRelayedAddress

StunAtrAddress reTurn::StunMessage::mTurnXorRelayedAddress

Definition at line 331 of file StunMessage.hxx.

◆ mUnknownAttributes

StunAtrUnknown reTurn::StunMessage::mUnknownAttributes

Definition at line 288 of file StunMessage.hxx.

◆ mUnknownRequiredAttributes

StunAtrUnknown reTurn::StunMessage::mUnknownRequiredAttributes

Definition at line 362 of file StunMessage.hxx.

◆ mUsername

resip::Data* reTurn::StunMessage::mUsername

Definition at line 273 of file StunMessage.hxx.

◆ mXorMappedAddress

StunAtrAddress reTurn::StunMessage::mXorMappedAddress

Definition at line 300 of file StunMessage.hxx.

◆ Nonce

const uint16_t reTurn::StunMessage::Nonce = 0x0015
static

Definition at line 141 of file StunMessage.hxx.

◆ Password

const uint16_t reTurn::StunMessage::Password = 0x0007
static

Definition at line 134 of file StunMessage.hxx.

◆ PropsNone

const uint8_t reTurn::StunMessage::PropsNone = 0xFF
static

Definition at line 80 of file StunMessage.hxx.

◆ PropsPortEven

const uint8_t reTurn::StunMessage::PropsPortEven = 0x00
static

Definition at line 78 of file StunMessage.hxx.

◆ PropsPortPair

const uint8_t reTurn::StunMessage::PropsPortPair = 0x80
static

Definition at line 79 of file StunMessage.hxx.

◆ Realm

const uint16_t reTurn::StunMessage::Realm = 0x0014
static

Definition at line 140 of file StunMessage.hxx.

◆ ReflectedFrom

const uint16_t reTurn::StunMessage::ReflectedFrom = 0x000B
static

Definition at line 139 of file StunMessage.hxx.

◆ RequestedTransportTcp

const uint32_t reTurn::StunMessage::RequestedTransportTcp = 6
static

Definition at line 85 of file StunMessage.hxx.

◆ RequestedTransportUdp

const uint32_t reTurn::StunMessage::RequestedTransportUdp = 17
static

Definition at line 84 of file StunMessage.hxx.

◆ ResponseAddress

const uint16_t reTurn::StunMessage::ResponseAddress = 0x0002
static

Definition at line 129 of file StunMessage.hxx.

◆ SecondaryAddress

const uint16_t reTurn::StunMessage::SecondaryAddress = 0x8050
static

Definition at line 148 of file StunMessage.hxx.

◆ SharedSecretMethod

const uint16_t reTurn::StunMessage::SharedSecretMethod = 0x002
static

Definition at line 116 of file StunMessage.hxx.

◆ Software

const uint16_t reTurn::StunMessage::Software = 0x8022
static

Definition at line 145 of file StunMessage.hxx.

◆ SourceAddress

const uint16_t reTurn::StunMessage::SourceAddress = 0x0004
static

Definition at line 131 of file StunMessage.hxx.

◆ StunClassErrorResponse

const uint16_t reTurn::StunMessage::StunClassErrorResponse = 0x0110
static

Definition at line 112 of file StunMessage.hxx.

◆ StunClassIndication

const uint16_t reTurn::StunMessage::StunClassIndication = 0x0010
static

Definition at line 110 of file StunMessage.hxx.

◆ StunClassRequest

const uint16_t reTurn::StunMessage::StunClassRequest = 0x0000
static

Definition at line 109 of file StunMessage.hxx.

◆ StunClassSuccessResponse

const uint16_t reTurn::StunMessage::StunClassSuccessResponse = 0x0100
static

Definition at line 111 of file StunMessage.hxx.

◆ StunMagicCookie

const uint32_t reTurn::StunMessage::StunMagicCookie = 0x2112A442
static

Definition at line 171 of file StunMessage.hxx.

◆ TurnAllocateMethod

const uint16_t reTurn::StunMessage::TurnAllocateMethod = 0x003
static

Definition at line 119 of file StunMessage.hxx.

◆ TurnBandwidth

const uint16_t reTurn::StunMessage::TurnBandwidth = 0x0010
static

Definition at line 153 of file StunMessage.hxx.

◆ TurnChannelBindMethod

const uint16_t reTurn::StunMessage::TurnChannelBindMethod = 0x009
static

Definition at line 124 of file StunMessage.hxx.

◆ TurnChannelNumber

const uint16_t reTurn::StunMessage::TurnChannelNumber = 0x000C
static

Definition at line 151 of file StunMessage.hxx.

◆ TurnConnectStat

const uint16_t reTurn::StunMessage::TurnConnectStat = 0x0023
static

Definition at line 162 of file StunMessage.hxx.

◆ TurnCreatePermissionMethod

const uint16_t reTurn::StunMessage::TurnCreatePermissionMethod = 0x008
static

Definition at line 123 of file StunMessage.hxx.

◆ TurnData

const uint16_t reTurn::StunMessage::TurnData = 0x0013
static

Definition at line 155 of file StunMessage.hxx.

◆ TurnDataMethod

const uint16_t reTurn::StunMessage::TurnDataMethod = 0x007
static

Definition at line 122 of file StunMessage.hxx.

◆ TurnDontFragment

const uint16_t reTurn::StunMessage::TurnDontFragment = 0x001a
static

Definition at line 159 of file StunMessage.hxx.

◆ TurnEvenPort

const uint16_t reTurn::StunMessage::TurnEvenPort = 0x0018
static

Definition at line 157 of file StunMessage.hxx.

◆ TurnLifetime

const uint16_t reTurn::StunMessage::TurnLifetime = 0x000D
static

Definition at line 152 of file StunMessage.hxx.

◆ TurnRefreshMethod

const uint16_t reTurn::StunMessage::TurnRefreshMethod = 0x004
static

Definition at line 120 of file StunMessage.hxx.

◆ TurnRequestedAddressFamily

const uint16_t reTurn::StunMessage::TurnRequestedAddressFamily = 0x0017
static

Definition at line 163 of file StunMessage.hxx.

◆ TurnRequestedTransport

const uint16_t reTurn::StunMessage::TurnRequestedTransport = 0x0019
static

Definition at line 158 of file StunMessage.hxx.

◆ TurnReservationToken

const uint16_t reTurn::StunMessage::TurnReservationToken = 0x0022
static

Definition at line 161 of file StunMessage.hxx.

◆ TurnSendMethod

const uint16_t reTurn::StunMessage::TurnSendMethod = 0x006
static

Definition at line 121 of file StunMessage.hxx.

◆ TurnXorPeerAddress

const uint16_t reTurn::StunMessage::TurnXorPeerAddress = 0x0012
static

Definition at line 154 of file StunMessage.hxx.

◆ TurnXorRelayedAddress

const uint16_t reTurn::StunMessage::TurnXorRelayedAddress = 0x0016
static

Definition at line 156 of file StunMessage.hxx.

◆ UnknownAttribute

const uint16_t reTurn::StunMessage::UnknownAttribute = 0x000A
static

Definition at line 138 of file StunMessage.hxx.

◆ Username

const uint16_t reTurn::StunMessage::Username = 0x0006
static

Definition at line 133 of file StunMessage.hxx.

◆ XorMappedAddress

const uint16_t reTurn::StunMessage::XorMappedAddress = 0x0020
static

Definition at line 142 of file StunMessage.hxx.

◆ XorMappedAddress_old

const uint16_t reTurn::StunMessage::XorMappedAddress_old = 0x8020
static

Definition at line 143 of file StunMessage.hxx.


The documentation for this class was generated from the following files: