NED File src/simu5g/stack/ip2nic/INetworkLayer2CellularNic.ned¶
Name |
Type |
Description |
|---|---|---|
module interface |
The INetworkLayer2CellularNic module interface serves as an intermediary between the network layer and the cellular (LTE/NR) protocol stack. It facilitates interactions between the cellular stack and the network layer, enabling the transmission of IP packets through the protocol layers of LTE and NR technologies. |
Source code¶
//
// Simu5G
//
// Copyright (C) 2019-2021 Giovanni Nardini, Giovanni Stea, Antonio Virdis et al. (University of Pisa)
// Copyright (C) 2022-2026 Giovanni Nardini, Giovanni Stea et al. (University of Pisa)
//
// This file is part of a software released under the license included in file
// "license.pdf". Please read LICENSE and README files before using it.
// The above files and the present reference are part of the software itself,
// and cannot be removed from it.
//
package simu5g.stack.ip2nic;
//
// The INetworkLayer2CellularNic module interface serves as an intermediary between the network layer
// and the cellular (LTE/NR) protocol stack. It facilitates interactions between the cellular stack and the
// network layer, enabling the transmission of IP packets through the protocol layers of
// LTE and NR technologies.
//
moduleinterface INetworkLayer2CellularNic
{
parameters:
string nodeType;
bool isNr;
@display("i=block/layer");
gates:
// Connection to network layer.
// These gate names are recognized by the network layer (same as the ones in the INetworkInterface interface)
input upperLayerIn;
output upperLayerOut;
// Connection to the cellular stack
input stackIn;
output stackOut;
}