Lines Matching refs:local_
51 : local_(this, 1), in PseudoTcpTestBase()
72 local_.NotifyMTU(mtu); in SetLocalMtu()
85 local_.SetOption(PseudoTcp::OPT_NODELAY, !enable_nagles); in SetOptNagling()
89 local_.SetOption(PseudoTcp::OPT_ACKDELAY, ack_delay); in SetOptAckDelay()
93 local_.SetOption(PseudoTcp::OPT_SNDBUF, size); in SetOptSndBuf()
100 local_.SetOption(PseudoTcp::OPT_RCVBUF, size); in SetLocalOptRcvBuf()
103 void DisableLocalWindowScale() { local_.disableWindowScale(); } in DisableLocalWindowScale()
107 int ret = local_.Connect(); in Connect()
120 local_.Close(false); in Close()
136 if (tcp == &local_) { in OnTcpOpen()
176 int id = (tcp == &local_) ? MSG_RPACKET : MSG_LPACKET; in TcpWritePacket()
183 void UpdateLocalClock() { UpdateClock(&local_, MSG_LCLOCK); } in UpdateLocalClock()
197 local_.NotifyPacket(s.c_str(), s.size()); in OnMessage()
208 local_.NotifyClock(PseudoTcp::Now()); in OnMessage()
221 PseudoTcpForTest local_; member in PseudoTcpTestBase
291 if (tcp == &local_) { in OnTcpWriteable()
322 sent = local_.Send(block, tosend); in WriteData()
355 sender_ = &local_; in TestPingPong()
393 if (receiver_ == &local_ && --iterations_remaining_ == 0) { in OnTcpReadable()
562 sent = local_.Send(block, tosend); in WriteData()