Home
last modified time | relevance | path

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

/external/webrtc/pc/
Dsctp_utils_unittest.cc29 uint16_t protocol_length; in VerifyOpenMessageFormat() local
64 ASSERT_TRUE(buffer.ReadUInt16(&protocol_length)); in VerifyOpenMessageFormat()
66 EXPECT_EQ(config.protocol.size(), protocol_length); in VerifyOpenMessageFormat()
72 ASSERT_TRUE(buffer.ReadString(&protocol_output, protocol_length)); in VerifyOpenMessageFormat()
Dsctp_utils.cc111 uint16_t protocol_length; in ParseDataChannelOpenMessage() local
112 if (!buffer.ReadUInt16(&protocol_length)) { in ParseDataChannelOpenMessage()
120 if (!buffer.ReadString(&config->protocol, protocol_length)) { in ParseDataChannelOpenMessage()