FlowControlInfo

Namespace simu5g

FlowControlInfo

class

@class FlowControlInfo @brief contains information flowing from LteIp to Mac

It contains the following information:

  • IP Control Informations: the four tuple, a sequence number and the header size (IP + Transport) to be used by pdcp ROHC.
  • Traffic Control Informations: Application, Direction, Traffic
  • RLC Control Informations: the traffic type (TM, UM, AM)
  • Connection information: Logical CID

Extends

Name Type Description
LteControlInfo (unknown -- not in documented files)

Fields

Name Type Description
srcAddr uint32

source IP

dstAddr uint32

destination IP

typeOfService uint16

IP Type Of Service

sequenceNumber unsigned int

packet sequence number

headerSize int

IP + Transport header size (used by pdcp ROHC)

useNR bool

flag for sending this packet using NR

Source code

//
// @class FlowControlInfo
// @brief contains information flowing from LteIp to Mac
//
// It contains the following information:
// - IP Control Informations: the four tuple, a sequence number and
//   the header size (IP + Transport) to be used by pdcp ROHC.
// - Traffic Control Informations: Application, Direction, Traffic
// - RLC Control Informations: the traffic type (TM, UM, AM)
// - Connection information: Logical CID
//
class FlowControlInfo extends LteControlInfo
{
    uint32 srcAddr = 0;                     // source IP
    uint32 dstAddr = 0;                     // destination IP
    uint16 typeOfService = 0;               // IP Type Of Service
    unsigned int sequenceNumber = 0;        // packet sequence number
    int headerSize = 0;                     // IP + Transport header size (used by pdcp ROHC)
    bool useNR = false;                     // flag for sending this packet using NR
}

File: src/common/LteControlInfo.msg