PIMSplitter

Package: inet.routing.pim

PIMSplitter

simple module

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.

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;
}
File: src/inet/routing/pim/PIMSplitter.ned