You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bb68283
Browse filesBrowse the repository at this point in the historyBrowse files
Add TX hardware timestamping support for UDP sockets, following the
existing PKT socket implementation pattern:
- Tag outgoing IOBs with io_conn in both buffered and unbuffered send
paths when SO_TIMESTAMPING is enabled.
- In ipv4/ipv6 input, detect TX timestamp clone (io_conn != NULL) and
skip validation, jumping straight to protocol dispatch.
- In udp_input, match returning packets by io_conn to identify TX
timestamp echoes, queue them to s_errahead.
- Handle MSG_ERRQUEUE in psock_udp_recvfrom() to dequeue TX timestamp
packets from s_errahead with SO_TIMESTAMPING cmsg.
- Report POLLPRI|POLLERR in udp_netpoll when s_errahead is non-empty.
- Skip UDP checksum verification for TX timestamp clone packets.
Signed-off-by: wenquan1 <wenquan1@xiaomi.com>
0 commit comments