[Ns-bugs] [Bug 195] Naming inconsitency: TcpHeader::GetDestinationPort vs UdpHeader::GetDestination

bugzilla-daemon@nsnam-www.ece.gatech.edu bugzilla-daemon at nsnam-www.ece.gatech.edu
Fri May 30 14:19:26 PDT 2008


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





------- Comment #3 from craigdo at ee.washington.edu  2008-05-30 17:19 -------
Agree.  To me GetDestination makes me think of a destination address.  It's a
TCP header, though and so you must be referring to something in there, rather
than an address.  If you pull out your handy Stevens, you see on the inside
cover that it must be referring to the source port number and destination port
number (in his words).

Same story for UDP.

GetDestinationPort and GetSourcePort for TCP and UDP seem perfect.


-- 
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