[Ns-bugs] [Bug 166] New: Loss of Tag and change in size of Packet using TCP.

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Fri Apr 11 09:59:48 PDT 2008


http://www.nsnam.org/bugzilla/show_bug.cgi?id=166

           Summary: Loss of Tag and change in size of Packet using TCP.
           Product: ns-3
           Version: pre-release
          Platform: All
        OS/Version: Linux
            Status: NEW
          Keywords: bug
          Severity: normal
          Priority: P3
         Component: internet-node
        AssignedTo: ns-bugs at isi.edu
        ReportedBy: evensky at dancer.ca.sandia.gov
                CC: evensky at dancer.ca.sandia.gov


I have a Packet that I send using a point-to-point TCP connection. I am seeing
an attached Tag disappear on the receiving side and the size changes. I think
these both may be bugs. I'll attach a test case below. 

I've used the component of internet-node, but thats just a wild guess.

Compile---%<-------------------%<----------%<----------%<----------%<---------%<
g++ -DNS3_ASSERT_ENABLE -DNS3_LOG_ENABLE -DDEBUG -g -O0
-I/.../ns-3-dev/build/debug -I/.../ns-3-dev/build/debug -I.
-L/home/evensky/ns-3-dev/build/debug -lns3 -Wl,-rpath=/.../ns-3-dev/build/debug
 -o tcp-tester tcp-tester.cc
Output---%<-------------------%<----------%<----------%<----------%<---------%<
evensky at waltz:~/tools/trunk$ ./tcp-tester 
TalkerApp::ConfRecv(0x62e360,00:00:00:00:20:00) Server
TalkerApp::ConfSend(0x62d9a0,0a:01:00:02:20:00) Client
TalkerApp::StartApplication() Server
TalkerApp::StartApplicationRecv() Server
TalkerApp::StartApplication() Client
TalkerApp::StartApplicationSend() Client
writing packet Client
   Payload (size=536)(tag=17)
TalkerApp::CloseConnection(): Client
TalkerApp::ConnectionRequested(): Server
TalkerApp::ConnectionSucceeded(): Client
TalkerApp::ConnectionCreated(): Server
Received 535 bytes from 10.1.0.1 [0a:01:00:01:01:c0]---''
   Payload (size=535)
TalkerApp::ConnectionCloseRequested(): Server
TalkerApp::CloseConnection(): Server

note, that the size changes from 536->535 and the tag is gone.

Thanks,
\dae


-- 
Configure bugmail: http://www.nsnam.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Ns-bugs mailing list