PacketFlowSignals.h Source File¶ Simu5G: PacketFlowSignals.h Source File Simu5G releasesrcsimu5gstackpacketFlowObserver PacketFlowSignals.h 1// 2// Simu5G 3// 4// Authors: Giovanni Nardini, Giovanni Stea, Antonio Virdis (University of Pisa) 5// 6// This file is part of a software released under the license included in file 7// "license.pdf". Please read LICENSE and README files before using it. 8// The above files and the present reference are part of the software itself, 9// and cannot be removed from it. 10// 11 12#ifndef _LTE_PACKETFLOWSIGNALS_H_ 13#define _LTE_PACKETFLOWSIGNALS_H_ 14 15#include <omnetpp.h> 16#include "simu5g/common/LteCommon.h" 17#include "simu5g/mec/utils/MecCommon.h" 18 19namespace simu5g { 20 21class LteRlcUmDataPdu; 22class LteMacPdu; 23 29struct RlcPduSignalInfo : public omnetpp::cObject 30{ 31 DrbKey drbKey; 32 const LteRlcUmDataPdu *rlcPdu; 33 RlcBurstStatus burstStatus; 34 35 RlcPduSignalInfo(DrbKey drbKey, const LteRlcUmDataPdu *rlcPdu, RlcBurstStatus burstStatus) 36 : drbKey(drbKey), rlcPdu(rlcPdu), burstStatus(burstStatus) {} 37}; 38 43struct RlcDiscardSignalInfo : public omnetpp::cObject 44{ 45 DrbKey drbKey; 46 unsigned int rlcSno; 47 48 RlcDiscardSignalInfo(DrbKey drbKey, unsigned int rlcSno) 49 : drbKey(drbKey), rlcSno(rlcSno) {} 50}; 51 57struct GrantSignalInfo : public omnetpp::cObject 58{ 59 MacNodeId nodeId; 60 unsigned int grantId; 61 62 GrantSignalInfo(MacNodeId nodeId, unsigned int grantId) 63 : nodeId(nodeId), grantId(grantId) {} 64}; 65 70struct MacPduSignalInfo : public omnetpp::cObject 71{ 72 MacNodeId peerId; // this direction's destination node; MAC-PDU SDUs carry no 73 // tags (LteMacPdu::pushSdu clears them), so the peer that 74 // scopes the LCID->DRB mapping must ride with the signal 75 const LteMacPdu *macPdu; 76 77 MacPduSignalInfo(MacNodeId peerId, const LteMacPdu *macPdu) : peerId(peerId), macPdu(macPdu) {} 78}; 79 80} //namespace 81 82#endif simu5g::DrbKeyDefinition LteTypes.h:191 simu5gDefinition AlertReceiver.h:24 Generated by 1.14.0