Simple Module NAMTraceWriter

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

C++ definition

When placed inside a host or router, it writes a NAM trace, based on notifications it receives via the NotificationBoard. It expects to find a NAMTrace module named "nam" at network level. If the "nam" module is missing, this module does not do anything and has no runtime overhead.

This module has no gates and does not process messages.

See also: NAMTrace, NotificationBoard

NAMTraceWriter

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
ExtRouter compound module

External router.

LDP_LSR compound module

An LDP-capable router.

Router compound module

IP router.

RSVP_LSR compound module

An RSVP-TE capable router.

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.

TCPSpoofingHost compound module

IP host with TCPSpoof in the application layer.

Parameters:

Name Type Default value Description
namid int -1 -1 means auto

Properties:

Name Value Description
display i=block/sink

Source code:

//
// When placed inside a host or router, it writes a NAM trace, based on
// notifications it receives via the NotificationBoard. It expects to find
// a NAMTrace module named "nam" at network level. If the "nam" module
// is missing, this module does not do anything and has no runtime
// overhead.
//
// This module has no gates and does not process messages.
//
// @see NAMTrace, NotificationBoard
//
simple NAMTraceWriter
{
    parameters:
        int namid = default(-1);  // -1 means auto
        @display("i=block/sink");
}