Searched refs:getTcpStateName (Results 1 – 2 of 2) sorted by relevance
162 assertEquals(TCP_FIN_WAIT1, TcpInfo.getTcpStateName(4)); in testTcpStateName()163 assertEquals(TCP_ESTABLISHED, TcpInfo.getTcpStateName(1)); in testTcpStateName()164 assertEquals(TCP_SYN_SENT, TcpInfo.getTcpStateName(2)); in testTcpStateName()165 assertEquals(UNKNOWN_20, TcpInfo.getTcpStateName(20)); in testTcpStateName()
183 static String getTcpStateName(int state) { in getTcpStateName() method in TcpInfo