libptpmgmt  1.3
libptpmgmt library that provides the functionality of linuxptp pmc
Public Attributes | List of all members
ptpmgmt_ManagementId_t Struct Reference

#include <types.h>

Public Attributes

uint16_t value
 
uint8_t scope
 
uint8_t allowed
 
ssize_t size
 

Detailed Description

Properties of a PTP management TLV

Member Data Documentation

◆ allowed

uint8_t ptpmgmt_ManagementId_t::allowed

Allowed actions, bits from allowAction_e

◆ scope

uint8_t ptpmgmt_ManagementId_t::scope

Applies port or clock using scope_e

◆ size

ssize_t ptpmgmt_ManagementId_t::size

TLV dataField size

  • positive size of TLV dataField when it is fixed length
  • 0 for TLV without dataField
  • -1 TLV is not supported
  • -2 The dataField length need calculation based on values
    Note
    the size might be even. Just pad another byte at the end.

◆ value

uint16_t ptpmgmt_ManagementId_t::value

managementId value


The documentation for this struct was generated from the following file: