Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/
Dares-test.cc172 : udpport_(port), tcpport_(tcpport ? tcpport : udpport_), qid_(-1) { in MockServer()
193 addr.sin_port = htons(tcpport_); in MockServer()
195 EXPECT_EQ(0, tcprc) << "Failed to bind AF_INET to TCP port " << tcpport_; in MockServer()
205 addr.sin6_port = htons(tcpport_); in MockServer()
207 EXPECT_EQ(0, tcprc) << "Failed to bind AF_INET6 to TCP port " << tcpport_; in MockServer()
215 << " on port " << tcpport_ in MockServer()
323 << " on port " << (fd == udpfd_ ? udpport_ : tcpport_) << std::endl; in ProcessFD()
359 << " on port " << ((fd == udpfd_) ? udpport_ : tcpport_) << std::endl; in ProcessRequest()
Dares-test.h160 int tcpport() const { return tcpport_; } in tcpport()
167 int tcpport_; variable