ark::time::PtpAnnounceBody

Defined in header “ark/time/ptp_packet.hh”.


Represents the body of a PTP packet for Announce messages.

Variables

  • uint16_t origin_current_utc_offset_s
    Current offset to be applied to the time to get to UTC, in seconds.

  • uint8_t priority1
    Priority1 bits (typically 0x80).

  • uint8_t grandmaster_clock_class
    Class of the grandmaster clock.

  • uint8_t grandmaster_clock_accuracy
    Accuracy of grandmaster clock (0xfe is unknown).

  • uint16_t grandmaster_clock_variance
    Variance of the grandmaster clock (0xff is unknown).

  • uint8_t priority2
    Second priority bits (typically 0x80);.

  • uint64_t grandmaster_clock_identity
    Identity of the grandmaster clock (source port identity).

  • uint16_t local_steps_removed
    Number of steps removed from the authoritive time source.

  • uint8_t time_source
    Source of the time (0xa0 is INTERNAL_OSCILLATOR).