Changeset View
Changeset View
Standalone View
Standalone View
head/sys/sys/unpcb.h
Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Lines | |||||
#define UNP_HAVEPC 0x001 | #define UNP_HAVEPC 0x001 | ||||
#define UNP_HAVEPCCACHED 0x002 | #define UNP_HAVEPCCACHED 0x002 | ||||
#define UNP_WANTCRED 0x004 /* credentials wanted */ | #define UNP_WANTCRED 0x004 /* credentials wanted */ | ||||
#define UNP_CONNWAIT 0x008 /* connect blocks until accepted */ | #define UNP_CONNWAIT 0x008 /* connect blocks until accepted */ | ||||
#define UNPGC_REF 0x1 /* unpcb has external ref. */ | #define UNPGC_REF 0x1 /* unpcb has external ref. */ | ||||
#define UNPGC_DEAD 0x2 /* unpcb might be dead. */ | #define UNPGC_DEAD 0x2 /* unpcb might be dead. */ | ||||
#define UNPGC_SCANNED 0x4 /* Has been scanned. */ | #define UNPGC_SCANNED 0x4 /* Has been scanned. */ | ||||
#define UNPGC_IGNORE_RIGHTS 0x8 /* Attached rights are freed */ | |||||
/* | /* | ||||
* These flags are used to handle non-atomicity in connect() and bind() | * These flags are used to handle non-atomicity in connect() and bind() | ||||
* operations on a socket: in particular, to avoid races between multiple | * operations on a socket: in particular, to avoid races between multiple | ||||
* threads or processes operating simultaneously on the same socket. | * threads or processes operating simultaneously on the same socket. | ||||
*/ | */ | ||||
#define UNP_CONNECTING 0x010 /* Currently connecting. */ | #define UNP_CONNECTING 0x010 /* Currently connecting. */ | ||||
#define UNP_BINDING 0x020 /* Currently binding. */ | #define UNP_BINDING 0x020 /* Currently binding. */ | ||||
Show All 32 Lines |