ReadTXtimestamp returns HW TX timestamp
(connFd int)
| 401 | timeStart := time.Now() |
| 402 | attempts := 0 |
| 403 | for ; attempts < AttemptsTXTS; attempts++ { |
| 404 | e1 := waitForHWTS(connFd) |
| 405 | if errors.Is(e1, unix.EINVAL) { |
| 406 | continue |
| 407 | } |
| 408 | tboob, err := recvoob(connFd, toob) |
| 409 | if err != nil { |
| 410 | continue |
| 411 | } |
| 412 | |
| 413 | if timestamp, err := socketControlMessageSeqIDTimestamp(toob, tboob, seqID); err == nil { |
searching dependent graphs…