IPdcpMux

Package: simu5g.stack.pdcp

module interface IPdcpMux

Module interface for the upper-layer PDCP packet dispatcher of a cellular NIC (see PdcpMux for the default implementation). Implementations dispatch SDUs coming from Ip2Nic/SDAP to the PDCP TX entity serving their DRB, and pass the output of the RX entities back up. The per-bearer gates are created and wired at runtime by BearerManagement, which also registers the TX routing table; implementations must therefore subclass the PdcpMux C++ class.

Inheritance diagram

Implemented by

Name

Type

Description

PdcpMux

simple module

Upper-layer PDCP packet dispatcher.

Properties

Name

Value

Description

display

i=block/dispatch

Source code

//
// Module interface for the upper-layer PDCP packet dispatcher of a cellular NIC
// (see ~PdcpMux for the default implementation). Implementations dispatch SDUs
// coming from Ip2Nic/SDAP to the PDCP TX entity serving their DRB, and pass the
// output of the RX entities back up. The per-bearer gates are created and wired
// at runtime by ~BearerManagement, which also registers the TX routing table;
// implementations must therefore subclass the PdcpMux C++ class.
//
moduleinterface IPdcpMux
{
    parameters:
        @display("i=block/dispatch");
    gates:
        input upperLayerIn;
        output upperLayerOut;
        output toTxEntity[];       // Dynamic: dispatches to TX entity in gates
        input fromRxEntity[];      // Dynamic: receives from RX entity out gates
}

File: src/simu5g/stack/pdcp/IPdcpMux.ned