Commit Graph

81 Commits

Author SHA1 Message Date
Adrian S Tam
300b3cd758 Advance m_nextTxSequence upon retransmit after RTO (fixes bug 1112) 2011-12-03 15:35:47 -05:00
Adrian S Tam
89019eabf5 Send ACK to some out-of-order packets (fixes bug 1112 and part of 1256) 2011-12-03 14:02:19 -05:00
Adrian S Tam
d349afb5e4 TCP's attribute variables are initialized in constructor (mutes valgrind) 2011-12-01 21:41:16 -05:00
Adrian S Tam
af8ae01917 Mixed bugfixes on TCP, closes bug 1166, 1227, 1242.
1. Make connection count (m_cnCount) a separate variable from the number of
   connection retries (m_cnRetries), so that the number of connection retries
   can be cloned without affecting the number of connections to be made in the
   cloned sockets.
2. There was a case that the m_highTxMark was mistaken as m_nextTxSequence
3. Update m_lastRtt correctly, fixes bug 1242
4. The endpoint allocation/deallocation is rewritten so that the endpoint
   remembers the correct peer's address and it is deleted upon close.
   RecvFrom() call now use the data in endpoint to return the peer's address,
   and the socket closes nicely.
5. TcpL4Protocol::m_sockets now holds a complete list of all existing sockets
6. RST packet is sent before CloseAndNotify() is called, so that m_endPoint is
   not yet destroyed, fixes bug 1166
7. Fix cwnd deflation bug in partial ACK handling in TcpNewReno
8. Created attributes for fast retransmit threshold (m_retxThresh) and max
   advertised window size (m_maxWinSize)
9. Refactor SendPendingData() and DoRetransmit(), created SendDataPacket()
10. Call NotifySend() after connection established in ProcessSynSent() and
    ProcessSynRcvd()
11. Defines new flags in TcpHeader: ECE and CWR (see RFC3168)
12. Prepared hooks for TCP option handling
13. Code tidy up
14. Fix the definition of out-of-order packets
15. TCP can now move from TIME_WAIT state to CLOSED state after 2*MSL
16. Implemented limited transmit (RFC3042) in TcpNewReno, c.f. bug 1227
17. Added Raj's email to the preamble, as TcpSocketBase was modified from
    TcpSocketImpl.
2011-12-01 04:53:20 -05:00
Tom Henderson
6fd41f7ca5 rescan bindings 2011-11-27 13:15:50 -08:00
Tom Henderson
2e38efd294 fix darwin compiler warning 2011-11-27 10:42:40 -08:00
Vedran Miletić
39d338dbeb fix various doxygen errors 2011-11-26 21:13:46 -08:00
Atishay Jain
270fb3958a IPv6 address generator 2011-11-26 20:33:45 -08:00
watrous
b7a72ee3dc Rescanned bindings on ns-regression 2011-11-14 13:00:58 -08:00
Tommaso Pecorella
9d5bb176ec Bug 1285 - IPv6 Localhost is marked as GLOBAL instead of HOST 2011-10-23 19:31:45 +02:00
John Abraham
45d186dda2 Bug 1186 - Ipv4Header lacks DSCP and ECN 2011-10-21 08:52:15 -04:00
John Abraham
9422db0081 Bug 1281 Checksum not calculated when doing IP fragmentation 2011-10-18 18:18:23 -04:00
Tom Henderson
95a5db4bc2 update some stale routing documentation 2011-09-26 06:20:35 -07:00
Gustavo J. A. M. Carneiro
bd3ab5db69 Bug 1263 - waf configure fails on FreeBSD 9.0-BETA2 amd64 2011-09-23 11:42:49 +01:00
Gustavo J. A. M. Carneiro
05b726cc71 Fix modules wscript usage of 'use' parameter 2011-09-22 13:03:25 +01:00
Gustavo J. A. M. Carneiro
fbf0db7647 Correct some configuration Checking for... messages 2011-09-20 14:25:45 +01:00
Gustavo J. A. M. Carneiro
d5c380d779 Merge waf-1.6 branch 2011-09-18 12:23:17 +01:00
Colin Perkins
a6e6187e45 make ns-3 compile on FreeBSD-8.2 2011-09-16 13:45:52 -07:00
Gustavo J. A. M. Carneiro
0536f2416f More waf 1.6.7 build fixes 2011-09-12 14:54:27 +01:00
Gustavo J. A. M. Carneiro
c3059b6e68 Upgrade to waf-1.6.7, work in progress 2011-09-08 16:13:40 +01:00
Tom Henderson
416be98fe9 rescan all bindings 2011-08-17 23:01:53 -07:00
Tom Henderson
a643028704 bug 272: mention that InternetStackHelper aggregates PacketSocketFactory 2011-08-17 17:00:17 -07:00
John Abraham
57011eebb6 Bug 1163: Part 2 2011-08-17 12:31:34 -04:00
John Abraham
8cc5db3c07 Bug 1163 - Ipv4EndPointDemux::AllocateEphemeralPort forget to increment the port 2011-08-17 12:23:54 -04:00
John Abraham
2c0e7f05ef Bug 1164 - IPV4 TCP Bind an already used port failed but without setting errno 2011-08-17 11:39:16 -04:00
Quincy Tse
332604fd02 bug 1050: ISO C++ forbids variable length array 2011-08-10 13:09:23 -04:00
Gustavo J. A. M. Carneiro
feda6149ee Rescan all bindings 2011-08-04 17:50:36 +01:00
Vedran Miletić
0538e655aa standardize ns-3 namespace declaration format 2011-08-02 17:43:32 -04:00
Vedran Miletić
fe0667def8 standardize emacs c++ mode comments 2011-08-02 17:42:33 -04:00
Tom Henderson
a2551b178f Function log the TcpNewReno::DupAck() 2011-07-28 17:41:49 -07:00
Gustavo J. A. M. Carneiro
bd5f42cc13 Rescan api of the internet module 2011-07-19 19:50:05 +01:00
Tommaso Pecorella
bca1786023 IPv6 fragmentation enhancements 2011-07-09 03:22:59 +02:00
Tommaso Pecorella
6e08749a57 Support to IPv4 fragmentation 2011-07-08 21:09:22 +02:00
Tom Henderson
058354b7e4 fix TCP documentation 2011-07-07 06:52:32 -07:00
Vedran Miletic
7271e9fa6f bug 1203: Inconsistently named ifndef/define macros in ns-3 headers 2011-07-07 04:31:52 -04:00
Tom Henderson
7264771d92 bug 1201 - connecting UDP sockets (reported by Steve Marotta) 2011-06-28 10:04:42 -07:00
Tommaso Pecorella
681c4720e1 Bug 1102: IPv4 fragment offset 2011-06-23 00:08:47 +02:00
Gustavo J. A. M. Carneiro
3d1af4c887 Rescan internet module api 2011-06-03 11:41:43 +01:00
Tom Henderson
67a2d856bf organize doxygen modules alphabetically 2011-05-24 22:59:41 -07:00
John Abraham
6d2328e99c NSC unused variables 2011-05-23 10:33:07 -04:00
Tom Henderson
2a2690a003 rerun check-style.py at default level to enforce space after function name 2011-05-22 23:18:47 -07:00
Tom Henderson
34688f76ec rerun check-style.py with uncrustify-0.58 2011-05-22 22:28:15 -07:00
Mitch Watrous
1c345c4d76 Updated the modules doxygen page 2011-05-17 17:36:08 -07:00
John Abraham
0379ad69c1 Bug 1162 - opt build examples module unused variables 2011-05-18 12:59:20 -04:00
John Abraham
37664f7cbb Bug 1156 - opt build ‘result’ set but not used, g++4.6.0 2011-05-14 04:32:10 -04:00
John Abraham
64e7a068fa Bug 1154 - part 4 'found' set but not used, g++ > 4.6.0 2011-05-14 04:29:31 -04:00
John Abraham
bd30cc9d39 Bug 1154 - part 3 'found' set but not used, g++ > 4.6.0 2011-05-14 04:27:39 -04:00
John Abraham
0f0798c869 global-route-manager-impl-test-suite.cc variable ‘lastDistance’ set but not used ,g++4.6.0 2011-05-14 03:49:21 -04:00
John Abraham
10001b84f8 Bug 1149 ‘maskLocal’ set but not used, g++> 4.6.0 2011-05-14 03:33:21 -04:00
Tom Henderson
0958310641 split manual; create model library 2011-05-13 23:10:33 -07:00