Home
last modified time | relevance | path

Searched refs:StunErrorCodeAttribute (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dstun.cc118 const StunErrorCodeAttribute* StunMessage::GetErrorCode() const { in GetErrorCode()
119 return static_cast<const StunErrorCodeAttribute*>( in GetErrorCode()
451 return new StunErrorCodeAttribute(type, length); in Create()
479 StunErrorCodeAttribute* StunAttribute::CreateErrorCode() { in CreateErrorCode()
480 return new StunErrorCodeAttribute( in CreateErrorCode()
481 STUN_ATTR_ERROR_CODE, StunErrorCodeAttribute::MIN_SIZE); in CreateErrorCode()
762 StunErrorCodeAttribute::StunErrorCodeAttribute(uint16_t type, in StunErrorCodeAttribute() function in cricket::StunErrorCodeAttribute
770 StunErrorCodeAttribute::StunErrorCodeAttribute(uint16_t type, uint16_t length) in StunErrorCodeAttribute() function in cricket::StunErrorCodeAttribute
774 StunErrorCodeAttribute::~StunErrorCodeAttribute() { in ~StunErrorCodeAttribute()
777 int StunErrorCodeAttribute::code() const { in code()
[all …]
Dstun.h125 class StunErrorCodeAttribute; variable
158 const StunErrorCodeAttribute* GetErrorCode() const;
242 static StunErrorCodeAttribute* CreateErrorCode();
414 class StunErrorCodeAttribute : public StunAttribute {
417 StunErrorCodeAttribute(uint16_t type, int code, const std::string& reason);
418 StunErrorCodeAttribute(uint16_t type, uint16_t length);
419 ~StunErrorCodeAttribute();
Drelayserver_unittest.cc202 const StunErrorCodeAttribute* err = res->GetErrorCode(); in TEST_F()
222 const StunErrorCodeAttribute* err = res->GetErrorCode(); in TEST_F()
348 const StunErrorCodeAttribute* err = res->GetErrorCode(); in TEST_F()
372 const StunErrorCodeAttribute* err = res->GetErrorCode(); in TEST_F()
397 const StunErrorCodeAttribute* err = res->GetErrorCode(); in TEST_F()
422 const StunErrorCodeAttribute* err = res->GetErrorCode(); in TEST_F()
446 const StunErrorCodeAttribute* err = res->GetErrorCode(); in TEST_F()
520 const StunErrorCodeAttribute* err = res->GetErrorCode(); in TEST_F()
Dstunserver.cc65 StunErrorCodeAttribute* err_code = StunAttribute::CreateErrorCode(); in SendErrorResponse()
Dturnport.cc1088 const StunErrorCodeAttribute* error_code = response->GetErrorCode(); in OnErrorResponse()
1242 const StunErrorCodeAttribute* error_code = response->GetErrorCode(); in OnErrorResponse()
1301 const StunErrorCodeAttribute* error_code = response->GetErrorCode(); in OnErrorResponse()
1371 const StunErrorCodeAttribute* error_code = response->GetErrorCode(); in OnErrorResponse()
Dport.cc388 if (const StunErrorCodeAttribute* error_code = stun_msg->GetErrorCode()) { in GetStunMessage()
602 StunErrorCodeAttribute* error_attr = StunAttribute::CreateErrorCode(); in SendBindingErrorResponse()
1234 const StunErrorCodeAttribute* error_attr = response->GetErrorCode(); in OnConnectionRequestErrorResponse()
Dstunport.cc75 const StunErrorCodeAttribute* attr = response->GetErrorCode(); in OnErrorResponse()
Dstun_unittest.cc1007 const StunErrorCodeAttribute* errorcode = msg.GetErrorCode(); in TEST_F()
1058 StunErrorCodeAttribute* errorcode = StunAttribute::CreateErrorCode(); in TEST_F()
Dport_unittest.cc130 const StunErrorCodeAttribute* error_attr = last_stun_msg_->GetErrorCode(); in last_stun_error_code()
1684 const StunErrorCodeAttribute* error_attr = msg->GetErrorCode(); in TEST_F()
1796 in_msg->AddAttribute(new StunErrorCodeAttribute(STUN_ATTR_ERROR_CODE, in TEST_F()
1968 in_msg->AddAttribute(new StunErrorCodeAttribute(STUN_ATTR_ERROR_CODE, in TEST_F()
Drelayserver.cc72 StunErrorCodeAttribute* err_code = StunAttribute::CreateErrorCode(); in SendStunError()
Drelayport.cc828 const StunErrorCodeAttribute* attr = response->GetErrorCode(); in OnErrorResponse()
Dturnserver.cc112 VERIFY(resp->AddAttribute(new cricket::StunErrorCodeAttribute( in InitErrorResponse()