[Javanetsim-cvs] javaNetSim/core/protocolsuite/tcp_ip ProtocolStack.java,1.34,1.35
Status: Beta
Brought to you by:
darkkey
From: Alexander B. <da...@us...> - 2005-12-08 20:56:57
|
Update of /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25279/core/protocolsuite/tcp_ip Modified Files: ProtocolStack.java Log Message: New TCP counters. Index: ProtocolStack.java =================================================================== RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/ProtocolStack.java,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** ProtocolStack.java 8 Dec 2005 19:04:23 -0000 1.34 --- ProtocolStack.java 8 Dec 2005 20:56:48 -0000 1.35 *************** *** 1314,1317 **** --- 1314,1329 ---- return mTCPprotocol.GetSentSegmentsNumber(); } + + public int getTCPRDCount(){ + return mTCPprotocol.GetReceivedDuplicatesNumber(); + } + + public int getTCPSDCount(){ + return mTCPprotocol.GetSentDuplicatesNumber(); + } + + public int getTCPACKCount(){ + return mTCPprotocol.GetSentACKSegmentsNumber(); + } public int getUDPinputCount(){ |