1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
 2#ifndef _LINUX_UN_H
 3#define _LINUX_UN_H
 4
 5#include <linux/socket.h>
 6
 7#define UNIX_PATH_MAX	108
 8
 9struct sockaddr_un {
10	__kernel_sa_family_t sun_family; /* AF_UNIX */
11	char sun_path[UNIX_PATH_MAX];	/* pathname */
12};
13
14#define SIOCUNIXFILE (SIOCPROTOPRIVATE + 0) /* open a socket file with O_PATH */
15
16#endif /* _LINUX_UN_H */