webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Functions | Variables
stun.cc File Reference
#include "webrtc/p2p/base/stun.h"
#include <string.h>
#include <memory>
#include "webrtc/base/byteorder.h"
#include "webrtc/base/checks.h"
#include "webrtc/base/crc32.h"
#include "webrtc/base/logging.h"
#include "webrtc/base/messagedigest.h"
#include "webrtc/base/stringencode.h"

Namespaces

 cricket
 

Functions

int cricket::GetStunSuccessResponseType (int request_type)
 
int cricket::GetStunErrorResponseType (int request_type)
 
bool cricket::IsStunRequestType (int msg_type)
 
bool cricket::IsStunIndicationType (int msg_type)
 
bool cricket::IsStunSuccessResponseType (int msg_type)
 
bool cricket::IsStunErrorResponseType (int msg_type)
 
bool cricket::ComputeStunCredentialHash (const std::string &username, const std::string &realm, const std::string &password, std::string *hash)
 

Variables

const char cricket::EMPTY_TRANSACTION_ID [] = "0000000000000000"
 
const uint32_t cricket::STUN_FINGERPRINT_XOR_VALUE = 0x5354554E