Commit Graph

7611 Commits

Author SHA1 Message Date
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
John Abraham
912d8bbf6e NetAnim: typos and style changes 2011-11-30 19:16:09 -05:00
John Abraham
e39f1ebe10 NetAnim: One time initialization, fixes for long duration runs 2011-11-30 19:11:19 -05:00
Gustavo J. A. M. Carneiro
0f1c425737 Fix and rescan the bindings 2011-11-28 07:40:36 -08:00
Gustavo J. A. M. Carneiro
6bfb0721b8 Don't include mobility-model.h, to make Mathieu happy 2011-11-28 10:46:33 +00:00
Tom Henderson
9f49549bed Update link to ns-2 mobility documentation 2011-11-27 21:24:02 -08: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
Gustavo J. A. M. Carneiro
4943cf9f38 Missing PropagationLossModel.CalcRxPower in Python bindings 2011-11-26 08:43:33 -08:00
Kirill Andreev
eabb826db0 Bug 1300: fixed 2011-11-23 19:08:31 +03:00
Kirill Andreev
825c5aad26 Bug 1219: fixed. Coding style of ns2-mobility-helper-test-suite.cc is fixed. 2011-11-23 19:08:07 +03:00
John Abraham
fb732fabd9 StopAnimation should reset write callback 2011-11-23 09:40:50 -05:00
Gustavo J. A. M. Carneiro
dbbee3cb45 merge 2011-11-17 18:11:07 +00:00
Tommaso Pecorella
6f5bb7d985 Added MobilityModel::GetRelativeSpeed() - proposed by Jens Mittag. 2011-11-17 19:02:45 +01:00
Alexander Afanasyev
6c6a87b1b9 Correcting compilation behavior in Ubuntu 11.10. I guess, default behavior of ldd has been changed... As a result, many dynamic features of NS were not working 2011-11-11 00:13:30 -08:00
Tommaso Pecorella
b0fd4d2e2a Topology reader docs fixings 2011-11-06 17:46:16 +01:00
Alexander Afanasyev
30e6359e85 Adding required PTHREAD dependency to RT library check. Adding missing include to ipv6-address.cc 2011-10-06 10:42:21 -07:00
Tommaso Pecorella
9da04bf971 Bug 1295 - Missing const qualifiers in TopologyRead 2011-11-15 19:47:22 +01:00
Tom Henderson
266768b4ba add protocol selection as command-line argument 2011-11-14 21:25:58 -08:00
Tom Henderson
c4b3e2faf2 enable optional mobility tracing on example 2011-11-06 17:04:22 -08:00
watrous
b7a72ee3dc Rescanned bindings on ns-regression 2011-11-14 13:00:58 -08:00
Gustavo J. A. M. Carneiro
e440943a9b Rescan some module bindings, 32-bit api version only 2011-11-14 19:47:37 +00:00
Gustavo J. A. M. Carneiro
466108dc0a Add function declaration to make bindings happy 2011-11-14 19:47:09 +00:00
Gustavo J. A. M. Carneiro
b5a296d127 Fix issue with waf --apiscan=all 2011-11-14 12:19:10 +00:00
Nicola Baldo
9e30f25e2e spectrum API change (missing files) 2011-11-14 10:59:56 +01:00
Nicola Baldo
550728fbdd spectrum API change 2011-11-13 16:08:44 +01:00
Andrea Sacco
9ac0537136 Bug 1055 - Wrong UAN's Thorp absorption loss model formula 2011-11-12 12:33:47 +01:00
Mitch Watrous
2e030ed11d Bug 1204 - Can't Parse Time +100000000.0ns 2011-11-11 14:36:05 -08:00
frederic.
f3f7ea2d1d Bug 1290 - buffer-test.cc gets a valgrind error 2011-11-10 10:21:12 +01:00
Tom Henderson
10743cd004 finishoff previous documentation patch 2011-11-06 05:22:00 -08:00
Tom Henderson
47e34c8850 Fix documentation links 2011-11-06 05:02:49 -08:00
Mitch Watrous
046285b790 Remove % characters showing up in introspected text file 2011-11-09 09:35:49 -08:00
Andrea Sacco
ae5b925ce3 Added examples-to-run script in uan test 2011-11-09 14:19:45 +01:00
frederic.
1b938b752f Bug 1001 - Buffer::CopyData() doesn't return the number of bytes copied 2011-11-09 10:13:41 +01:00
Tom Henderson
441893b2ed fix typos in manual (found by Luca Costantino) 2011-11-04 09:21:32 -07:00
Gustavo J. A. M. Carneiro
ca41890ff0 Rescan spectrum module bindings 2011-10-31 12:13:18 +00:00
Nicola Baldo
e957e12b7b fixed some typos in doxygen of object-base.h 2011-10-28 19:20:29 +02:00
Nicola Baldo
b8e1f4b74a removed useless include in spectrum-type.h 2011-10-26 16:54:44 +02:00
Tommaso Pecorella
9d5bb176ec Bug 1285 - IPv6 Localhost is marked as GLOBAL instead of HOST 2011-10-23 19:31:45 +02:00
Vedran Miletić
9a9585a8df Small typo in documentation in generic-phy.h 2011-10-21 15:35:22 +02:00
John Abraham
45d186dda2 Bug 1186 - Ipv4Header lacks DSCP and ECN 2011-10-21 08:52:15 -04:00
Nicola Baldo
8f67a3f899 fixed assertion in {Single,Multi}ModelSpectrumChannel::AddSpectrumPropagationLossModel 2011-10-21 12:17:32 +02:00
John Abraham
c1b08ba507 NetAnim: Reduce config verbosity, provide utility for setting position 2011-10-19 14:25:39 -04:00
John Abraham
cac5864e4b NetAnim: Missing header on using waf install 2011-10-19 07:00:15 -04:00
John Abraham
9422db0081 Bug 1281 Checksum not calculated when doing IP fragmentation 2011-10-18 18:18:23 -04:00
John Abraham
d37e3f7155 NetAnim: Duplicate header file 2011-10-18 10:18:26 -04:00