webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Functions | Variables
relayserver.cc File Reference
#include "webrtc/p2p/base/relayserver.h"
#include <algorithm>
#include "webrtc/base/asynctcpsocket.h"
#include "webrtc/base/checks.h"
#include "webrtc/base/helpers.h"
#include "webrtc/base/logging.h"
#include "webrtc/base/socketadapters.h"

Namespaces

 cricket
 

Functions

void cricket::Send (rtc::AsyncPacketSocket *socket, const char *bytes, size_t size, const rtc::SocketAddress &addr)
 
void cricket::SendStun (const StunMessage &msg, rtc::AsyncPacketSocket *socket, const rtc::SocketAddress &addr)
 
void cricket::SendStunError (const StunMessage &msg, rtc::AsyncPacketSocket *socket, const rtc::SocketAddress &remote_addr, int error_code, const char *error_desc, const std::string &magic_cookie)
 

Variables

const int cricket::MAX_LIFETIME = 15 * 60 * 1000
 
const uint32_t cricket::USERNAME_LENGTH = 16
 
const uint32_t cricket::MSG_LIFETIME_TIMER = 1