summaryrefslogtreecommitdiffstats
path: root/include/linux/un.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/un.h')
-rw-r--r--include/linux/un.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/un.h b/include/linux/un.h
new file mode 100644
index 0000000..45561c5
--- /dev/null
+++ b/include/linux/un.h
@@ -0,0 +1,11 @@
+#ifndef _LINUX_UN_H
+#define _LINUX_UN_H
+
+#define UNIX_PATH_MAX 108
+
+struct sockaddr_un {
+ sa_family_t sun_family; /* AF_UNIX */
+ char sun_path[UNIX_PATH_MAX]; /* pathname */
+};
+
+#endif /* _LINUX_UN_H */
OpenPOWER on IntegriCloud