Commit Graph

95 Commits

Author SHA1 Message Date
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
Tom Henderson
ca7b93cc3d Merge node and common modules into new network module 2011-02-21 09:11:37 -08:00
Tom Henderson
df07734f32 merge src/simulator into src/core; move src/core to new module layout 2011-02-18 16:05:39 -08:00
Josh Pelkey
397de11f7d Add TCP test case logging, scripts 2011-02-01 14:31:54 -05:00
Josh Pelkey
c5f4efd6cf Move response vectors to a sub-folder 2011-01-20 14:39:10 -05:00
Josh Pelkey
28379f11af Move tcp-loss-response to actual test suite 2011-01-20 14:18:12 -05:00
Josh Pelkey
baf5893516 Move tcp-testcases to actual test suite 2011-01-19 16:23:13 -05:00
Mitch Watrous
3deeb9ee26 Make test cases not return bool valuesMake all TestSuite instances be static 2011-01-17 12:53:20 -08:00
Mitch Watrous
f67a639728 Make all TestSuite instances be static 2011-01-10 15:55:29 -08:00
Tom Henderson
78935c36d4 fix valgrind warnings for new TCP code 2010-12-19 21:57:21 -08:00
Tom Henderson
c56da284b3 Update TCP regression tests 2010-12-17 21:07:57 -08:00
Dean Armstrong
0946a77009 Bug 978: Consolidate Wi-Fi MAC high functionality
This change reorganises the Wi-Fi MAC high classes in attempt to
reduce duplication of functionality that is required for more than one
of the MAC high models. A new class called RegularWifiMac has been
created. This derives from the abstract WifiMac, and is parent of
AdhocWifiMac, StaWifiMac, ApWifiMac, and MeshWifiInterfaceMac. The QoS
and non-QoS class variants are no longer, with a RegularWifiMac
attribute "QosSupported" allowing selection between these two modes of
operation. QosWifiMacHelper and NqosWifiMacHelper continue to work as
previously.

Updates to some regression traces are necessary because the
reorganisation has led to random number streams being initialised in
slightly different orders and thus over-the-air timing changing.
2010-12-02 07:51:34 +00:00
Gustavo J. A. M. Carneiro
df9b164e5c Missing deps 2010-10-26 15:10:23 +01:00
Tom Henderson
d230dcfdbf fix valgrind issue in new global-routing test 2010-10-16 15:07:03 -07:00