Searched defs:attr_length (Results 1 - 1 of 1) sorted by relevance

/external/webrtc/webrtc/p2p/base/
H A Dstun.cc81 size_t attr_length = attr->length(); local
82 if (attr_length % 4 != 0) {
83 attr_length += (4 - (attr_length % 4));
85 length_ += static_cast<uint16_t>(attr_length + 4);
147 uint16_t attr_type, attr_length; local
150 attr_length = rtc::GetBE16(&data[current_pos + sizeof(attr_type)]);
154 if (attr_length != kStunMessageIntegritySize ||
155 current_pos + attr_length > size) {
163 current_pos += sizeof(attr_type) + sizeof(attr_length)
334 uint16_t attr_type, attr_length; local
[all...]

Completed in 308 milliseconds