A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::DualStackTestCase Class Reference
+ Inheritance diagram for ns3::DualStackTestCase:
+ Collaboration diagram for ns3::DualStackTestCase:

Public Member Functions

 DualStackTestCase ()
- Public Member Functions inherited from ns3::TestCase
virtual ~TestCase ()

Private Member Functions

virtual void DoRun (void)
virtual void DoTeardown (void)
void ServerHandleConnectionCreated1 (Ptr< Socket > s, const Address &addr)
void ServerHandleConnectionCreated2 (Ptr< Socket > s, const Address &addr)
void ServerHandleConnectionCreated3 (Ptr< Socket > s, const Address &addr)
void ServerHandleConnectionCreated4 (Ptr< Socket > s, const Address &addr)
void SetUpSim ()

Private Attributes

Ptr< Nodenode0
Ptr< Nodenode1
Address receivedAddr1
Address receivedAddr2
Address receivedAddr3
Address receivedAddr4
Ptr< Socketserver1
Ptr< Socketserver2
Ptr< Socketserver3
Ptr< Socketserver4
Ptr< Socketsource1
Ptr< Socketsource2
Ptr< Socketsource3
Ptr< Socketsource4

Additional Inherited Members

- Protected Member Functions inherited from ns3::TestCase
 TestCase (std::string name)
void AddTestCase (TestCase *testCase)
 Add an individual test case to this test suite.
std::string CreateDataDirFilename (std::string filename)
std::string CreateTempDirFilename (std::string filename)
bool GetErrorStatus (void) const NS_DEPRECATED
std::string GetName (void) const
bool IsStatusFailure (void) const
bool IsStatusSuccess (void) const
bool MustAssertOnFailure (void) const
bool MustContinueOnFailure (void) const
void ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line)
void SetDataDir (std::string directory)

Detailed Description

Definition at line 55 of file ipv6-dual-stack-test-suite.cc.

Constructor & Destructor Documentation

ns3::DualStackTestCase::DualStackTestCase ( )

Member Function Documentation

void ns3::DualStackTestCase::DoTeardown ( void  )
privatevirtual

Definition at line 297 of file ipv6-dual-stack-test-suite.cc.

References ns3::Simulator::Destroy().

+ Here is the call graph for this function:

void ns3::DualStackTestCase::ServerHandleConnectionCreated1 ( Ptr< Socket s,
const Address addr 
)
private

Definition at line 194 of file ipv6-dual-stack-test-suite.cc.

References receivedAddr1.

Referenced by DoRun().

+ Here is the caller graph for this function:

void ns3::DualStackTestCase::ServerHandleConnectionCreated2 ( Ptr< Socket s,
const Address addr 
)
private

Definition at line 201 of file ipv6-dual-stack-test-suite.cc.

References receivedAddr2.

Referenced by DoRun().

+ Here is the caller graph for this function:

void ns3::DualStackTestCase::ServerHandleConnectionCreated3 ( Ptr< Socket s,
const Address addr 
)
private

Definition at line 208 of file ipv6-dual-stack-test-suite.cc.

References receivedAddr3.

Referenced by DoRun().

+ Here is the caller graph for this function:

void ns3::DualStackTestCase::ServerHandleConnectionCreated4 ( Ptr< Socket s,
const Address addr 
)
private

Definition at line 215 of file ipv6-dual-stack-test-suite.cc.

References receivedAddr4.

Referenced by DoRun().

+ Here is the caller graph for this function:

void ns3::DualStackTestCase::SetUpSim ( )
private

Definition at line 163 of file ipv6-dual-stack-test-suite.cc.

References ns3::AddSimpleNetDevice(), ns3::CreateDualStackNode(), ns3::Socket::CreateSocket(), ns3::Object::GetObject(), node0, node1, server1, server2, server3, server4, ns3::SimpleNetDevice::SetChannel(), source1, source2, source3, and source4.

Referenced by DoRun().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Ptr<Node> ns3::DualStackTestCase::node0
private

Definition at line 64 of file ipv6-dual-stack-test-suite.cc.

Referenced by SetUpSim().

Ptr<Node> ns3::DualStackTestCase::node1
private
Address ns3::DualStackTestCase::receivedAddr1
private
Address ns3::DualStackTestCase::receivedAddr2
private
Address ns3::DualStackTestCase::receivedAddr3
private
Address ns3::DualStackTestCase::receivedAddr4
private
Ptr<Socket> ns3::DualStackTestCase::server1
private

Definition at line 72 of file ipv6-dual-stack-test-suite.cc.

Referenced by DoRun(), and SetUpSim().

Ptr<Socket> ns3::DualStackTestCase::server2
private

Definition at line 73 of file ipv6-dual-stack-test-suite.cc.

Referenced by DoRun(), and SetUpSim().

Ptr<Socket> ns3::DualStackTestCase::server3
private

Definition at line 74 of file ipv6-dual-stack-test-suite.cc.

Referenced by DoRun(), and SetUpSim().

Ptr<Socket> ns3::DualStackTestCase::server4
private

Definition at line 75 of file ipv6-dual-stack-test-suite.cc.

Referenced by DoRun(), and SetUpSim().

Ptr<Socket> ns3::DualStackTestCase::source1
private

Definition at line 77 of file ipv6-dual-stack-test-suite.cc.

Referenced by DoRun(), and SetUpSim().

Ptr<Socket> ns3::DualStackTestCase::source2
private

Definition at line 78 of file ipv6-dual-stack-test-suite.cc.

Referenced by DoRun(), and SetUpSim().

Ptr<Socket> ns3::DualStackTestCase::source3
private

Definition at line 79 of file ipv6-dual-stack-test-suite.cc.

Referenced by DoRun(), and SetUpSim().

Ptr<Socket> ns3::DualStackTestCase::source4
private

Definition at line 80 of file ipv6-dual-stack-test-suite.cc.

Referenced by DoRun(), and SetUpSim().


The documentation for this class was generated from the following file: