GptpPdelayRespFollowUp

Namespace: inet

class GptpPdelayRespFollowUp

(no description)

Usage diagram

Inheritance diagram

Extends

Name

Type

Description

GptpBase

class

ieee802.1AS-2020 10.6.2.1, 11.4.2

Fields

Name

Type

Description

id

int

mutable

bool

complete

bool

correct

bool

properlyRepresented

bool

chunkLength

b

rawBin

string[]

rawHex

string[]

regionTags

SharingRegionTagSet::TagBaseRegionTag[]

majorSdoId

uint8_t

The value is specified in 8.1 for all transmitted PTP messages of a gPTP domain. The value is specified in 11.2.17 for all transmitted PTP messages of the Common Mean Link Delay Service. Any PTP message received for which the value is not one of the values specified in those subclauses shall be ignored.

messageType

GptpMessageType

minorVersionPTP

uint8_t

For transmitted messages, the value shall be 1 (see 7.5.4 and 13.3.2.5 of IEEE Std 1588-2019). For received messages, the value is ignored.

versionPTP

uint8_t

For transmitted messages, the value shall be 2 (see 7.5.4 and 13.3.2.4 of IEEE Std 1588-2019). For received messages, if the value is not 2, the entire message shall be ignored.

messageLengthField

uint16_t

The value is the total number of octets that form the PTP message.

domainNumber

uint8_t

The domainNumber for Pdelay_Req, Pdelay_Resp, and Pdelay_Resp_Follow_Up messages shall be 0. The domainNumber for all other PTP messages is as specified in 10.6.2.2.6.

minorSdoId

uint8_t

The value is specified in 8.1 for all transmitted PTP messages of a gPTP domain. The value is specified in 11.2.17 for all transmitted PTP messages of the Common Mean Link Delay Service. Any PTP message received for which the value is not one of the values specified in those subclauses shall be ignored. Currently unused in INET

flags

uint16_t

10.6.2.2.8 flags (Octet2) The value of the bits of the array are defined in Table 10-9. For message types where the bit is not defined in Table 10-9, the value of the bit is set to FALSE. Use GptpFlags enums.

correctionField

clocktime_t

The correctionField is the value of the correction as specified in Table 11-6, measured in nanoseconds and multiplied by 2^16. For example, 2.5 ns is represented as 0x0000000000028000.

messageTypeSpecific

uint32_t

The value of the messageTypeSpecific field varies, based on the value of the messageType field, as described in Table 10-10.

sourcePortIdentity

PortIdentity

The value is the PTP Port identity attribute (see 8.5.2) of the PTP Port that transmits the PTP message.

sequenceId

uint16_t

The sequenceId field is assigned as specified in 10.5.7.

controlField

uint8_t

The value is 0.

logMessageInterval

uint8_t

For Sync and Follow_Up messages, the value is the value of currentLogSyncInterval (see 10.2.5.4 and 10.7.2.3). For Pdelay_Req messages, the value is the value of currentLogPdelayReqInterval. For Pdelay_Resp and Pdelay_Resp_Follow_Up messages, the value is transmitted as 0x7F and ignored on reception.

messageType

chunkLength

messageLengthField

responseOriginTimestamp

clocktime_t

requestingPortIdentity

PortIdentity

Properties

Name

Value

Description

beforeChange

handleChange()

descriptor

readonly

existingClass

packetData

Source code

class GptpPdelayRespFollowUp extends GptpBase
{
    messageType = GPTPTYPE_PDELAY_RESP_FOLLOW_UP;
    chunkLength = GPTP_PDELAY_RESP_FOLLOW_UP_PACKET_SIZE;
    messageLengthField = GPTP_PDELAY_RESP_FOLLOW_UP_PACKET_SIZE.get<B>();
    clocktime_t responseOriginTimestamp;
    PortIdentity requestingPortIdentity;
}

File: src/inet/linklayer/ieee8021as/GptpPacket.msg