mirror of
https://github.com/apache/nuttx.git
synced 2026-10-01 11:26:29 +00:00
Consolidate the two separate timestamp Kconfig options into a single CONFIG_NET_TIMESTAMP option that covers SO_TIMESTAMP, SO_TIMESTAMPNS and SO_TIMESTAMPING socket options. Previously CONFIG_NET_TIMESTAMPING was a separate option only used by PKT sockets for hardware TX/RX timestamps and error queue support. Since both options guard the same io_time field in iob_s and share the s_options bitmask, merging them simplifies configuration without functional impact. Changes: - Replace all CONFIG_NET_TIMESTAMPING with CONFIG_NET_TIMESTAMP in pkt_input.c, pkt_recvmsg.c, pkt_sendmsg_buffered.c, pkt_sendmsg_unbuffered.c, pkt_sockif.c, pkt_netpoll.c, pkt.h, setsockopt.c, getsockopt.c - Simplify iob.h conditional from OR of both to single option - Remove NET_TIMESTAMPING Kconfig entry, update NET_TIMESTAMP description to cover all three socket options Signed-off-by: wenquan1 <wenquan1@xiaomi.com> |
||
|---|---|---|
| .. | ||
| accept.c | ||
| bind.c | ||
| CMakeLists.txt | ||
| connect.c | ||
| getpeername.c | ||
| getsockname.c | ||
| getsockopt.c | ||
| Kconfig | ||
| listen.c | ||
| Make.defs | ||
| net_close.c | ||
| net_dup2.c | ||
| net_fstat.c | ||
| net_poll.c | ||
| net_sendfile.c | ||
| net_sockif.c | ||
| net_timeo.c | ||
| recv.c | ||
| recvfrom.c | ||
| recvmsg.c | ||
| send.c | ||
| sendmsg.c | ||
| sendto.c | ||
| setsockopt.c | ||
| shutdown.c | ||
| socket.c | ||
| socket.h | ||
| socketpair.c | ||