mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-01 19:36:36 +00:00
The MAC latches a hardware receive timestamp later than the frame reaches the wire, because of the PHY and the clock domain crossing. This fixed delay is the ingressLatency port parameter of IEEE 1588 and shows up as a constant phase error between the local and the master clock. Subtract the configured latency from every hardware receive timestamp in ptp_getrxtime(), the single place where they enter the daemon, so Sync, Delay_Resp and the peer delay messages are all corrected. - Add CONFIG_NETUTILS_PTPD_INGRESS_LATENCY_NS (default 0, which applies no compensation). - Add the -I option to override it at run time. - Add ingress_latency_ns to struct ptpd_config_s. Software timestamps are not affected. Assisted-by: Claude:claude-sonnet-5 Signed-off-by: Daniel P. Carvalho <danieloak@gmail.com> |
||
|---|---|---|
| .. | ||
| base64.h | ||
| chat.h | ||
| cmux.h | ||
| curl4nx.h | ||
| dhcp6c.h | ||
| dhcpc.h | ||
| dhcpd.h | ||
| discover.h | ||
| esp8266.h | ||
| ftpc.h | ||
| ftpd.h | ||
| httpd.h | ||
| icmp_ping.h | ||
| icmpv6_ping.h | ||
| ipmsfilter.h | ||
| md5.h | ||
| mdnsd.h | ||
| netinit.h | ||
| netlib.h | ||
| ntpclient.h | ||
| pppd.h | ||
| ptpd.h | ||
| smtp.h | ||
| telnetc.h | ||
| telnetd.h | ||
| tftp.h | ||
| thttpd.h | ||
| urldecode.h | ||
| webclient.h | ||
| xmlrpc.h | ||
| xtables.h | ||