Home
last modified time | relevance | path

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

/third_party/cares/test/
Dares-test.cc173 : udpport_(port), tcpport_(tcpport ? tcpport : udpport_), qid_(-1) { in MockServer()
197 addr.sin_port = htons(udpport_); in MockServer()
199 EXPECT_EQ(0, udprc) << "Failed to bind AF_INET to UDP port " << udpport_; in MockServer()
209 addr.sin6_port = htons(udpport_); in MockServer()
211 EXPECT_EQ(0, udprc) << "Failed to bind AF_INET6 to UDP port " << udpport_; in MockServer()
218 << " on port " << udpport_ << std::endl; in MockServer()
324 << " on port " << (fd == udpfd_ ? udpport_ : tcpport_) << std::endl; in ProcessFD()
360 << " on port " << ((fd == udpfd_) ? udpport_ : tcpport_) << std::endl; in ProcessRequest()
Dares-test.h159 int udpport() const { return udpport_; } in udpport()
166 int udpport_; variable