Commit Graph
256 Commits
Author SHA1 Message Date
Raj Bhattacharjea 05b6cf11a8 Fix TCP handshake sequence numbers 2008-03-20 16:25:35 -04:00
Raj Bhattacharjea de80ab4910 Pass TcpSockets as smart pointers into demux callbacks
fixes TcpSocket memory leaks
2008-03-20 14:04:24 -04:00
Mathieu Lacage cabfd83031 improve pretty-printing output. 2008-03-19 11:10:37 -07:00
Mathieu Lacage 2f666d9622 make sure all headers and trailers gets a constructor registered in their TypeId. 2008-03-19 10:31:50 -07:00
Mathieu Lacage 6b9fc231e1 remove dead code. 2008-03-17 14:49:52 -07:00
Mathieu Lacage 5d4ecfc62c define a TypeId for each Header/Trailer. 2008-03-17 13:12:17 -07:00
Mathieu Lacage ac16151d22 need to use ns3:: prefix for TypeId names now. 2008-03-15 19:29:22 +01:00
Gustavo J. A. M. Carneiro 9cf6137916 Add a 'module' attribute to the ns3header object specifying which module each set of headers belongs to. 2007-12-26 13:40:39 +00:00
Mathieu Lacage 36995793fb merge with HEAD 2008-03-14 16:37:02 -07:00
Mathieu Lacage 848cb7cfb5 add back support for introspected doxygen. 2008-03-13 12:56:49 -07:00
Mathieu Lacage fb452286e6 add Application::SetNode and NetDevice::SetNode, use them from Node::AddApplication and Node::AddDevice. kill useless "Node" attributes. 2008-03-13 11:10:38 -07:00
Mathieu Lacage b97dfc9450 fix doxygen errors 2008-03-12 09:31:50 -07:00
Mathieu Lacage 3c32879211 Config::Connect -> Config::ConnectWithoutContext && Config::ConnectWithContext -> Config::Connect 2008-03-11 13:46:22 -07:00
Mathieu Lacage b5a8d46096 get rid of CreateObjectWith 2008-03-11 13:30:12 -07:00
Mathieu Lacage eb4fb0cb5d kill DefaultValue 2008-03-10 00:27:53 +01:00
Mathieu Lacage fcc2066d01 ensure that device is reported in node. 2008-03-09 23:43:29 +01:00
Mathieu Lacage 267b3e487b avoid typeid initialization ordering pb. 2008-03-03 21:52:51 +01:00
Mathieu Lacage 8ca8824655 avoid optimized build warning. 2008-03-03 21:00:27 +01:00
Mathieu Lacage e4a7b6e868 revert to previous behavior: windowSize is initialized by default to 0xffff 2008-03-03 19:57:56 +01:00
Mathieu Lacage 773b4d80a5 get rid of DefaultValue usage in internet-node 2008-03-03 19:38:05 +01:00
Mathieu Lacage a786828ddf kill TraceResolver et al. 2008-03-03 01:58:57 +01:00
Mathieu Lacage 713c893939 get rid of uneeded TraceResolver 2008-03-02 22:34:27 +01:00
Mathieu Lacage 7951713874 be consistant in how lists of objects are named. 2008-03-02 22:34:09 +01:00
Mathieu Lacage 42c7a8c6ab port pcap trace to Config. 2008-03-02 22:33:44 +01:00
Mathieu Lacage 99f4928d7c port AsciiTrace to Config::ConnectWithContext 2008-03-02 22:08:17 +01:00
Mathieu Lacage e06e3096cb merge with HEAD 2008-02-27 22:19:39 +01:00
Mathieu Lacage 1d4187bd0f add missing NS_OBJECT_ENSURE_REGISTERED calls. 2008-02-27 20:48:43 +01:00
Mathieu Lacage 4704c9d427 convert InternetNode to Attributes. 2008-02-27 19:44:22 +01:00
Raj Bhattacharjea f38dfb4e28 Fix memory leaks in PendingData class by returning Ptr<Packet> instead of PendingData* where appropriate 2008-02-25 17:06:18 -05:00
Raj Bhattacharjea b5664b575d Move TcpSocket::m_retxEvent.Cancel to TcpSocket::Destroy; undoes d4217d7ba4ba 2008-02-25 15:28:03 -05:00
Kulin Shah 0ffaf38602 Fix to make the TCP SYN retransmission do a binary exponential backoff 2008-02-25 14:40:25 -05:00
Mathieu Lacage 2eae2f926c make NetDevice fully virtual. 2008-02-25 19:33:46 +01:00
Tom Henderson bf0d4e7154 avoid infinite recursion in Tcp callback (bug 131) 2008-02-15 19:54:34 -08:00
Raj Bhattacharjea cdc9002e41 Fix TCP server socket connection notification (part of bug 132) 2008-02-13 09:55:15 -05:00
Gustavo J. A. M. Carneiro feb47b3bb1 Fix broadcast packet reception for locally bound sockets (bug #136) 2008-02-13 17:37:43 +00:00
Gustavo J. A. M. Carneiro 4f02439cb1 Add the IPv4 header before deciding whether to drop packets. Closes bug #135. 2008-02-11 14:46:44 +00:00
Gustavo J. A. M. Carneiro a14e1de6cc The message "Unable to determine outbound interface. No default route set"
should not be fatal; just return false instead.
2008-02-10 22:34:04 +00:00
Gustavo J. A. M. Carneiro eca7dc5b27 Make sequence-number.h a public header file (because it is included by another public header, tcp-header.h) 2008-02-09 18:37:58 +00:00
Gustavo J. A. M. Carneiro 9fcd20505c Move TcpSocket's m_retxEvent.Cancel() to ~TcpSocket(), so that it is executed by all possible code paths leading up to a TcpSocket deallocation. 2008-02-06 17:11:56 +00:00
Raj Bhattacharjea a142d30a9d Merge 2008-02-05 15:30:16 -05:00
Raj Bhattacharjea c3658bd810 Slight refactor of TCP code so two way connections don't bug out 2008-02-05 15:29:17 -05:00
Raj Bhattacharjea 6e7d9062cb Patch for bug 130 from Gustavo 2008-02-05 09:54:32 -05:00
Gustavo J. A. M. Carneiro fd238f3e40 Backed out changeset 055ff23aa034 (Tom does not like it turns out OLSR does not need it) 2008-02-03 18:29:25 +00:00
Gustavo J. A. M. Carneiro dd48772c9e Fix UDP source address, make it honor Bind(). 2008-02-01 19:29:56 +00:00
Gustavo J. A. M. Carneiro 53833582b7 Some more udp socket debug messages 2008-02-01 18:40:14 +00:00
Mathieu Lacage cecd35e20b AddInterface -> AggregateObject 2008-01-31 22:23:46 +01:00
Mathieu Lacage 5ade799440 QueryInterface -> GetObject 2008-01-31 22:11:03 +01:00
Mathieu Lacage 5f5518e05b merge with HEAD 2008-01-30 17:20:55 +01:00
Tom Henderson 84cdad7f7d fix optimized build 2008-01-26 06:01:45 -08:00
Tom Henderson 3c38ca5a1b Fix uninitialized member 2008-01-25 15:41:47 -08:00