Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/ggate/shared/ggate.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | |||||
#define G_GATE_TIMEOUT 0 | #define G_GATE_TIMEOUT 0 | ||||
#define GGATE_MAGIC "GEOM_GATE " | #define GGATE_MAGIC "GEOM_GATE " | ||||
#define GGATE_VERSION 0 | #define GGATE_VERSION 0 | ||||
#define GGATE_FLAG_RDONLY 0x0001 | #define GGATE_FLAG_RDONLY 0x0001 | ||||
#define GGATE_FLAG_WRONLY 0x0002 | #define GGATE_FLAG_WRONLY 0x0002 | ||||
/* | /* | ||||
* If GGATE_FLAG_SEND not GGATE_FLAG_RECV flag is set, this is initial | * If neither the GGATE_FLAG_SEND nor the GGATE_FLAG_RECV flag is | ||||
* connection. | * set - this is initial connection. | ||||
* If GGATE_FLAG_SEND flag is set - this is socket to send data. | * If GGATE_FLAG_SEND flag is set - this is socket to send data. | ||||
* If GGATE_FLAG_RECV flag is set - this is socket to receive data. | * If GGATE_FLAG_RECV flag is set - this is socket to receive data. | ||||
*/ | */ | ||||
#define GGATE_FLAG_SEND 0x0004 | #define GGATE_FLAG_SEND 0x0004 | ||||
#define GGATE_FLAG_RECV 0x0008 | #define GGATE_FLAG_RECV 0x0008 | ||||
#define GGATE_CMD_READ 0 | #define GGATE_CMD_READ 0 | ||||
#define GGATE_CMD_WRITE 1 | #define GGATE_CMD_WRITE 1 | ||||
▲ Show 20 Lines • Show All 139 Lines • Show Last 20 Lines |