Inheritance diagram for Ipv6FragmentationTest:Public Member Functions | |
| virtual void | DoRun (void) |
| Implementation to actually run this test case. More... | |
| void | HandleReadClient (Ptr< Socket > socket) |
| void | HandleReadIcmpClient (Ipv6Address icmpSource, uint8_t icmpTtl, uint8_t icmpType, uint8_t icmpCode, uint32_t icmpInfo) |
| void | HandleReadServer (Ptr< Socket > socket) |
| Ptr< Packet > | SendClient (void) |
| void | SetFill (uint8_t *fill, uint32_t fillSize, uint32_t dataSize) |
| void | StartClient (Ptr< Node > ClientNode) |
| void | StartServer (Ptr< Node > ServerNode) |
Private Attributes | |
| uint8_t * | m_data |
| uint32_t | m_dataSize |
| uint8_t | m_icmpCode |
| uint8_t | m_icmpType |
| Ptr< Packet > | m_receivedPacketClient |
| Ptr< Packet > | m_receivedPacketServer |
| Ptr< Packet > | m_sentPacketClient |
| uint32_t | m_size |
| Ptr< Socket > | m_socketClient |
| Ptr< Socket > | m_socketServer |
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) | |
| void | AddTestCase (TestCase *testCase) NS_DEPRECATED |
| Add an individual test case to this test suite. More... | |
| void | AddTestCase (TestCase *testCase, enum TestDuration duration) |
| Add an individual test case to this test suite. More... | |
| 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) |
Definition at line 93 of file ipv6-fragmentation-test.cc.
|
virtual |
Implementation to actually run this test case.
Subclasses should override this method to conduct their tests.
Implements ns3::TestCase.
Definition at line 266 of file ipv6-fragmentation-test.cc.
References ns3::Ipv6::AddAddress(), ns3::Node::AddDevice(), ns3::Ipv6::AddInterface(), ns3::Packet::CopyData(), ns3::ErrorModel::Disable(), ns3::ErrorModel::Enable(), ns3::Node::GetId(), ns3::Socket::GetNode(), ns3::Object::GetObject(), ns3::Packet::GetSize(), ns3::Seconds(), ns3::ErrorNetDevice::SetAddress(), ns3::ErrorChannel::SetJumpingMode(), ns3::ErrorChannel::SetJumpingTime(), ns3::ErrorNetDevice::SetMtu(), ns3::ErrorNetDevice::SetReceiveErrorModel(), and ns3::Ipv6::SetUp().