|
clkmgr 2.0
Clock Manager API library to receive events from the PTP service
|
C wrapper to get the configuration of time base. More...
#include <stddef.h>

Go to the source code of this file.
Functions | |
| bool | clkmgr_isTimeBaseIndexPresent (size_t timeBaseIndex) |
| const char * | clkmgr_ifName (size_t timeBaseIndex) |
| int | clkmgr_ifIndex (size_t timeBaseIndex) |
| int | clkmgr_ptpIndex (size_t timeBaseIndex) |
| uint8_t | clkmgr_transportSpecific (size_t timeBaseIndex) |
| uint8_t | clkmgr_domainNumber (size_t timeBaseIndex) |
| const char * | clkmgr_timeBaseName (size_t timeBaseIndex) |
| bool | clkmgr_havePtp (size_t timeBaseIndex) |
| bool | clkmgr_haveSysClock (size_t timeBaseIndex) |
| bool | clkmgr_BaseNameToBaseIndex (const char *timeBaseName, size_t *timeBaseIndex) |
C wrapper to get the configuration of time base.
| bool clkmgr_BaseNameToBaseIndex | ( | const char * | timeBaseName, |
| size_t * | timeBaseIndex | ||
| ) |
find index of the time base using its name.
| [in] | timeBaseName | The time base name. |
| [out] | timeBaseIndex | pointer to the time base index |
| uint8_t clkmgr_domainNumber | ( | size_t | timeBaseIndex | ) |
Get PTP Domain number
| bool clkmgr_havePtp | ( | size_t | timeBaseIndex | ) |
Query if we use PTP
| bool clkmgr_haveSysClock | ( | size_t | timeBaseIndex | ) |
Query if synchronize the system clock
| int clkmgr_ifIndex | ( | size_t | timeBaseIndex | ) |
Get Network interface index
| const char * clkmgr_ifName | ( | size_t | timeBaseIndex | ) |
Get Network interface name
| [in] | timeBaseIndex | the time base index |
| bool clkmgr_isTimeBaseIndexPresent | ( | size_t | timeBaseIndex | ) |
Check if a given timeBaseIndex exist
| [in] | timeBaseIndex | The time base index to check. |
| int clkmgr_ptpIndex | ( | size_t | timeBaseIndex | ) |
Get PTP device index
| const char * clkmgr_timeBaseName | ( | size_t | timeBaseIndex | ) |
Get name of the time base
| uint8_t clkmgr_transportSpecific | ( | size_t | timeBaseIndex | ) |
Get PTP Transport specific