![]() |
flexPTP 1.0
An IEEE 1588 PTP implementation designed for microcontrollers
|
Go to the source code of this file.
Functions | |
bool | linux_nsd_preinit (const char *ifn) |
void | linux_nsd_cleanup (void) |
void | linux_set_time (uint32_t seconds, uint32_t nanoseconds) |
void | linux_adjust_clock (double tuning_ppb) |
void | linux_get_time (TimestampU *pTime) |
void linux_adjust_clock | ( | double | tuning_ppb | ) |
void linux_get_time | ( | TimestampU * | pTime | ) |
Query PHC time.
pTime | pointer to a timestamp object |
Definition at line 639 of file nsd_linux.c.
void linux_nsd_cleanup | ( | void | ) |
Clean up the Linux network stack driver.
Definition at line 207 of file nsd_linux.c.
bool linux_nsd_preinit | ( | const char * | ifn | ) |
Preinitialize the Linux network stack driver.
ifn | name of the targeted network interface (e.g. eth0) |
Definition at line 76 of file nsd_linux.c.
void linux_set_time | ( | uint32_t | seconds, |
uint32_t | nanoseconds | ||
) |
Set PHC time.
seconds | seconds part |
nanoseconds | nanoseconds part |
Definition at line 632 of file nsd_linux.c.