Home
last modified time | relevance | path

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

/external/webrtc/webrtc/p2p/base/
Dpseudotcp_unittest.cc22 using cricket::PseudoTcp;
28 class PseudoTcpForTest : public cricket::PseudoTcp {
31 : PseudoTcp(notify, conv) {} in PseudoTcpForTest()
34 return PseudoTcp::isReceiveBufferFull(); in isReceiveBufferFull()
38 PseudoTcp::disableWindowScale(); in disableWindowScale()
77 local_.SetOption(PseudoTcp::OPT_NODELAY, !enable_nagles); in SetOptNagling()
78 remote_.SetOption(PseudoTcp::OPT_NODELAY, !enable_nagles); in SetOptNagling()
81 local_.SetOption(PseudoTcp::OPT_ACKDELAY, ack_delay); in SetOptAckDelay()
82 remote_.SetOption(PseudoTcp::OPT_ACKDELAY, ack_delay); in SetOptAckDelay()
85 local_.SetOption(PseudoTcp::OPT_SNDBUF, size); in SetOptSndBuf()
[all …]
Dpseudotcp.cc204 uint32_t PseudoTcp::Now() { in Now()
212 PseudoTcp::PseudoTcp(IPseudoTcpNotify* notify, uint32_t conv) in PseudoTcp() function in cricket::PseudoTcp
262 PseudoTcp::~PseudoTcp() { in ~PseudoTcp()
265 int PseudoTcp::Connect() { in Connect()
280 void PseudoTcp::NotifyMTU(uint16_t mtu) { in NotifyMTU()
287 void PseudoTcp::NotifyClock(uint32_t now) { in NotifyClock()
357 bool PseudoTcp::NotifyPacket(const char* buffer, size_t len) { in NotifyPacket()
365 bool PseudoTcp::GetNextClock(uint32_t now, long& timeout) { in GetNextClock()
369 void PseudoTcp::GetOption(Option opt, int* value) { in GetOption()
382 void PseudoTcp::SetOption(Option opt, int value) { in SetOption()
[all …]
Dpseudotcp.h25 class PseudoTcp; variable
30 virtual void OnTcpOpen(PseudoTcp* tcp) = 0;
31 virtual void OnTcpReadable(PseudoTcp* tcp) = 0;
32 virtual void OnTcpWriteable(PseudoTcp* tcp) = 0;
33 virtual void OnTcpClosed(PseudoTcp* tcp, uint32_t error) = 0;
37 virtual WriteResult TcpWritePacket(PseudoTcp* tcp,
48 class PseudoTcp {
52 PseudoTcp(IPseudoTcpNotify* notify, uint32_t conv);
53 virtual ~PseudoTcp();