diff options
Diffstat (limited to 'freebsd/sys/sys/un.h')
-rw-r--r-- | freebsd/sys/sys/un.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/freebsd/sys/sys/un.h b/freebsd/sys/sys/un.h index a858abf4..9db3c6d9 100644 --- a/freebsd/sys/sys/un.h +++ b/freebsd/sys/sys/un.h @@ -53,9 +53,12 @@ struct sockaddr_un { #if __BSD_VISIBLE /* Socket options. */ -#define LOCAL_PEERCRED 0x001 /* retrieve peer credentials */ -#define LOCAL_CREDS 0x002 /* pass credentials to receiver */ -#define LOCAL_CONNWAIT 0x004 /* connects block until accepted */ +#define LOCAL_PEERCRED 1 /* retrieve peer credentials */ +#define LOCAL_CREDS 2 /* pass credentials to receiver */ +#define LOCAL_CONNWAIT 4 /* connects block until accepted */ + +/* Start of reserved space for third-party socket options. */ +#define LOCAL_VENDOR SO_VENDOR #ifndef _KERNEL |