IProtocolHeaderInserter

Package: inet.protocolelement.contract

IProtocolHeaderInserter

module interface

Module interface for protocol header inserter components. Modules that implement this interface add protocol-specific headers to packets before they are transmitted. These components process packets by prepending or appending headers that contain protocol information such as addressing, control data, or authentication codes.

Inheritance diagram

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

Implemented by

Name Type Description
EthernetMacHeaderInserter simple module (no description)
Ieee8021qTagEpdHeaderInserter simple module (no description)
Ieee8021qTagTpidHeaderInserter simple module (no description)
Ieee8021rTagEpdHeaderInserter simple module (no description)
OmittedIeee8021qTagEpdHeaderInserter compound module

Implements the module given by the interface and can be used as an omitted optional module that removes itself from the module hierarchy during initialization.

OmittedIeee8021qTagTpidHeaderInserter compound module

Implements the module given interface and can be used as an omitted optional module that removes itself from the module hierarchy during initialization.

Used in compound modules

Name Type Description
EthernetLayer compound module (no description)

Known subclasses

Name Type Description
IIeee8021qTagEpdHeaderInserter module interface (no description)
IIeee8021qTagTpidHeaderInserter module interface (no description)
IIeee8021rTagEpdHeaderInserter module interface (no description)

Extends

Name Type Description
IPacketFlow module interface

Interface for packet flows. A packet flow connects one input to one output. It can operate in both active and passive mode. Packets can be pushed into its input or packets can be pulled from its output. Packets are never dropped but the contents and/or attached meta information may be altered.

Properties

Name Value Description
omittedTypename OmittedPacketFlow
display i=block/inserter

Source code

//
// Module interface for protocol header inserter components. Modules that
// implement this interface add protocol-specific headers to packets before
// they are transmitted. These components process packets by prepending or
// appending headers that contain protocol information such as addressing,
// control data, or authentication codes.
//
moduleinterface IProtocolHeaderInserter extends IPacketFlow
{
    parameters:
        @display("i=block/inserter");
}

File: src/inet/protocolelement/contract/IProtocolHeaderInserter.ned