• Home
  • Raw
  • Download

Lines Matching refs:PseudoTcp

30 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()
94 remote_.SetOption(PseudoTcp::OPT_SNDBUF, size); in SetOptSndBuf()
97 remote_.SetOption(PseudoTcp::OPT_RCVBUF, size); in SetRemoteOptRcvBuf()
100 local_.SetOption(PseudoTcp::OPT_RCVBUF, size); in SetLocalOptRcvBuf()
132 virtual void OnTcpOpen(PseudoTcp* tcp) { in OnTcpOpen()
145 virtual void OnTcpClosed(PseudoTcp* tcp, uint32_t error) { in OnTcpClosed()
155 virtual WriteResult TcpWritePacket(PseudoTcp* tcp, in TcpWritePacket()
185 void UpdateClock(PseudoTcp* tcp, uint32_t message) { in UpdateClock()
187 tcp->GetNextClock(PseudoTcp::Now(), interval); in UpdateClock()
208 local_.NotifyClock(PseudoTcp::Now()); in OnMessage()
212 remote_.NotifyClock(PseudoTcp::Now()); in OnMessage()
273 virtual void OnTcpReadable(PseudoTcp* tcp) { in OnTcpReadable()
288 virtual void OnTcpWriteable(PseudoTcp* tcp) { in OnTcpWriteable()
380 virtual void OnTcpReadable(PseudoTcp* tcp) { in OnTcpReadable()
399 PseudoTcp* tmp = receiver_; in OnTcpReadable()
407 virtual void OnTcpWriteable(PseudoTcp* tcp) { in OnTcpWriteable()
454 PseudoTcp* sender_;
455 PseudoTcp* receiver_;
524 virtual void OnTcpReadable(PseudoTcp* tcp) {} in OnTcpReadable()
526 virtual void OnTcpWriteable(PseudoTcp* tcp) {} in OnTcpWriteable()