ptp_uhdr

A structure to hold fields that identify a PTP packet

Synopsis:

#include <qnx/ptp/ptp_mod.h>
struct ptp_uhdr {
    struct PortIdentity sourcePortId;
    uint16_t sequenceId;
    uint8_t messageType;
    uint8_t domain;
} ;

Data:

struct PortIdentity sourcePortId
The PTP port that originated this PTP message.
uint16_t sequenceId
The sequence ID.
uint8_t messageType
The message type.
uint8_t domain
The domain number.

Library:

ptp

Description:

Derived from the ptp_hdr structure in ptp.h. These are the fields used to uniquely identify a PTP packet. Requires no padding to allow for quick comparison.

For detailed information about the fields, see the IEEE 1588-2019 documentation.

Page updated: