libptpmgmt  1.4
libptpmgmt library that provides the functionality of linuxptp pmc
cnvFunc.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: LGPL-3.0-or-later
2  SPDX-FileCopyrightText: Copyright © 2022 Erez Geva <ErezGeva2@gmail.com> */
3 
17 #ifndef __PTPMGMT_CONVERT_FUNCTIONS_H
18 #define __PTPMGMT_CONVERT_FUNCTIONS_H
19 
20 #include "proc.h"
21 #include "sig.h"
22 
23 __PTPMGMT_NAMESPACE_BEGIN
24 
143 DOMAIN_t
144 *conv_DOMAIN(const BaseMngTlv *tlv);
203 TIME_t
204 *conv_TIME(const BaseMngTlv *tlv);
595 
649 L1_SYNC_t
728 
729 __PTPMGMT_NAMESPACE_END
730 
731 #endif /* __PTPMGMT_CONVERT_FUNCTIONS_H */
UNICAST_MASTER_TABLE_t * conv_UNICAST_MASTER_TABLE(const BaseMngTlv *tlv)
USER_DESCRIPTION_t * conv_USER_DESCRIPTION(const BaseMngTlv *tlv)
ALTERNATE_MASTER_t * conv_ALTERNATE_MASTER(const BaseMngTlv *tlv)
DEFAULT_DATA_SET_t * conv_DEFAULT_DATA_SET(const BaseMngTlv *tlv)
PRIORITY2_t * conv_PRIORITY2(const BaseMngTlv *tlv)
FAULT_LOG_t * conv_FAULT_LOG(const BaseMngTlv *tlv)
PROTOCOL_ADDRESS_t * conv_PROTOCOL_ADDRESS(const BaseSigTlv *tlv)
UNICAST_MASTER_MAX_TABLE_SIZE_t * conv_UNICAST_MASTER_MAX_TABLE_SIZE(const BaseMngTlv *tlv)
TRANSPARENT_CLOCK_PORT_DATA_SET_t * conv_TRANSPARENT_CLOCK_PORT_DATA_SET(const BaseMngTlv *tlv)
PATH_TRACE_ENABLE_t * conv_PATH_TRACE_ENABLE(const BaseMngTlv *tlv)
CURRENT_DATA_SET_t * conv_CURRENT_DATA_SET(const BaseMngTlv *tlv)
PORT_HWCLOCK_NP_t * conv_PORT_HWCLOCK_NP(const BaseMngTlv *tlv)
SLAVE_TX_EVENT_TIMESTAMPS_t * conv_SLAVE_TX_EVENT_TIMESTAMPS(const BaseSigTlv *tlv)
PORT_PROPERTIES_NP_t * conv_PORT_PROPERTIES_NP(const BaseMngTlv *tlv)
UNICAST_NEGOTIATION_ENABLE_t * conv_UNICAST_NEGOTIATION_ENABLE(const BaseMngTlv *tlv)
EXT_PORT_CONFIG_PORT_DATA_SET_t * conv_EXT_PORT_CONFIG_PORT_DATA_SET(const BaseMngTlv *tlv)
TIME_PROPERTIES_DATA_SET_t * conv_TIME_PROPERTIES_DATA_SET(const BaseMngTlv *tlv)
GRANDMASTER_SETTINGS_NP_t * conv_GRANDMASTER_SETTINGS_NP(const BaseMngTlv *tlv)
CMLDS_INFO_NP_t * conv_CMLDS_INFO_NP(const BaseMngTlv *tlv)
TRANSPARENT_CLOCK_DEFAULT_DATA_SET_t * conv_TRANSPARENT_CLOCK_DEFAULT_DATA_SET(const BaseMngTlv *tlv)
MASTER_ONLY_t * conv_MASTER_ONLY(const BaseMngTlv *tlv)
PARENT_DATA_SET_t * conv_PARENT_DATA_SET(const BaseMngTlv *tlv)
HOLDOVER_UPGRADE_ENABLE_t * conv_HOLDOVER_UPGRADE_ENABLE(const BaseMngTlv *tlv)
ACCEPTABLE_MASTER_TABLE_t * conv_ACCEPTABLE_MASTER_TABLE(const BaseMngTlv *tlv)
PORT_COMMUNICATION_AVAILABILITY_t * conv_PORT_COMMUNICATION_AVAILABILITY(const BaseSigTlv *tlv)
L1_SYNC_t * conv_L1_SYNC(const BaseSigTlv *tlv)
LOG_MIN_PDELAY_REQ_INTERVAL_t * conv_LOG_MIN_PDELAY_REQ_INTERVAL(const BaseMngTlv *tlv)
PORT_DATA_SET_NP_t * conv_PORT_DATA_SET_NP(const BaseMngTlv *tlv)
ALTERNATE_TIME_OFFSET_ENABLE_t * conv_ALTERNATE_TIME_OFFSET_ENABLE(const BaseMngTlv *tlv)
SLAVE_RX_SYNC_TIMING_DATA_t * conv_SLAVE_RX_SYNC_TIMING_DATA(const BaseSigTlv *tlv)
PORT_STATS_NP_t * conv_PORT_STATS_NP(const BaseMngTlv *tlv)
SLAVE_RX_SYNC_COMPUTED_DATA_t * conv_SLAVE_RX_SYNC_COMPUTED_DATA(const BaseSigTlv *tlv)
SLAVE_DELAY_TIMING_DATA_NP_t * conv_SLAVE_DELAY_TIMING_DATA_NP(const BaseSigTlv *tlv)
ALTERNATE_TIME_OFFSET_PROPERTIES_t * conv_ALTERNATE_TIME_OFFSET_PROPERTIES(const BaseMngTlv *tlv)
SYNCHRONIZATION_UNCERTAIN_NP_t * conv_SYNCHRONIZATION_UNCERTAIN_NP(const BaseMngTlv *tlv)
ORGANIZATION_EXTENSION_t * conv_ORGANIZATION_EXTENSION(const BaseSigTlv *tlv)
INITIALIZE_t * conv_INITIALIZE(const BaseMngTlv *tlv)
PORT_SERVICE_STATS_NP_t * conv_PORT_SERVICE_STATS_NP(const BaseMngTlv *tlv)
ACCEPTABLE_MASTER_MAX_TABLE_SIZE_t * conv_ACCEPTABLE_MASTER_MAX_TABLE_SIZE(const BaseMngTlv *tlv)
TIME_t * conv_TIME(const BaseMngTlv *tlv)
LOG_SYNC_INTERVAL_t * conv_LOG_SYNC_INTERVAL(const BaseMngTlv *tlv)
UNICAST_MASTER_TABLE_NP_t * conv_UNICAST_MASTER_TABLE_NP(const BaseMngTlv *tlv)
PATH_TRACE_t * conv_PATH_TRACE(const BaseSigTlv *tlv)
LOG_ANNOUNCE_INTERVAL_t * conv_LOG_ANNOUNCE_INTERVAL(const BaseMngTlv *tlv)
PORT_DATA_SET_t * conv_PORT_DATA_SET(const BaseMngTlv *tlv)
CLOCK_ACCURACY_t * conv_CLOCK_ACCURACY(const BaseMngTlv *tlv)
ACCEPTABLE_MASTER_TABLE_ENABLED_t * conv_ACCEPTABLE_MASTER_TABLE_ENABLED(const BaseMngTlv *tlv)
TIMESCALE_PROPERTIES_t * conv_TIMESCALE_PROPERTIES(const BaseMngTlv *tlv)
PRIMARY_DOMAIN_t * conv_PRIMARY_DOMAIN(const BaseMngTlv *tlv)
TRACEABILITY_PROPERTIES_t * conv_TRACEABILITY_PROPERTIES(const BaseMngTlv *tlv)
ANNOUNCE_RECEIPT_TIMEOUT_t * conv_ANNOUNCE_RECEIPT_TIMEOUT(const BaseMngTlv *tlv)
EXTERNAL_PORT_CONFIGURATION_ENABLED_t * conv_EXTERNAL_PORT_CONFIGURATION_ENABLED(const BaseMngTlv *tlv)
GRANDMASTER_CLUSTER_TABLE_t * conv_GRANDMASTER_CLUSTER_TABLE(const BaseMngTlv *tlv)
POWER_PROFILE_SETTINGS_NP_t * conv_POWER_PROFILE_SETTINGS_NP(const BaseMngTlv *tlv)
PATH_TRACE_LIST_t * conv_PATH_TRACE_LIST(const BaseMngTlv *tlv)
ALTERNATE_TIME_OFFSET_INDICATOR_t * conv_ALTERNATE_TIME_OFFSET_INDICATOR(const BaseSigTlv *tlv)
SUBSCRIBE_EVENTS_NP_t * conv_SUBSCRIBE_EVENTS_NP(const BaseMngTlv *tlv)
UTC_PROPERTIES_t * conv_UTC_PROPERTIES(const BaseMngTlv *tlv)
VERSION_NUMBER_t * conv_VERSION_NUMBER(const BaseMngTlv *tlv)
TIME_STATUS_NP_t * conv_TIME_STATUS_NP(const BaseMngTlv *tlv)
SLAVE_ONLY_t * conv_SLAVE_ONLY(const BaseMngTlv *tlv)
PRIORITY1_t * conv_PRIORITY1(const BaseMngTlv *tlv)
ENHANCED_ACCURACY_METRICS_t * conv_ENHANCED_ACCURACY_METRICS(const BaseSigTlv *tlv)
DOMAIN_t * conv_DOMAIN(const BaseMngTlv *tlv)
__PTPMGMT_NAMESPACE_BEGIN CLOCK_DESCRIPTION_t * conv_CLOCK_DESCRIPTION(const BaseMngTlv *tlv)
ALTERNATE_TIME_OFFSET_MAX_KEY_t * conv_ALTERNATE_TIME_OFFSET_MAX_KEY(const BaseMngTlv *tlv)
ALTERNATE_TIME_OFFSET_NAME_t * conv_ALTERNATE_TIME_OFFSET_NAME(const BaseMngTlv *tlv)
CUMULATIVE_RATE_RATIO_t * conv_CUMULATIVE_RATE_RATIO(const BaseSigTlv *tlv)
DELAY_MECHANISM_t * conv_DELAY_MECHANISM(const BaseMngTlv *tlv)
Definition: proc.h:278
Definition: proc.h:272
Definition: proc.h:293
Definition: proc.h:307
Definition: proc.h:323
Definition: proc.h:317
Definition: proc.h:167
Definition: types.h:962
Definition: types.h:966
Definition: proc.h:191
Definition: proc.h:23
Definition: proc.h:646
Definition: sig.h:226
Definition: proc.h:67
Definition: proc.h:51
Definition: proc.h:368
Definition: proc.h:149
Definition: sig.h:66
Definition: proc.h:402
Definition: proc.h:46
Definition: proc.h:249
Definition: proc.h:437
Definition: proc.h:393
Definition: proc.h:42
Definition: sig.h:91
Definition: proc.h:162
Definition: proc.h:348
Definition: proc.h:173
Definition: proc.h:384
Definition: sig.h:47
Definition: proc.h:75
Definition: proc.h:240
Definition: proc.h:236
Definition: sig.h:53
Definition: proc.h:456
Definition: proc.h:112
Definition: proc.h:627
Definition: proc.h:540
Definition: proc.h:600
Definition: proc.h:572
Definition: proc.h:635
Definition: proc.h:364
Definition: proc.h:141
Definition: proc.h:145
Definition: sig.h:136
Definition: sig.h:307
Definition: proc.h:153
Definition: sig.h:186
Definition: sig.h:160
Definition: sig.h:213
Definition: proc.h:474
Definition: proc.h:588
Definition: proc.h:217
Definition: proc.h:96
Definition: proc.h:416
Definition: proc.h:187
Definition: proc.h:207
Definition: proc.h:334
Definition: proc.h:267
Definition: proc.h:619
Definition: proc.h:258
Definition: proc.h:227
Definition: proc.h:36
Definition: proc.h:195
Definition: proc.h:178