Files
kernel/include/uapi/linux/un.h
T

17 lines
384 B
C
Raw Normal View History

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2005-04-16 15:20:36 -07:00
#ifndef _LINUX_UN_H
#define _LINUX_UN_H
#include <linux/socket.h>
2005-04-16 15:20:36 -07:00
#define UNIX_PATH_MAX 108
struct sockaddr_un {
__kernel_sa_family_t sun_family; /* AF_UNIX */
2005-04-16 15:20:36 -07:00
char sun_path[UNIX_PATH_MAX]; /* pathname */
};
#define SIOCUNIXFILE (SIOCPROTOPRIVATE + 0) /* open a socket file with O_PATH */
2005-04-16 15:20:36 -07:00
#endif /* _LINUX_UN_H */