Commit Graph

227 Commits

Author SHA1 Message Date
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
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
Raj Bhattacharjea
6c3559792c Added in ns-3-tcp (second try) 2008-01-25 13:57:38 -05:00
Mathieu Lacage
1dc22a9e8f merge with head 2008-01-15 12:58:27 +01:00
Mathieu Lacage
5c769d2d24 iid -> tid 2008-01-15 12:44:09 +01:00
Mathieu Lacage
a2e63b7f0b iid (void) -> GetTypeId (void) 2008-01-15 12:43:07 +01:00
Mathieu Lacage
44c33f1618 InterfaceId -> TypeId 2008-01-15 12:36:22 +01:00
Tom Henderson
3b31a0234e Doxygen organization 2008-01-10 07:31:40 -08:00
Mathieu Lacage
4f58be6548 replace ComponentManager::Create and ClassId with InterfaceId::CreateObjest and InterfaceId 2008-01-03 11:39:45 +01:00
Mathieu Lacage
976f16c4d9 get rid of MakeInterfaceId 2008-01-03 08:34:31 +01:00
Mathieu Lacage
bc1ab2d79b replace static const Interface iid; with static InterfaceId iid (void); 2008-01-02 10:33:39 +01:00
Mathieu Lacage
f3e77eea3d fix bug 122: get rid of duplicate argument to QueryInterface 2008-01-02 09:25:31 +01:00
Mathieu Lacage
6b0e717a19 add CreateObject<> to instanciate subclasses of the Object base class. Replaces Create<>. 2008-01-02 09:09:24 +01:00
Tom Henderson
33fd7f0c67 Doxygen for internet-node.h 2007-12-26 11:39:52 -08:00
Tom Henderson
35b4c6c6b8 add internal keyword to udp-impl documentation 2007-12-15 13:52:00 -08:00
Tom Henderson
bc54e34375 Doxygen the SocketFactory classes 2007-12-11 23:02:47 -08:00
Mathieu Lacage
c156f29c86 merge 2007-11-22 10:30:29 +01:00
Tom Henderson
2e68155c6d nicer logging of parameters (bug 79 patch from Gustavo) 2007-11-14 21:59:14 -08:00
Craig Dowell
60b6fb3d39 merge in packet.bundle 2007-10-29 12:48:01 -07:00
Mathieu Lacage
2f4ed00c93 get rid of doxygen warnings 2007-10-26 22:06:46 +02:00
Tom Henderson
c96ad24a35 Add support for non-unit-cost metrics for Ipv4Interfaces (for use in routing); add example script simple-alternate-routing.cc 2007-10-06 21:21:07 -07:00
Mathieu Lacage
b42e00961b add missing call to Simulator::Destroy to cleanup after test 2007-10-10 15:32:04 +02:00
Mathieu Lacage
327e60b275 do not use Packet objects directly. Use Ptr<Packet> instead 2007-10-01 14:15:56 +02:00
Gustavo J. A. M. Carneiro
bd51ec2c87 Fix a regression in handling of broadcast packets and UDP sockets (closes bug #51). 2007-09-24 11:00:08 +01:00
Gustavo J. A. M. Carneiro
75c461c8f9 Remove a redundant log message 2007-09-21 18:07:54 +01:00
Gustavo J. A. M. Carneiro
6a5e3bf70d Fix a small error in the unit test added recently (though it doesn't change the result) 2007-09-21 15:57:20 +01:00
Gustavo J. A. M. Carneiro
43bb81fd82 Add a couple of Udp socket unit tests: unicast (passing) and broadcast (failing, bug #51). 2007-09-21 15:54:00 +01:00
Tom Henderson
1d79c8dc53 change ephemeral port range to 49152-65535 (IANA recommendation) 2007-09-14 16:11:36 -07:00
Tom Henderson
bba1cb3859 remove local address setting from UdpSocket::Connect() 2007-09-14 15:46:04 -07:00
Craig Dowell
2e1dcf1479 debug to log 2007-09-13 21:36:32 -07:00
Craig Dowell
90b02a4f6c checkpoint debug to log 2007-09-13 17:47:42 -07:00