Simple Module Dummy

Package: inet.networklayer.extras
File: src/networklayer/extras/Dummy.ned

C++ definition

Implementation of a failed router. Does nothing and simply discards any incoming messages.

Dummy

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

A failed IP router. Simply discards all packets it receives, and that's all.

LDP_FAILED compound module

Failed router. Discards all incoming traffic and generates nothing. Its interface (gates, parameters) is fully compatible with the LDP_LSR router and node failures may thus be simulated by replacing the RSVP_LSR with LDP_FAILED.

RSVP_FAILED compound module

Failed router. Discards all incoming traffic and generates nothing. Its interface (gates, parameters) is fully compatible with the RSVP_LSR router and node failures may thus be simulated by replacing the RSVP_LSR with RSVP_FAILED.

Gates:

Name Direction Size Description
in [ ] input
out [ ] output
ethIn [ ] input
ethOut [ ] output

Source code:

//
// Implementation of a failed router. Does nothing and simply discards any
// incoming messages.
//
simple Dummy
{
    gates:
        input in[];
        output out[];
        input ethIn[];
        output ethOut[];
}