1 #ifndef _LINUX_UN_H 2 #define _LINUX_UN_H 3 4 #define UNIX_PATH_MAX 108 5 6 struct sockaddr_un { 7 unsigned short sun_family; /* AF_UNIX */ 8 char sun_path[UNIX_PATH_MAX]; /* pathname */ 9 }; 10 11 struct cmsghdr { 12 unsigned int cmsg_len; 13 int cmsg_level; 14 int cmsg_type; 15 unsigned char cmsg_data[0]; 16 }; 17 18 #endif /* _LINUX_UN_H */