Home | History | Annotate | Download | only in base

Lines Matching refs:StunAttribute

50   attrs_ = new std::vector<StunAttribute*>();
74 bool StunMessage::AddAttribute(StunAttribute* attr) {
94 const StunAttribute* mapped_address =
340 StunAttribute* attr = CreateAttribute(attr_type, attr_length);
395 StunAttribute* StunMessage::CreateAttribute(int type, size_t length) /*const*/ {
397 return StunAttribute::Create(value_type, type, static_cast<uint16_t>(length),
401 const StunAttribute* StunMessage::GetAttribute(int type) const {
414 // StunAttribute
416 StunAttribute::StunAttribute(uint16_t type, uint16_t length)
420 void StunAttribute::ConsumePadding(rtc::ByteBuffer* buf) const {
427 void StunAttribute::WritePadding(rtc::ByteBuffer* buf) const {
435 StunAttribute* StunAttribute::Create(StunAttributeValueType value_type,
459 StunAddressAttribute* StunAttribute::CreateAddress(uint16_t type) {
463 StunXorAddressAttribute* StunAttribute::CreateXorAddress(uint16_t type) {
467 StunUInt64Attribute* StunAttribute::CreateUInt64(uint16_t type) {
471 StunUInt32Attribute* StunAttribute::CreateUInt32(uint16_t type) {
475 StunByteStringAttribute* StunAttribute::CreateByteString(uint16_t type) {
479 StunErrorCodeAttribute* StunAttribute::CreateErrorCode() {
484 StunUInt16ListAttribute* StunAttribute::CreateUnknownAttributes() {
490 : StunAttribute(type, 0) {
495 : StunAttribute(type, length) {
645 : StunAttribute(type, SIZE), bits_(value) {
649 : StunAttribute(type, SIZE), bits_(0) {
675 : StunAttribute(type, SIZE), bits_(value) {
679 : StunAttribute(type, SIZE), bits_(0) {
694 : StunAttribute(type, 0), bytes_(NULL) {
699 : StunAttribute(type, 0), bytes_(NULL) {
706 : StunAttribute(type, 0), bytes_(NULL) {
711 : StunAttribute(type, length), bytes_(NULL) {
765 : StunAttribute(type, 0) {
771 : StunAttribute(type, length), class_(0), number_(0) {
817 : StunAttribute(type, length) {