Simple Module TCPDump

Package: inet.util
File: src/util/TCPDump.ned

C++ definition

Provides tcpdump-like functionality

TCPDump

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Used in compound modules:

Name Type Description
StandardHost compound module

IP host with SCTP, TCP, UDP layers and applications.

StandardHostWithDLDuplicatesGenerator compound module

IP host with SCTP, TCP, UDP layers and applications AND PPPInterfaceWithDLDuplicatesGenerator.

StandardHostWithDLThruputMeter compound module

IP host with SCTP, TCP, UDP layers and applications AND PPPInterfaceWithDLThruputMeter.

StandardHostWithULDropsGenerator compound module

IP host with SCTP, TCP, UDP layers and applications AND PPPInterfaceWithULDropsGenerator.

StandardHostWithULThruputMeter compound module

IP host with SCTP, TCP, UDP layers and applications AND PPPInterfaceWithULThruputMeter.

Networks:

Name Type Description
DemoNetworkEth network (no description)
REDTestDebug network (no description)

Parameters:

Name Type Default value Description
dumpFile string ""
threadEnable bool false
snaplen int 65535
verbosity int 0

Gates:

Name Direction Size Description
ifIn [ ] input
in2 [ ] input
ifOut [ ] output
out2 [ ] output

Source code:

//
// Provides tcpdump-like functionality
//
simple TCPDump
{
    parameters:
        string dumpFile = default("");
        bool threadEnable = default(false);
        int snaplen = default(65535);
        int verbosity = default(0);
    gates:
        input ifIn[];
        input in2[];
        output ifOut[];
        output out2[];
}