From 4245da43ca371163b33666214746d96b1238c7e3 Mon Sep 17 00:00:00 2001 From: zhanghongyu Date: Mon, 17 Jun 2024 21:58:03 +0800 Subject: [PATCH] ioctl.h: add SIOCATMARK definition to resolve compilation errors This definition was added in order to solve some compilation problems encountered when porting third-party libraries Signed-off-by: zhanghongyu --- include/nuttx/net/ioctl.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/nuttx/net/ioctl.h b/include/nuttx/net/ioctl.h index 049d12ca5d..fc59d0e485 100644 --- a/include/nuttx/net/ioctl.h +++ b/include/nuttx/net/ioctl.h @@ -140,6 +140,11 @@ #define SIOCETHTOOL _SIOC(0x003D) /* Ethtool interface */ +/* TCP socket control *******************************************************/ + +#define SIOCATMARK _SIOC(0x003E) /* Determine whether socket is at + * out-of-band mark */ + /**************************************************************************** * Public Type Definitions ****************************************************************************/