Home
last modified time | relevance | path

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

/external/webrtc/webrtc/p2p/base/
Dasyncstuntcpsocket.cc63 size_t expected_pkt_len = GetExpectedLength(pv, cb, &pad_bytes); in Send() local
66 if (cb != expected_pkt_len) in Send()
104 size_t expected_pkt_len = GetExpectedLength(data, *len, &pad_bytes); in ProcessInput() local
105 size_t actual_length = expected_pkt_len + pad_bytes; in ProcessInput()
111 SignalReadPacket(this, data, expected_pkt_len, remote_addr, in ProcessInput()
131 size_t expected_pkt_len; in GetExpectedLength() local
135 expected_pkt_len = kStunHeaderSize + pkt_len; in GetExpectedLength()
138 expected_pkt_len = kTurnChannelDataHdrSize + pkt_len; in GetExpectedLength()
147 if (expected_pkt_len % 4) in GetExpectedLength()
148 *pad_bytes = 4 - (expected_pkt_len % 4); in GetExpectedLength()
[all …]