Update of /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv2444/core/protocolsuite/tcp_ip
Modified Files:
Tcp.java
Log Message:
Index: Tcp.java
===================================================================
RCS file: /cvsroot/javanetsim/javaNetSim/core/protocolsuite/tcp_ip/Tcp.java,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** Tcp.java 2 Sep 2006 14:50:50 -0000 1.50
--- Tcp.java 2 Sep 2006 14:57:37 -0000 1.51
***************
*** 1332,1336 ****
//System.out.println("%%% - in here");
TCP_Info.setLayer("Transport");
! TCP_Info.setDescription("Resending ACK packet due to duplicate arrival. Total duplicates received: " + Elm.received_duplicates + ".");
Simulation.addLayerInfo(TCP_Info);
//now we have to resend our ACK again
--- 1332,1336 ----
//System.out.println("%%% - in here");
TCP_Info.setLayer("Transport");
! TCP_Info.setDescription("Resending ACK packet due to duplicate arrival. Total duplicates received: " + Elm.received_duplicates + ". (SEQ=" + inPacket.get_sequence_number() + ")");
Simulation.addLayerInfo(TCP_Info);
//now we have to resend our ACK again
***************
*** 1494,1498 ****
//System.out.println("%%% - in here - !!!");
TCP_Info.setLayer("Transport");
! TCP_Info.setDescription("Resending ACK packet due to duplicate arrival. Total duplicates received: " + Elm.received_duplicates + ".");
Simulation.addLayerInfo(TCP_Info);
//now we have to resend our ACK again
--- 1494,1498 ----
//System.out.println("%%% - in here - !!!");
TCP_Info.setLayer("Transport");
! TCP_Info.setDescription("Resending ACK packet due to duplicate arrival. Total duplicates received: " + Elm.received_duplicates + ". (SEQ=" + inPacket.get_sequence_number() + ")");
Simulation.addLayerInfo(TCP_Info);
//now we have to resend our ACK again
***************
*** 1603,1607 ****
TCP_Info.setLayer("Transport");
! TCP_Info.setDescription("TCP packet with data received from "+ inPacket.getSourceIPAddress() + ":" + inPacket.get_srcPort() + ". Passing data to application program.");
Simulation.addLayerInfo(TCP_Info);
--- 1603,1607 ----
TCP_Info.setLayer("Transport");
! TCP_Info.setDescription("TCP packet with data received from "+ inPacket.getSourceIPAddress() + ":" + inPacket.get_srcPort() + ". Passing data to application program. (SEQ=" + inPacket.get_sequence_number() + ")");
Simulation.addLayerInfo(TCP_Info);
|