summaryrefslogtreecommitdiff
path: root/include/linux/un.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/un.h')
-rw-r--r--include/linux/un.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/un.h b/include/linux/un.h
new file mode 100644
index 00000000..3ed3e46c
--- /dev/null
+++ b/include/linux/un.h
@@ -0,0 +1,13 @@
+#ifndef _LINUX_UN_H
+#define _LINUX_UN_H
+
+#include <linux/socket.h>
+
+#define UNIX_PATH_MAX 108
+
+struct sockaddr_un {
+ __kernel_sa_family_t sun_family; /* AF_UNIX */
+ char sun_path[UNIX_PATH_MAX]; /* pathname */
+};
+
+#endif /* _LINUX_UN_H */