IoctlPtpSysOffsetPrecise returns a description of the clock offset compared to the system clock.
(fd int)
| 89 | |
| 90 | // IoctlPtpSysOffsetPrecise returns a description of the clock offset compared to the system clock. |
| 91 | func IoctlPtpSysOffsetPrecise(fd int) (*PtpSysOffsetPrecise, error) { |
| 92 | var value PtpSysOffsetPrecise |
| 93 | err := ioctlPtr(fd, PTP_SYS_OFFSET_PRECISE2, unsafe.Pointer(&value)) |
| 94 | return &value, err |
| 95 | } |
| 96 | |
| 97 | // IoctlPtpSysOffsetExtended returns an extended description of the clock offset. |
| 98 | func IoctlPtpSysOffsetExtended(fd int, samples uint) (*PtpSysOffsetExtended, error) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…