summaryrefslogtreecommitdiffhomepage
path: root/ebpf/include/linux/iio/buffer.h
diff options
context:
space:
mode:
authorDavid Anderson <danderson@tailscale.com>2021-11-10 12:15:03 -0800
committerDavid Anderson <danderson@tailscale.com>2021-11-10 12:15:03 -0800
commit41710e1b810aa25c14ceb657a40b9ba616615435 (patch)
tree4953322c9930fde10dae9ff057de28827e87fb52 /ebpf/include/linux/iio/buffer.h
parent4a51050c498da33eaecb520b78aeb5f445a442f1 (diff)
downloadtailscale-danderson/ebpf.tar.xz
tailscale-danderson/ebpf.zip
ebpf: experiments.danderson/ebpf
Diffstat (limited to 'ebpf/include/linux/iio/buffer.h')
-rw-r--r--ebpf/include/linux/iio/buffer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ebpf/include/linux/iio/buffer.h b/ebpf/include/linux/iio/buffer.h
new file mode 100644
index 000000000..e0781622e
--- /dev/null
+++ b/ebpf/include/linux/iio/buffer.h
@@ -0,0 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+/* industrial I/O buffer definitions needed both in and out of kernel
+ */
+
+#ifndef _IIO_BUFFER_H_
+#define _IIO_BUFFER_H_
+
+#define IIO_BUFFER_GET_FD_IOCTL _IOWR('i', 0x91, int)
+
+#endif /* _IIO_BUFFER_H_ */