HomeSort by relevance Sort by last modified time
    Searched refs:StunMessage (Results 1 - 25 of 27) sorted by null

1 2

  /external/webrtc/webrtc/p2p/base/
stunserver.h 37 virtual void OnBindingRequest(StunMessage* msg,
39 void OnAllocateRequest(StunMessage* msg,
41 void OnSharedSecretRequest(StunMessage* msg,
43 void OnSendRequest(StunMessage* msg,
48 const StunMessage& msg, const rtc::SocketAddress& addr,
52 void SendResponse(const StunMessage& msg,
56 void GetStunBindReqponse(StunMessage* request,
58 StunMessage* response) const;
stunrequest.h 51 bool CheckResponse(StunMessage* msg);
77 StunRequest(StunMessage* request);
80 // Causes our wrapped StunMessage to be Prepared
97 const StunMessage* msg() const;
109 virtual void Prepare(StunMessage* request) {}
112 virtual void OnResponse(StunMessage* response) {}
113 virtual void OnErrorResponse(StunMessage* response) {}
127 StunMessage* msg_;
stunserver.cc 32 StunMessage msg;
52 StunMessage* msg, const rtc::SocketAddress& remote_addr) {
53 StunMessage response;
59 const StunMessage& msg, const rtc::SocketAddress& addr,
61 StunMessage err_msg;
74 const StunMessage& msg, const rtc::SocketAddress& addr) {
82 void StunServer::GetStunBindReqponse(StunMessage* request,
84 StunMessage* response) const {
stunrequest_unittest.cc 34 void OnResponse(StunMessage* res) {
38 void OnErrorResponse(StunMessage* res) {
47 static StunMessage* CreateStunMessage(StunMessageType type,
48 StunMessage* req) {
49 StunMessage* msg = new StunMessage();
69 StunMessage* response_;
78 StunRequestThunker(StunMessage* msg, StunRequestTest* test)
82 virtual void OnResponse(StunMessage* res) {
85 virtual void OnErrorResponse(StunMessage* res)
    [all...]
stunserver_unittest.cc 41 void Send(const StunMessage& msg) {
52 StunMessage* Receive() {
53 StunMessage* msg = NULL;
58 msg = new StunMessage();
77 StunMessage req;
83 StunMessage* msg = Receive();
teststunserver.h 41 void OnBindingRequest(StunMessage* msg,
46 StunMessage response;
relayserver_unittest.cc 63 rtc::scoped_ptr<StunMessage> req(
71 rtc::scoped_ptr<StunMessage> req(
78 void Send1(const StunMessage* msg) {
83 void Send2(const StunMessage* msg) {
106 StunMessage* Receive1() {
109 StunMessage* Receive2() {
118 StunMessage* Receive(rtc::TestClient* client) {
119 StunMessage* msg = NULL;
141 static StunMessage* CreateStunMessage(int type) {
142 StunMessage* msg = new RelayMessage()
    [all...]
stun.h 132 class StunMessage {
134 StunMessage();
135 virtual ~StunMessage();
167 // This can't currently be done on a StunMessage, since it is affected by
168 // padding data (which we discard when reading a StunMessage).
190 virtual StunMessage* CreateNew() const { return new StunMessage(); }
220 virtual void SetOwner(StunMessage* owner) {}
234 StunMessage* owner);
322 StunXorAddressAttribute(uint16_t type, uint16_t length, StunMessage* owner)
    [all...]
portinterface.h 28 class StunMessage;
97 virtual void SendBindingResponse(StunMessage* request,
100 StunMessage* request, const rtc::SocketAddress& addr,
turnserver.h 33 class StunMessage;
216 void HandleBindingRequest(TurnServerConnection* conn, const StunMessage* msg);
220 bool GetKey(const StunMessage* msg, std::string* key);
221 bool CheckAuthorization(TurnServerConnection* conn, const StunMessage* msg,
231 void SendErrorResponse(TurnServerConnection* conn, const StunMessage* req,
235 const StunMessage* req,
240 const StunMessage* req,
243 void SendStun(TurnServerConnection* conn, StunMessage* msg);
stun_unittest.cc 26 void CheckStunHeader(const StunMessage& msg, StunMessageType expected_type,
32 void CheckStunTransactionID(const StunMessage& msg,
61 size_t ReadStunMessageTestCase(StunMessage* msg,
529 StunMessage msg;
541 StunMessage msg;
542 StunMessage msg2;
555 StunMessage msg;
568 StunMessage msg;
581 StunMessage msg;
597 StunMessage msg
    [all...]
turnport.cc 62 void Prepare(StunMessage* request) override;
64 void OnResponse(StunMessage* response) override;
65 void OnErrorResponse(StunMessage* response) override;
70 void OnAuthChallenge(StunMessage* response, int code);
71 void OnTryAlternate(StunMessage* response, int code);
72 void OnUnknownAttribute(StunMessage* response);
80 void Prepare(StunMessage* request) override;
82 void OnResponse(StunMessage* response) override;
83 void OnErrorResponse(StunMessage* response) override;
97 void Prepare(StunMessage* request) override
    [all...]
stun.cc 43 // StunMessage
45 StunMessage::StunMessage()
53 StunMessage::~StunMessage() {
59 bool StunMessage::IsLegacy() const {
66 bool StunMessage::SetTransactionID(const std::string& str) {
74 bool StunMessage::AddAttribute(StunAttribute* attr) {
89 const StunAddressAttribute* StunMessage::GetAddress(int type) const {
106 const StunUInt32Attribute* StunMessage::GetUInt32(int type) const
    [all...]
relayserver.h 103 std::string* username, StunMessage* msg);
110 const StunMessage& msg);
111 void HandleStunSend(RelayServerConnection* int_conn, const StunMessage& msg);
154 void SendStun(const StunMessage& msg);
155 void SendStunError(const StunMessage& request, int code, const char* desc);
stunrequest.cc 88 bool StunRequestManager::CheckResponse(StunMessage* msg) {
132 rtc::scoped_ptr<StunMessage> response(iter->second->msg_->CreateNew());
143 msg_(new StunMessage()), tstamp_(0) {
148 StunRequest::StunRequest(StunMessage* request)
180 const StunMessage* StunRequest::msg() const {
port.h 240 virtual void SendBindingResponse(StunMessage* request,
243 StunMessage* request, const rtc::SocketAddress& addr,
272 bool ParseStunUsername(const StunMessage* stun_msg,
588 StunMessage* response);
590 StunMessage* response);
634 StunMessage* response);
turnserver.cc 96 static bool InitResponse(const StunMessage* req, StunMessage* resp) {
105 static bool InitErrorResponse(const StunMessage* req, int code,
106 const std::string& reason, StunMessage* resp) {
279 bool TurnServer::GetKey(const StunMessage* msg, std::string* key) {
291 const StunMessage* msg,
328 if (key.empty() || !StunMessage::ValidateMessageIntegrity(data, size, key)) {
351 const StunMessage* req) {
352 StunMessage response;
453 const StunMessage* req
    [all...]
port.cc 338 if (!StunMessage::ValidateFingerprint(data, size)) {
435 bool Port::ParseStunUsername(const StunMessage* stun_msg,
529 void Port::SendBindingResponse(StunMessage* request,
543 StunMessage response;
590 void Port::SendBindingErrorResponse(StunMessage* request,
596 StunMessage response;
679 void Prepare(StunMessage* request) override {
733 void OnResponse(StunMessage* response) override {
737 void OnErrorResponse(StunMessage* response) override {
    [all...]
relayport.cc 51 bool CheckResponse(StunMessage* msg);
166 void Prepare(StunMessage* request) override;
171 void OnResponse(StunMessage* response) override;
172 void OnErrorResponse(StunMessage* response) override;
426 bool RelayConnection::CheckResponse(StunMessage* msg) {
785 void AllocateRequest::Prepare(StunMessage* request) {
810 void AllocateRequest::OnResponse(StunMessage* response) {
827 void AllocateRequest::OnErrorResponse(StunMessage* response) {
relayserver.cc 46 void SendStun(const StunMessage& msg,
55 void SendStunError(const StunMessage& msg, rtc::AsyncPacketSocket* socket,
298 StunMessage* msg) {
412 RelayServerConnection* int_conn, const StunMessage& request) {
451 RelayServerConnection* int_conn, const StunMessage& request) {
625 void RelayServerConnection::SendStun(const StunMessage& msg) {
633 const StunMessage& request, int error_code, const char* error_desc) {
stunport.cc 48 virtual void Prepare(StunMessage* request) override {
52 virtual void OnResponse(StunMessage* response) override {
74 virtual void OnErrorResponse(StunMessage* response) override {
tcpport.h 148 StunMessage* response) override;
turnport.h 211 void AddRequestAuthInfo(StunMessage* msg);
234 bool UpdateNonce(StunMessage* response);
  /external/webrtc/webrtc/p2p/client/
fakeportallocator.h 48 void SendBindingResponse(StunMessage* request,
  /external/webrtc/webrtc/p2p/stunprober/
stunprober.cc 136 cricket::StunMessage message;
174 cricket::StunMessage stun_response;

Completed in 502 milliseconds

1 2