IProtocolHeaderChecker

Package: inet.protocolelement.contract

module interface IProtocolHeaderChecker

Module interface for protocol header checker components. Modules that implement this interface verify protocol-specific headers in packets and typically remove them after successful validation. These components act as packet filters that can drop invalid packets based on header information, ensuring protocol compliance and integrity. They are commonly used in protocol stacks to process incoming packets before passing them to higher layers.

Inheritance diagram

Implemented by

Name

Type

Description

EthernetMacHeaderChecker

simple module

(no description)

Ieee8021qTagEpdHeaderChecker

simple module

(no description)

Ieee8021qTagTpidHeaderChecker

simple module

(no description)

OmittedIeee8021qTagEpdHeaderChecker

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.

OmittedIeee8021qTagTpidHeaderChecker

compound module

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

Ieee8021rTagEpdHeaderChecker

simple module

(no description)

Known subclasses

Name

Type

Description

IIeee8021qTagEpdHeaderChecker

module interface

(no description)

IIeee8021qTagTpidHeaderChecker

module interface

(no description)

IIeee8021rTagEpdHeaderChecker

module interface

(no description)

Extends

Name

Type

Description

IPacketFilter

module interface

Interface for packet filter modules. A packet filter 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. Processed packets are either dropped, if they don’t match the filter criteria, or they are passed through without any delay or reordering. Packets are not modified in any way.

Properties

Name

Value

Description

display

i=block/checker

omittedTypename

OmittedPacketFilter

Source code

//
// Module interface for protocol header checker components. Modules that
// implement this interface verify protocol-specific headers in packets and
// typically remove them after successful validation. These components act as
// packet filters that can drop invalid packets based on header information,
// ensuring protocol compliance and integrity. They are commonly used in
// protocol stacks to process incoming packets before passing them to higher
// layers.
//
moduleinterface IProtocolHeaderChecker extends IPacketFilter
{
    parameters:
        @display("i=block/checker");
}

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