Home | History | Annotate | Download | only in shill

Lines Matching refs:SocketInfo

98   void ExpectSocketInfoEqual(const SocketInfo& info1, const SocketInfo& info2) {
119 SocketInfo v4_info(SocketInfo::kConnectionStateListen,
126 SocketInfo::kTimerStateNoTimerPending);
127 SocketInfo v6_info(SocketInfo::kConnectionStateListen,
134 SocketInfo::kTimerStateNoTimerPending);
136 vector<SocketInfo> info_list;
171 vector<SocketInfo> info_list;
183 SocketInfo v4_info1(SocketInfo::kConnectionStateListen,
190 SocketInfo::kTimerStateNoTimerPending);
191 SocketInfo v4_info2(SocketInfo::kConnectionStateEstablished,
198 SocketInfo::kTimerStateNoTimerPending);
199 SocketInfo v6_info1(SocketInfo::kConnectionStateListen,
206 SocketInfo::kTimerStateNoTimerPending);
207 SocketInfo v6_info2(SocketInfo::kConnectionStateEstablished,
214 SocketInfo::kTimerStateNoTimerPending);
236 SocketInfo info;
242 ExpectSocketInfoEqual(SocketInfo(SocketInfo::kConnectionStateListen,
249 SocketInfo::kTimerStateNoTimerPending),
369 SocketInfo::ConnectionState connection_state =
370 SocketInfo::kConnectionStateUnknown;
377 EXPECT_EQ(SocketInfo::kConnectionStateUnknown, connection_state);
379 EXPECT_EQ(SocketInfo::kConnectionStateEstablished, connection_state);
381 EXPECT_EQ(SocketInfo::kConnectionStateSynSent, connection_state);
383 EXPECT_EQ(SocketInfo::kConnectionStateSynRecv, connection_state);
385 EXPECT_EQ(SocketInfo::kConnectionStateFinWait1, connection_state);
387 EXPECT_EQ(SocketInfo::kConnectionStateFinWait2, connection_state);
389 EXPECT_EQ(SocketInfo::kConnectionStateTimeWait, connection_state);
391 EXPECT_EQ(SocketInfo::kConnectionStateClose, connection_state);
393 EXPECT_EQ(SocketInfo::kConnectionStateCloseWait, connection_state);
395 EXPECT_EQ(SocketInfo::kConnectionStateLastAck, connection_state);
397 EXPECT_EQ(SocketInfo::kConnectionStateListen, connection_state);
399 EXPECT_EQ(SocketInfo::kConnectionStateClosing, connection_state);
401 for (int i = SocketInfo::kConnectionStateMax; i < 256; ++i) {
404 EXPECT_EQ(SocketInfo::kConnectionStateUnknown, connection_state);
409 SocketInfo::TimerState timer_state = SocketInfo::kTimerStateUnknown;
417 EXPECT_EQ(SocketInfo::kTimerStateNoTimerPending, timer_state);
419 EXPECT_EQ(SocketInfo::kTimerStateRetransmitTimerPending, timer_state);
421 EXPECT_EQ(SocketInfo::kTimerStateAnotherTimerPending, timer_state);
423 EXPECT_EQ(SocketInfo::kTimerStateInTimeWaitState, timer_state);
425 EXPECT_EQ(SocketInfo::kTimerStateZeroWindowProbeTimerPending, timer_state);
427 for (int i = SocketInfo::kTimerStateMax; i < 256; ++i) {
430 EXPECT_EQ(SocketInfo::kTimerStateUnknown, timer_state);