Commit Graph

108 Commits

Author SHA1 Message Date
Tom Henderson
2180f8ad5d move average.h from tools to stats module 2013-06-18 13:42:57 -07:00
Anh Nguyen
0ea5de1d3d Westwood and Westwood+ test response vectors 2013-04-19 11:50:31 -04:00
Anh Nguyen
2000b34287 Westwood and Westwood+ 2013-04-18 15:57:07 -04:00
Vedran Miletić
bbdb4231b3 Upgrade waf to 1.7.10 and fix included wscripts
This is a massive upgrade removing almost all pre-waf 1.6 script code. In addition, this does away with custom pkgconfig.py script for making .pc files and replaces it with waf's builtin mechanism.

Massive thanks to Alex Afanasyev for ideas and bugfixing, to Alina Quereilhac for bugfixing and testing, and to Tom Henderson for thorough testing.
2013-04-01 22:33:46 +02:00
Nicola Baldo
b69928a648 bug 1563: get rid of default argument value in AddTestCase 2013-03-22 13:14:38 +01:00
Tom Henderson
676215d236 move error model test suite to network module 2013-03-18 22:24:11 -07:00
Andrey Mazo
ec4007ca27 make non-static global debugging-only functions static inline (bug 1170).
Compilers shouldn't warn on unused static inline function and just don't emit code for
them in optimized builds.
Also debugging-only functions don't pollute symbol tables.
2013-01-21 17:19:00 +04:00
Tom Henderson
2695a9f9ce signed/unsigned comparison warning 2012-12-08 10:11:07 -08:00
Mitch Watrous
daf1a437f0 Fix unsigned integer comparison error 2012-12-07 14:31:32 -08:00
Brian Swenson
ac1d8980b8 bug 1342 ns3tcp-cwnd-test-suite.cc test failing 2012-12-07 15:59:05 -05:00
Brian Swenson
5cb935ed4f bug 1341 tcp state unit test. New vectors 2012-10-05 10:08:41 -04:00
Brian Swenson
601e30bd51 bug 1340 ns3tcp-loss-suite.cc tests failing. New response generated 2012-10-04 13:51:42 -04:00
Vedran Miletić
71e380b55e Bug 1237 - code cleanups related to includes 2012-09-01 20:57:21 +02:00
Mitch Watrous
eafb5075bf Add a constant rate setting function to the on-off helper 2012-08-23 16:00:17 -07:00
Mitch Watrous
da1cf74f90 Replace various instances of RandomVariable with RandomVariableStream 2012-08-20 14:25:35 -07:00
Tom Henderson
a0bda821ac update error-model-test-suite 2012-08-16 20:58:12 -07:00
Mitch Watrous
998713685f Replace src/network usage of RandomVariable with RandomVariableStream 2012-08-16 09:13:36 -07:00
Mitch Watrous
49a757cebc Replace src/mobility usage of RandomVariable with RandomVariableStream (Patch Set 1) 2012-08-15 14:28:33 -07:00
Mitch Watrous
190f314ba5 Replace src/application usage of RandomVariable with RandomVariableStream 2012-08-13 16:08:13 -07:00
Vedran Miletić
b5cac1da24 Use longer names for QueueMode and ErrorUnit enums and move them to Queue and RateErrorModel classes respectively. 2012-05-01 20:48:34 +02:00
Gustavo J. A. M. Carneiro
5620c694e8 Add parenthesis in while (packet = socket->Recv ()) to make clang++ (LLVM) happy 2012-02-22 13:58:51 +00:00
Andrey Mazo
cec21ade43 Bug 1170: Formulate best practices for dealing with unused debug variables. 2012-02-10 19:02:12 +04:00
Tom Henderson
45048a085a temporarily disable failing TCP test case 2012-01-15 09:21:44 -08:00
Tom Henderson
d9ac3cc18f bug 1338: ns3tcp and ns3wifi are no longer built 2012-01-13 15:39:17 -08:00
Adrian S Tam
0ca076a06a Nagle's algorithm in TCP (closes bug 1039) 2011-12-07 11:22:10 -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
Gustavo J. A. M. Carneiro
c3059b6e68 Upgrade to waf-1.6.7, work in progress 2011-09-08 16:13:40 +01:00
Vedran Miletić
fe0667def8 standardize emacs c++ mode comments 2011-08-02 17:42:33 -04:00
Mitch Watrous
112b892b18 Bug 1225 - NS_TEST_SOURCEDIR is being treated as if were a std::string 2011-07-29 13:24:16 -07:00
Mathieu Lacage
8a38290eb8 add support for --update-data to test.py, move test runner code to library for modular build, add support for hierarchical tests beyond the previous two-level hierarchy. 2011-07-29 03:38:59 -04:00
Mitch Watrous
df24dabd30 Handle extra relative paths for ns3tcp and ns3wifi modules 2011-06-03 10:54:07 -07:00
Mitch Watrous
3c4a471820 Fix paths for ns3tcp and ns3wifi modules 2011-06-03 09:11:33 -07:00
Mitch Watrous
dc70e3c82d Make ns3tcp and ns3wifi modules really not be built if not appropriate 2011-06-02 09:21:24 -07:00
Mitch Watrous
5931a6e4f6 Make ns3tcp, ns3wifi, and visualizer modules not be built if not appropriate 2011-06-01 17:01:55 -07:00
Mitch Watrous
fa098db83d Make test module not be built if not appropriate 2011-05-30 15:30:49 -07: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
John Abraham
99b939ea2b Bug 1162 part 2 2011-05-18 13:02:10 -04:00
John Abraham
0379ad69c1 Bug 1162 - opt build examples module unused variables 2011-05-18 12:59:20 -04:00
Josh Pelkey
8322203532 test coding style changes 2011-05-13 15:00:34 -04:00
Mitch Watrous
b17a6f8332 Create a template module 2011-05-04 20:02:57 -07:00
John Abraham
4a6ebd22e8 Bug 1105 Move topology helpers to separate per-device modules. Module "test" has linker errors specifically in darwin machines 2011-05-01 07:22:25 -07:00
Mitch Watrous
55ed95938b Relabel all build verification tests (BVT) to be unit tests (UNIT) 2011-04-07 10:33:33 -07:00
Mitch Watrous
914c16ad83 Move tests from test module to its test library 2011-04-06 16:10:47 -07:00
Mitch Watrous
8a8d425071 Split contrib module into config-store and tools 2011-03-24 09:23:44 -07:00
Mitch Watrous
4fea31db44 Fix dependencies list for test module 2011-03-20 16:32:46 -07:00
Mitch Watrous
28384516a2 Create separate module and test-module libraries 2011-03-18 10:58:21 -07:00
Mitch Watrous
dc1f90b0c5 Fix dependencies in various wscripts 2011-03-08 14:57:45 -08:00
Tom Henderson
18f2715506 remove src/helper module 2011-03-05 11:47:37 -08:00
Josh Pelkey
e09cf6a452 remove duplicate core-module.h includes 2011-03-01 09:59:55 -05:00