summaryrefslogtreecommitdiff
path: root/include/uapi/linux/un.h
blob: 4f0ab3a548ad429963d803c802041b15a1332121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _LINUX_UN_H
#define _LINUX_UN_H

#include <linux/socket.h>

#define UNIX_PATH_MAX	108

struct sockaddr_un {
	__kernel_sa_family_t sun_family; /* AF_UNIX */
	char sun_path[UNIX_PATH_MAX];	/* pathname */
};

#define SIOCUNIXFILE (SIOCPROTOPRIVATE + 0) /* open a socket file with O_PATH */

#endif /* _LINUX_UN_H */