IPv6 dual stack Test. More...
 Inheritance diagram for DualStackTestCase:
 Collaboration diagram for DualStackTestCase:Public Member Functions | |
| DualStackTestCase () | |
  Public Member Functions inherited from ns3::TestCase | |
| virtual | ~TestCase () | 
| Destructor.  More... | |
| std::string | GetName (void) const | 
Private Member Functions | |
| virtual void | DoRun (void) | 
| Implementation to actually run this TestCase.  More... | |
| virtual void | DoTeardown (void) | 
| Implementation to do any local setup required for this TestCase.  More... | |
| void | ServerHandleConnectionCreated1 (Ptr< Socket > s, const Address &addr) | 
| Handle connection created (1).  More... | |
| void | ServerHandleConnectionCreated2 (Ptr< Socket > s, const Address &addr) | 
| Handle connection created (2).  More... | |
| void | ServerHandleConnectionCreated3 (Ptr< Socket > s, const Address &addr) | 
| Handle connection created (3).  More... | |
| void | ServerHandleConnectionCreated4 (Ptr< Socket > s, const Address &addr) | 
| Handle connection created (4).  More... | |
| void | SetUpSim () | 
| Setup the test.  More... | |
Private Attributes | |
| Ptr< Node > | node0 | 
| Node 0.  More... | |
| Ptr< Node > | node1 | 
| Node 1.  More... | |
| Address | receivedAddr1 | 
| Received address (1).  More... | |
| Address | receivedAddr2 | 
| Received address (2).  More... | |
| Address | receivedAddr3 | 
| Received address (3).  More... | |
| Address | receivedAddr4 | 
| Received address (4).  More... | |
| Ptr< Socket > | server1 | 
| Server socket (1).  More... | |
| Ptr< Socket > | server2 | 
| Server socket (2).  More... | |
| Ptr< Socket > | server3 | 
| Server socket (3).  More... | |
| Ptr< Socket > | server4 | 
| Server socket (4).  More... | |
| Ptr< Socket > | source1 | 
| Sending socket (1).  More... | |
| Ptr< Socket > | source2 | 
| Sending socket (2).  More... | |
| Ptr< Socket > | source3 | 
| Sending socket (3).  More... | |
| Ptr< Socket > | source4 | 
| Sending socket (4).  More... | |
Additional Inherited Members | |
  Public Types inherited from ns3::TestCase | |
| enum | TestDuration { QUICK = 1, EXTENSIVE = 2, TAKES_FOREVER = 3 } | 
| How long the test takes to execute.  More... | |
  Protected Member Functions inherited from ns3::TestCase | |
| TestCase (std::string name) | |
| Constructor.  More... | |
| void | AddTestCase (TestCase *testCase, TestDuration duration=QUICK) | 
| Add an individual child TestCase to this test suite.  More... | |
| TestCase * | GetParent () const | 
| Get the parent of this TestCsse.  More... | |
| bool | IsStatusFailure (void) const | 
| Check if any tests failed.  More... | |
| bool | IsStatusSuccess (void) const | 
| Check if all tests passed.  More... | |
| void | SetDataDir (std::string directory) | 
| Set the data directory where reference trace files can be found.  More... | |
| void | ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line) | 
| Log the failure of this TestCase.  More... | |
| bool | MustAssertOnFailure (void) const | 
| Check if this run should assert on failure.  More... | |
| bool | MustContinueOnFailure (void) const | 
| Check if this run should continue on failure.  More... | |
| std::string | CreateDataDirFilename (std::string filename) | 
| Construct the full path to a file in the data directory.  More... | |
| std::string | CreateTempDirFilename (std::string filename) | 
| Construct the full path to a file in a temporary directory.  More... | |
IPv6 dual stack Test.
Definition at line 61 of file ipv6-dual-stack-test-suite.cc.
| DualStackTestCase::DualStackTestCase | ( | ) | 
Definition at line 256 of file ipv6-dual-stack-test-suite.cc.
References receivedAddr1, receivedAddr2, receivedAddr3, and receivedAddr4.
      
  | 
  privatevirtual | 
Implementation to actually run this TestCase.
Subclasses should override this method to conduct their tests.
Implements ns3::TestCase.
Definition at line 266 of file ipv6-dual-stack-test-suite.cc.
References ns3::Socket::Bind(), ns3::Socket::Connect(), ns3::Address::IsInvalid(), ns3::Socket::Listen(), ns3::MakeCallback(), ns3::MakeNullCallback(), NS_TEST_EXPECT_MSG_EQ, receivedAddr1, receivedAddr2, receivedAddr3, receivedAddr4, server1, server2, server3, server4, ServerHandleConnectionCreated1(), ServerHandleConnectionCreated2(), ServerHandleConnectionCreated3(), ServerHandleConnectionCreated4(), ns3::Socket::SetAcceptCallback(), SetUpSim(), source1, source2, source3, and source4.
 Here is the call graph for this function:
      
  | 
  privatevirtual | 
Implementation to do any local setup required for this TestCase.
Subclasses should override this method to perform any costly per-test teardown
Reimplemented from ns3::TestCase.
Definition at line 331 of file ipv6-dual-stack-test-suite.cc.
      
  | 
  private | 
Handle connection created (1).
| s | The socket. | 
| addr | The peer address. | 
Definition at line 228 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
 Here is the caller graph for this function:
      
  | 
  private | 
Handle connection created (2).
| s | The socket. | 
| addr | The peer address. | 
Definition at line 235 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
 Here is the caller graph for this function:
      
  | 
  private | 
Handle connection created (3).
| s | The socket. | 
| addr | The peer address. | 
Definition at line 242 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
 Here is the caller graph for this function:
      
  | 
  private | 
Handle connection created (4).
| s | The socket. | 
| addr | The peer address. | 
Definition at line 249 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
 Here is the caller graph for this function:
      
  | 
  private | 
Setup the test.
Definition at line 197 of file ipv6-dual-stack-test-suite.cc.
References AddSimpleNetDevice(), third::channel, CreateDualStackNode(), ns3::SocketFactory::CreateSocket(), ns3::Socket::CreateSocket(), and ns3::SimpleNetDevice::SetChannel().
Referenced by DoRun().
 Here is the call graph for this function:
 Here is the caller graph for this function:Node 0.
Definition at line 74 of file ipv6-dual-stack-test-suite.cc.
Node 1.
Definition at line 75 of file ipv6-dual-stack-test-suite.cc.
Referenced by wifi_intrastructure_link.WifiLink::destroy().
      
  | 
  private | 
Received address (1).
Definition at line 112 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), and DualStackTestCase().
      
  | 
  private | 
Received address (2).
Definition at line 113 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), and DualStackTestCase().
      
  | 
  private | 
Received address (3).
Definition at line 114 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), and DualStackTestCase().
      
  | 
  private | 
Received address (4).
Definition at line 115 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun(), and DualStackTestCase().
Server socket (1).
Definition at line 102 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
Server socket (2).
Definition at line 103 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
Server socket (3).
Definition at line 104 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
Server socket (4).
Definition at line 105 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
Sending socket (1).
Definition at line 107 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
Sending socket (2).
Definition at line 108 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
Sending socket (3).
Definition at line 109 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().
Sending socket (4).
Definition at line 110 of file ipv6-dual-stack-test-suite.cc.
Referenced by DoRun().