Home
last modified time | relevance | path

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

/external/webrtc/p2p/base/
Dpseudo_tcp_unittest.cc30 using cricket::PseudoTcp;
36 class PseudoTcpForTest : public cricket::PseudoTcp {
39 : PseudoTcp(notify, conv) {} in PseudoTcpForTest()
41 bool isReceiveBufferFull() const { return PseudoTcp::isReceiveBufferFull(); } in isReceiveBufferFull()
43 void disableWindowScale() { PseudoTcp::disableWindowScale(); } in disableWindowScale()
85 local_.SetOption(PseudoTcp::OPT_NODELAY, !enable_nagles); in SetOptNagling()
86 remote_.SetOption(PseudoTcp::OPT_NODELAY, !enable_nagles); in SetOptNagling()
89 local_.SetOption(PseudoTcp::OPT_ACKDELAY, ack_delay); in SetOptAckDelay()
90 remote_.SetOption(PseudoTcp::OPT_ACKDELAY, ack_delay); in SetOptAckDelay()
93 local_.SetOption(PseudoTcp::OPT_SNDBUF, size); in SetOptSndBuf()
[all …]
Dpseudo_tcp.cc201 uint32_t PseudoTcp::Now() { in Now()
209 PseudoTcp::PseudoTcp(IPseudoTcpNotify* notify, uint32_t conv) in PseudoTcp() function in cricket::PseudoTcp
259 PseudoTcp::~PseudoTcp() {} in ~PseudoTcp()
261 int PseudoTcp::Connect() { in Connect()
276 void PseudoTcp::NotifyMTU(uint16_t mtu) { in NotifyMTU()
283 void PseudoTcp::NotifyClock(uint32_t now) { in NotifyClock()
355 bool PseudoTcp::NotifyPacket(const char* buffer, size_t len) { in NotifyPacket()
363 bool PseudoTcp::GetNextClock(uint32_t now, long& timeout) { in GetNextClock()
367 void PseudoTcp::GetOption(Option opt, int* value) { in GetOption()
380 void PseudoTcp::SetOption(Option opt, int value) { in SetOption()
[all …]
Dpseudo_tcp.h28 class PseudoTcp; variable
33 virtual void OnTcpOpen(PseudoTcp* tcp) = 0;
34 virtual void OnTcpReadable(PseudoTcp* tcp) = 0;
35 virtual void OnTcpWriteable(PseudoTcp* tcp) = 0;
36 virtual void OnTcpClosed(PseudoTcp* tcp, uint32_t error) = 0;
40 virtual WriteResult TcpWritePacket(PseudoTcp* tcp,
52 class RTC_EXPORT PseudoTcp {
56 PseudoTcp(IPseudoTcpNotify* notify, uint32_t conv);
57 virtual ~PseudoTcp();
/external/webrtc/test/fuzzers/
Dpseudotcp_parser_fuzzer.cc20 void OnTcpOpen(cricket::PseudoTcp* tcp) {} in OnTcpOpen()
21 void OnTcpReadable(cricket::PseudoTcp* tcp) {} in OnTcpReadable()
22 void OnTcpWriteable(cricket::PseudoTcp* tcp) {} in OnTcpWriteable()
23 void OnTcpClosed(cricket::PseudoTcp* tcp, uint32_t error) {} in OnTcpClosed()
25 cricket::IPseudoTcpNotify::WriteResult TcpWritePacket(cricket::PseudoTcp* tcp, in TcpWritePacket()
39 cricket::PseudoTcp ptcp;