Simple Module PIMSplitter

Package: inet.routing.pim
File: src/inet/routing/pim/PIMSplitter.ned

C++ definition

PIMSplitter module dispatches PIM packets received from the network layer according to the PIM mode of the incoming interface. Bu using a PIMSplitter it is possible to build nodes that operates in Dense Mode on some interfaces, and in Sparse Mode on others.

See PIMRouting module for example usage.

PIMSplitter

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
PIMRouting compound module (no description)

Parameters:

Name Type Default value Description
interfaceTableModule string
pimInterfaceTableModule string

Properties:

Name Value Description
display i=block/dispatch

Gates:

Name Direction Size Description
ipIn input
ipOut output
pimDMIn input
pimDMOut output
pimSMIn input
pimSMOut output

Source code:

//
// PIMSplitter module dispatches PIM packets received from the network layer
// according to the PIM mode of the incoming interface. Bu using a PIMSplitter
// it is possible to build nodes that operates in Dense Mode on some interfaces,
// and in Sparse Mode on others.
//
// See ~PIMRouting module for example usage.
//
simple PIMSplitter
{
    parameters:
        @display("i=block/dispatch");
        string interfaceTableModule;
        string pimInterfaceTableModule;

    gates:
        input ipIn;
        output ipOut;
        input pimDMIn;
        output pimDMOut;
        input pimSMIn;
        output pimSMOut;
}