Lines Matching refs:state
547 self.assertEqual(tcp_test.TCP_SYN_RECV, child.state)
625 def CheckTcpReset(self, state, statename): argument
628 self.IncomingConnection(version, state, self.netid)
630 if state != tcp_test.TCP_LISTEN:
653 self.assertEqual(tcp_test.TCP_FIN_WAIT1, diag_msg.state)
663 self.assertEqual(tcp_test.TCP_FIN_WAIT1, diag_msg.state)
676 self.assertTrue(any(diag_msg.state == tcp_test.TCP_FIN_WAIT2
698 state = getattr(tcp_test, statename)
700 self.IncomingConnection(version, state, self.netid)
707 is_established = (state == tcp_test.TCP_NOT_YET_ACCEPTED)
708 expected_state = tcp_test.TCP_ESTABLISHED if is_established else state
719 self.assertEqual(diag_msg.state, expected_state)