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. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Used in compound modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

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:

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[];
}