Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _LINUX_UN_H |
| 2 | #define _LINUX_UN_H |
| 3 | |
Ben Hutchings | bcb949b | 2011-08-24 18:43:55 +0000 | [diff] [blame] | 4 | #include <linux/socket.h> |
| 5 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | #define UNIX_PATH_MAX 108 |
| 7 | |
| 8 | struct sockaddr_un { |
Ben Hutchings | bcb949b | 2011-08-24 18:43:55 +0000 | [diff] [blame] | 9 | __kernel_sa_family_t sun_family; /* AF_UNIX */ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 10 | char sun_path[UNIX_PATH_MAX]; /* pathname */ |
| 11 | }; |
| 12 | |
| 13 | #endif /* _LINUX_UN_H */ |