|
Open Ethernet Networking (OpEN) API Guide and Reference Manual
3.11.1.2
|
#include "openapi_common.h"Go to the source code of this file.
Functions | |
| open_error_t | openapiLinuxptpAdminModeGet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t *mode) |
| Get the linuxPTP Global Admin Mode. More... | |
| open_error_t | openapiLinuxptpAdminModeSet (openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode) |
| Set the linuxPTP Global Admin Mode. More... | |
| open_error_t | openapiLinuxptpAnnounceIntervalGet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile, int32_t *announceInterval) |
| Get the configured linuxPTP announce interval for a given profile. More... | |
| open_error_t | openapiLinuxptpAnnounceIntervalSet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile, int32_t announceInterval) |
| Configure announce interval for given PTP profile. More... | |
| open_error_t | openapiLinuxptpAnnounceTimeoutGet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile, uint32_t *announceTimeout) |
| Get the linuxPTP announce timeout value for a given profile. More... | |
| open_error_t | openapiLinuxptpAnnounceTimeoutSet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile, uint32_t announceTimeout) |
| Configure announce timeout for given PTP profile. More... | |
| open_error_t | openapiLinuxptpBridgePriorityGet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_CLOCK_PRIORITY_t prioType, uint32_t *prioVal) |
| Get priority value of the local clock. More... | |
| open_error_t | openapiLinuxptpBridgePrioritySet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_CLOCK_PRIORITY_t prioType, uint32_t prioVal) |
| Configure priority value of the local clock. More... | |
| open_error_t | openapiLinuxptpClockIdGet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_DS_TYPE_t type, open_buffdesc *identity) |
| Fetch parent or GM or local clock identity. More... | |
| open_error_t | openapiLinuxptpClockMeanPathDelayGet (openapiClientHandle_t *client_handle, open_buffdesc *clockMeanPathDelay) |
| Fetch E2E mean path delay. More... | |
| open_error_t | openapiLinuxptpClockOffsetFromMaster (openapiClientHandle_t *client_handle, open_buffdesc *offsetFromMaster) |
| Fetch current clock offset in time between slave and master. More... | |
| open_error_t | openapiLinuxptpClockOperModeGet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_CLOCK_OPERATION_t *operMode) |
| Get the Clock Operation for the local clock. More... | |
| open_error_t | openapiLinuxptpClockOperModeSet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_CLOCK_OPERATION_t operMode) |
| Configure PTP clock operation mode. More... | |
| open_error_t | openapiLinuxptpClockParamGet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_DS_TYPE_t type, int32_t *value) |
| Fetch parent or GM or local clock parameters. More... | |
| open_error_t | openapiLinuxptpClockRoleGet (openapiClientHandle_t *client_handle, uint32_t *clockRole) |
| Status of the mode the clock is operating in master or slave. More... | |
| open_error_t | openapiLinuxptpClockStepsRemovedGet (openapiClientHandle_t *client_handle, uint32_t *stepsRemoved) |
| Fetch number of boundary clocks between local clock and foreign master. More... | |
| open_error_t | openapiLinuxptpDelayMechanismGet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile, OPEN_LINUXPTP_DELAY_MECHANISM_t *delayMech) |
| Get the linuxPTP delay mechanism for a given profile. More... | |
| open_error_t | openapiLinuxptpDelayMechanismSet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile, OPEN_LINUXPTP_DELAY_MECHANISM_t delayMech) |
| Configure PTP delay mechanism. More... | |
| open_error_t | openapiLinuxptpDelayRequestIntervalGet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile, int32_t *delayReqInterval) |
| Get the linuxPTP delay request Interval for a given profile. More... | |
| open_error_t | openapiLinuxptpDelayRequestIntervalSet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile, int32_t delayReqInterval) |
| Configure delay request interval for given PTP profile. More... | |
| open_error_t | openapiLinuxptpDomainGet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile, uint32_t *domain) |
| Get the linuxPTP Domain for a given profile. More... | |
| open_error_t | openapiLinuxptpDomainSet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile, uint32_t domain) |
| Configure domain number for given PTP profile. More... | |
| open_error_t | openapiLinuxptpIntfAdminModeGet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t *mode) |
| Get the linuxPTP interface Admin Mode. More... | |
| open_error_t | openapiLinuxptpIntfAdminModeSet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_CONTROL_t mode) |
| Set the linuxPTP interface Admin Mode. More... | |
| open_error_t | openapiLinuxptpIntfDelayGet (openapiClientHandle_t *client_handle, uint32_t ifNum, open_buffdesc *p2pPathDelay) |
| Fetch P2P mean path delay. More... | |
| open_error_t | openapiLinuxptpIntfOperStateGet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *status) |
| Get PTP interface operational status. More... | |
| open_error_t | openapiLinuxptpIntfStateGet (openapiClientHandle_t *client_handle, uint32_t ifNum, int32_t *portState) |
| Fetch PTP port state. More... | |
| open_error_t | openapiLinuxptpIntfStatsClear (openapiClientHandle_t *client_handle, uint32_t ifNum) |
| Clear PTP statistics on an interface. More... | |
| open_error_t | openapiLinuxptpIntfStatsGet (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_LINUXPTP_STATS_TYPE_t statType, int32_t *statsCount) |
| Fetch statistics for the given type on an interface. More... | |
| open_error_t | openapiLinuxptpIsDomainExists (openapiClientHandle_t *client_handle, uint32_t domain, OPEN_BOOL_t *isValidDomain) |
| Check if the passed domain identifier is configured. More... | |
| open_error_t | openapiLinuxptpIsValidIntf (openapiClientHandle_t *client_handle, uint32_t ifNum, OPEN_BOOL_t *isValid) |
| Check whether the interface is eligible for linuxptp operation. More... | |
| open_error_t | openapiLinuxptpLoggingGet (openapiClientHandle_t *client_handle, uint32_t *level) |
| Fetch PTP logging severity level. More... | |
| open_error_t | openapiLinuxptpLoggingSet (openapiClientHandle_t *client_handle, uint32_t level) |
| Configure PTP logging severity level. More... | |
| open_error_t | openapiLinuxptpPathTraceClockIdGetNext (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_DS_TYPE_t type, open_buffdesc *identity) |
| Fetch next clock identity in the path. More... | |
| open_error_t | openapiLinuxptpPathTraceTlvGet (openapiClientHandle_t *client_handle, OPEN_BOOL_t *traceMode) |
| Fetch PTP path trace TLV status. More... | |
| open_error_t | openapiLinuxptpPathTraceTlvSet (openapiClientHandle_t *client_handle, OPEN_BOOL_t traceMode) |
| Configure PTP path trace TLV. More... | |
| open_error_t | openapiLinuxptpPdelayRequestIntervalGet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile, int32_t *pDelayReqInterval) |
| Get the linuxPTP peer delay request Interval for a given profile. More... | |
| open_error_t | openapiLinuxptpPdelayRequestIntervalSet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile, int32_t pDelayReqInterval) |
| Configure peer delay request interval for given PTP profile. More... | |
| open_error_t | openapiLinuxptpProfileGet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t *ptpProfile) |
| Get the active linuxPTP profile. More... | |
| open_error_t | openapiLinuxptpProfileSet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile) |
| Configure PTP profile. More... | |
| open_error_t | openapiLinuxptpSourceIPv4AddrGet (openapiClientHandle_t *client_handle, uint32_t *ipAddr) |
| Get the source IPv4 address used for linuxPTP communication. More... | |
| open_error_t | openapiLinuxptpSourceIPv4AddrSet (openapiClientHandle_t *client_handle, uint32_t ipAddr) |
| Configure source IPv4 address to be used for linuxPTP communication. More... | |
| open_error_t | openapiLinuxptpSourceIPv6AddrGet (openapiClientHandle_t *client_handle, open_in6_addr_t *ipAddr) |
| Get the source IPv6 address used for linuxPTP communication. More... | |
| open_error_t | openapiLinuxptpSourceIPv6AddrSet (openapiClientHandle_t *client_handle, open_in6_addr_t ipAddr) |
| Configure source IPv6 address to be used for linuxPTP communication. More... | |
| open_error_t | openapiLinuxptpSyncIntervalGet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile, int32_t *syncInterval) |
| Get the linuxPTP Sync Interval for a given profile. More... | |
| open_error_t | openapiLinuxptpSyncIntervalSet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile, int32_t syncInterval) |
| Configure sync interval for given PTP profile. More... | |
| open_error_t | openapiLinuxptpTimePropGet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_TIME_PROPERTIES_TYPE_t type, int32_t *value) |
| Fetch time properties information. More... | |
| open_error_t | openapiLinuxptpTransportGet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile, OPEN_LINUXPTP_TRANSPORT_MODE_t *transMode) |
| Get the linuxPTP transport for a given profile. More... | |
| open_error_t | openapiLinuxptpTransportSet (openapiClientHandle_t *client_handle, OPEN_LINUXPTP_PROFILES_t ptpProfile, OPEN_LINUXPTP_TRANSPORT_MODE_t transMode) |
| Configure PTP profile's transport mode. More... | |