nuttx/net/socket
wenquan1 cf78962356 net/socket: merge CONFIG_NET_TIMESTAMPING into CONFIG_NET_TIMESTAMP
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>
2026-09-18 20:00:49 +08:00
..
accept.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
bind.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
CMakeLists.txt
connect.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
getpeername.c fs/file: unify prefix about file_xxx api, like file_open, file_ioctl 2025-06-12 18:12:42 +08:00
getsockname.c fs/file: unify prefix about file_xxx api, like file_open, file_ioctl 2025-06-12 18:12:42 +08:00
getsockopt.c net/socket: merge CONFIG_NET_TIMESTAMPING into CONFIG_NET_TIMESTAMP 2026-09-18 20:00:49 +08:00
Kconfig net/socket: merge CONFIG_NET_TIMESTAMPING into CONFIG_NET_TIMESTAMP 2026-09-18 20:00:49 +08:00
listen.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
Make.defs
net_close.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
net_dup2.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
net_fstat.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
net_poll.c
net_sendfile.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
net_sockif.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
net_timeo.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
recv.c
recvfrom.c fs/file: unify prefix about file_xxx api, like file_open, file_ioctl 2025-06-12 18:12:42 +08:00
recvmsg.c fs/file: unify prefix about file_xxx api, like file_open, file_ioctl 2025-06-12 18:12:42 +08:00
send.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
sendmsg.c net: make the sendmsg param type consistent with posix specification 2026-01-16 21:11:39 +08:00
sendto.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
setsockopt.c net/socket: merge CONFIG_NET_TIMESTAMPING into CONFIG_NET_TIMESTAMP 2026-09-18 20:00:49 +08:00
shutdown.c fs/file: unify prefix about file_xxx api, like file_open, file_ioctl 2025-06-12 18:12:42 +08:00
socket.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
socket.h net/ethernet: add timestamp for socket packet 2025-12-10 23:44:14 +08:00
socketpair.c