MSG File src/simu5g/apps/cbr/CbrPacket.msg

Name

Type

Description

CbrPacket

class

Packet used by the CbrSender and CbrReceiver modules.

Source code

//
//                  Simu5G
//
// Copyright (C) 2012-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.
//

import inet.common.INETDefs;
import inet.common.packet.chunk.Chunk;

namespace simu5g;

//
// Packet used by the ~CbrSender and ~CbrReceiver modules.
//
class CbrPacket extends inet::FieldsChunk {
    unsigned int numFrames;
    unsigned int frameId;
    simtime_t arrivalTime;   // Not on the wire; nothing sets it
    simtime_t payloadTimestamp;
    unsigned int payloadSize;
}