summaryrefslogtreecommitdiff
path: root/nuttx/include/nuttx/net/ioctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include/nuttx/net/ioctl.h')
-rw-r--r--nuttx/include/nuttx/net/ioctl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/net/ioctl.h b/nuttx/include/nuttx/net/ioctl.h
index afaa1df13..3442698a4 100644
--- a/nuttx/include/nuttx/net/ioctl.h
+++ b/nuttx/include/nuttx/net/ioctl.h
@@ -169,6 +169,11 @@
#define SIOCGMIIREG _SIOC(0x004d) /* Get a MII register via MDIO */
#define SIOCSMIIREG _SIOC(0x004e) /* Set a MII register via MDIO */
+/* Unix domain sockets ******************************************************/
+
+#define SIOCINQ _SIOC(0x004f) /* Returns the amount of queued unread
+ * data in the receive */
+
/****************************************************************************
* Type Definitions
****************************************************************************/