xref: /aosp_15_r20/bionic/libc/kernel/uapi/linux/un.h (revision 8d67ca893c1523eb926b9080dbe4e2ffd2a27ba1)
1*8d67ca89SAndroid Build Coastguard Worker /*
2*8d67ca89SAndroid Build Coastguard Worker  * This file is auto-generated. Modifications will be lost.
3*8d67ca89SAndroid Build Coastguard Worker  *
4*8d67ca89SAndroid Build Coastguard Worker  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5*8d67ca89SAndroid Build Coastguard Worker  * for more information.
6*8d67ca89SAndroid Build Coastguard Worker  */
7*8d67ca89SAndroid Build Coastguard Worker #ifndef _LINUX_UN_H
8*8d67ca89SAndroid Build Coastguard Worker #define _LINUX_UN_H
9*8d67ca89SAndroid Build Coastguard Worker #include <linux/socket.h>
10*8d67ca89SAndroid Build Coastguard Worker #define UNIX_PATH_MAX 108
11*8d67ca89SAndroid Build Coastguard Worker struct sockaddr_un {
12*8d67ca89SAndroid Build Coastguard Worker   __kernel_sa_family_t sun_family;
13*8d67ca89SAndroid Build Coastguard Worker   char sun_path[UNIX_PATH_MAX];
14*8d67ca89SAndroid Build Coastguard Worker };
15*8d67ca89SAndroid Build Coastguard Worker #define SIOCUNIXFILE (SIOCPROTOPRIVATE + 0)
16*8d67ca89SAndroid Build Coastguard Worker #endif
17