libptpmgmt  1.4
libptpmgmt library that provides the functionality of linuxptp pmc
mngIds.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-3.0-or-later
2  SPDX-FileCopyrightText: Copyright © 2021 Erez Geva <ErezGeva2@gmail.com> */
3 
14 #ifndef __PTPMGMT_MNG_IDS_H
15 #define __PTPMGMT_MNG_IDS_H
16 
17 #ifdef __cplusplus
18 #include "name.h"
19 
20 __PTPMGMT_NAMESPACE_BEGIN
21 
22 #undef DOMAIN /* Old math.h header uses this macro */
23 
29 enum mng_vals_e {
30  NULL_PTP_MANAGEMENT,
31  CLOCK_DESCRIPTION,
32  USER_DESCRIPTION,
33  SAVE_IN_NON_VOLATILE_STORAGE,
34  RESET_NON_VOLATILE_STORAGE,
35  INITIALIZE,
36  FAULT_LOG,
37  FAULT_LOG_RESET,
38  DEFAULT_DATA_SET,
39  CURRENT_DATA_SET,
40  PARENT_DATA_SET,
41  TIME_PROPERTIES_DATA_SET,
42  PORT_DATA_SET,
43  PRIORITY1,
44  PRIORITY2,
45  DOMAIN,
46  SLAVE_ONLY,
47  LOG_ANNOUNCE_INTERVAL,
48  ANNOUNCE_RECEIPT_TIMEOUT,
49  LOG_SYNC_INTERVAL,
50  VERSION_NUMBER,
51  ENABLE_PORT,
52  DISABLE_PORT,
53  TIME,
54  CLOCK_ACCURACY,
55  UTC_PROPERTIES,
56  TRACEABILITY_PROPERTIES,
57  TIMESCALE_PROPERTIES,
58  UNICAST_NEGOTIATION_ENABLE,
59  PATH_TRACE_LIST,
60  PATH_TRACE_ENABLE,
61  GRANDMASTER_CLUSTER_TABLE,
62  UNICAST_MASTER_TABLE,
63  UNICAST_MASTER_MAX_TABLE_SIZE,
64  ACCEPTABLE_MASTER_TABLE,
65  ACCEPTABLE_MASTER_TABLE_ENABLED,
66  ACCEPTABLE_MASTER_MAX_TABLE_SIZE,
67  ALTERNATE_MASTER,
68  ALTERNATE_TIME_OFFSET_ENABLE,
69  ALTERNATE_TIME_OFFSET_NAME,
70  ALTERNATE_TIME_OFFSET_MAX_KEY,
71  ALTERNATE_TIME_OFFSET_PROPERTIES,
72  TRANSPARENT_CLOCK_PORT_DATA_SET,
73  LOG_MIN_PDELAY_REQ_INTERVAL,
74  TRANSPARENT_CLOCK_DEFAULT_DATA_SET,
75  PRIMARY_DOMAIN,
76  DELAY_MECHANISM,
77  EXTERNAL_PORT_CONFIGURATION_ENABLED,
78  MASTER_ONLY,
79  HOLDOVER_UPGRADE_ENABLE,
80  EXT_PORT_CONFIG_PORT_DATA_SET,
81  TIME_STATUS_NP,
82  GRANDMASTER_SETTINGS_NP,
83  PORT_DATA_SET_NP,
84  SUBSCRIBE_EVENTS_NP,
85  PORT_PROPERTIES_NP,
86  PORT_STATS_NP,
87  SYNCHRONIZATION_UNCERTAIN_NP,
88  PORT_SERVICE_STATS_NP,
89  UNICAST_MASTER_TABLE_NP,
90  PORT_HWCLOCK_NP,
91  POWER_PROFILE_SETTINGS_NP,
92  CMLDS_INFO_NP,
94  LAST_MNG_ID,
95  SMPTE_MNG_ID,
96  FIRST_MNG_ID = NULL_PTP_MANAGEMENT,
98  NULL_MANAGEMENT = NULL_PTP_MANAGEMENT
99 };
100 
101 __PTPMGMT_NAMESPACE_END
102 #else /* __cplusplus */
103 #include "c/mngIds.h"
104 #endif /* __cplusplus */
105 
106 #endif /* __PTPMGMT_MNG_IDS_H */
Management IDs enumerator.
mng_vals_e
Management TLVs ID.
Definition: mngIds.h:29
@ NULL_MANAGEMENT
Definition: mngIds.h:98
Define name space.