summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-10-09 17:22:17 -0400
committerIan Moffett <ian@osmora.org>2025-10-09 17:22:17 -0400
commit20a0cc702e5ac46fc2991226cc65c66dcdd952f3 (patch)
tree41945214205e5b0c99249d7379ff9abb7de42f6c /src/sys
parentd1296d7ca780daf7c54520831e6ebb5cbe0a3642 (diff)
libc: iotap: Add I/O tap syscall interface
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/include/sys/iotap.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/sys/include/sys/iotap.h b/src/sys/include/sys/iotap.h
index 10e4f82..59d8225 100644
--- a/src/sys/include/sys/iotap.h
+++ b/src/sys/include/sys/iotap.h
@@ -55,4 +55,17 @@ struct __packed iotap_msg {
size_t len;
};
+#if !defined(_KERNEL)
+
+/*
+ * Perform an operation on a named I/O tap
+ *
+ * @name: Name of I/O tap
+ * @msg: Message to send
+ *
+ * Returns a less than zero value on error
+ */
+ssize_t iotap_mux(const char *name, struct iotap_msg *msg);
+
+#endif /* !_KERNEL */
#endif /* _SYS_IOTAP_H_ */