mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-03 06:47:04 -04:00
module-avb: add specs comments for PTP management message format
This commit is contained in:
parent
fc6f2e33e2
commit
16189ae167
1 changed files with 4 additions and 0 deletions
|
|
@ -20,8 +20,11 @@ extern "C" {
|
|||
#define PTP_TLV_TYPE_MGMT 0x0001
|
||||
#define PTP_MGMT_ID_PARENT_DATA_SET 0x2002
|
||||
|
||||
/**************************************************************************************/
|
||||
/* IEEE 1588-2019, Sec. 15.4.1 PTP management message format - Common Fields */
|
||||
|
||||
struct ptp_management_msg {
|
||||
/* IEEE 1588-2019, Sec. 13.3 Header */
|
||||
// 4 for major_sdo, 4 for msg_type
|
||||
uint8_t major_sdo_id_message_type;
|
||||
// 4 for minor, 4 for major
|
||||
|
|
@ -37,6 +40,7 @@ struct ptp_management_msg {
|
|||
uint16_t sequence_id_be;
|
||||
uint8_t control_field;
|
||||
uint8_t log_message_interval;
|
||||
|
||||
uint8_t target_port_identity[8];
|
||||
uint16_t target_port_id_be;
|
||||
uint8_t starting_boundary_hops;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue