|
Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
| struct | clawh |
| struct | clawph |
| struct | endccw |
| struct | ccwbk |
| struct | clawctl |
| struct | sysval |
| struct | conncmd |
| struct | clawwerror |
| struct | clawbuf |
| struct | chbk |
| struct | claw_env |
| struct | claw_privbk |
Macros | |
| #define | CCW_CLAW_CMD_WRITE 0x01 /* write - not including link */ |
| #define | CCW_CLAW_CMD_READ 0x02 /* read */ |
| #define | CCW_CLAW_CMD_NOP 0x03 /* NOP */ |
| #define | CCW_CLAW_CMD_SENSE 0x04 /* Sense */ |
| #define | CCW_CLAW_CMD_SIGNAL_SMOD 0x05 /* Signal Status Modifier */ |
| #define | CCW_CLAW_CMD_TIC 0x08 /* TIC */ |
| #define | CCW_CLAW_CMD_READHEADER 0x12 /* read header data */ |
| #define | CCW_CLAW_CMD_READFF 0x22 /* read an FF */ |
| #define | CCW_CLAW_CMD_SENSEID 0xe4 /* Sense ID */ |
| #define | MORE_to_COME_FLAG 0x04 /* OR with write CCW in case of m-t-c */ |
| #define | CLAW_IDLE 0x00 /* flag to indicate CLAW is idle */ |
| #define | CLAW_BUSY 0xff /* flag to indicate CLAW is busy */ |
| #define | CLAW_PENDING 0x00 /* flag to indicate i/o is pending */ |
| #define | CLAW_COMPLETE 0xff /* flag to indicate i/o completed */ |
| #define | SYSTEM_VALIDATE_REQUEST 0x01 /* System Validate request */ |
| #define | SYSTEM_VALIDATE_RESPONSE 0x02 /* System Validate response */ |
| #define | CONNECTION_REQUEST 0x21 /* Connection request */ |
| #define | CONNECTION_RESPONSE 0x22 /* Connection response */ |
| #define | CONNECTION_CONFIRM 0x23 /* Connection confirm */ |
| #define | DISCONNECT 0x24 /* Disconnect */ |
| #define | CLAW_ERROR 0x41 /* CLAW error message */ |
| #define | CLAW_VERSION_ID 2 /* CLAW version ID */ |
| #define | CLAW_ADAPTER_SENSE_BYTE 0x41 /* Stop command issued to adapter */ |
| #define | CLAW_RC_NAME_MISMATCH 166 /* names do not match */ |
| #define | CLAW_RC_WRONG_VERSION 167 /* wrong CLAW version number */ |
| #define | CLAW_RC_HOST_RCV_TOO_SMALL 180 /* Host maximum receive is */ |
| #define | HOST_APPL_NAME "TCPIP " |
| #define | WS_APPL_NAME_IP_LINK "TCPIP " |
| #define | WS_APPL_NAME_IP_NAME "IP " |
| #define | WS_APPL_NAME_API_LINK "API " |
| #define | WS_APPL_NAME_PACKED "PACKED " |
| #define | WS_NAME_NOT_DEF "NOT_DEF " |
| #define | PACKING_ASK 1 |
| #define | PACK_SEND 2 |
| #define | DO_PACKED 3 |
| #define | MAX_ENVELOPE_SIZE 65536 |
| #define | CLAW_DEFAULT_MTU_SIZE 4096 |
| #define | DEF_PACK_BUFSIZE 32768 |
| #define | READ_CHANNEL 0 |
| #define | WRITE_CHANNEL 1 |
| #define | TB_TX 0 /* sk buffer handling in process */ |
| #define | TB_STOP 1 /* network device stop in process */ |
| #define | TB_RETRY 2 /* retry in process */ |
| #define | TB_NOBUFFER 3 /* no buffer on free queue */ |
| #define | CLAW_MAX_LINK_ID 1 |
| #define | CLAW_MAX_DEV 256 /* max claw devices */ |
| #define | MAX_NAME_LEN 8 /* host name, adapter name length */ |
| #define | CLAW_FRAME_SIZE 4096 |
| #define | CLAW_ID_SIZE 20+3 |
| #define | CLAW_STOP 0 |
| #define | CLAW_START_HALT_IO 1 |
| #define | CLAW_START_SENSEID 2 |
| #define | CLAW_START_READ 3 |
| #define | CLAW_START_WRITE 4 |
| #define | LOCK_YES 0 |
| #define | LOCK_NO 1 |
| #define | CLAW_DBF_TEXT(level, name, text) |
| #define | CLAW_DBF_HEX(level, name, addr, len) |
| #define | CLAW_DBF_TEXT_(level, name, text...) |
| #define | CLAW_BH_ACTIVE 0 |
| #define | CLAW_WRITE_ACTIVE 0 |
| #define | CLAW_WRITE 0x02 /* - Set if this is a write channel */ |
| #define | CLAW_READ 0x01 /* - Set if this is a read channel */ |
| #define | CLAW_TIMER 0x80 /* - Set if timer made the wake_up */ |
| #define | CCWBK_SIZE sizeof(struct ccwbk) |
Enumerations | |
| enum | claw_channel_types { claw_channel_type_none, claw_channel_type_claw } |
| #define CCW_CLAW_CMD_SIGNAL_SMOD 0x05 /* Signal Status Modifier */ |
| #define CCW_CLAW_CMD_WRITE 0x01 /* write - not including link */ |
| #define CLAW_ADAPTER_SENSE_BYTE 0x41 /* Stop command issued to adapter */ |
| #define CLAW_COMPLETE 0xff /* flag to indicate i/o completed */ |
| #define CLAW_PENDING 0x00 /* flag to indicate i/o is pending */ |
| #define CLAW_TIMER 0x80 /* - Set if timer made the wake_up */ |
| #define CLAW_WRITE 0x02 /* - Set if this is a write channel */ |
| #define MORE_to_COME_FLAG 0x04 /* OR with write CCW in case of m-t-c */ |
| #define SYSTEM_VALIDATE_REQUEST 0x01 /* System Validate request */ |
| #define SYSTEM_VALIDATE_RESPONSE 0x02 /* System Validate response */ |
| enum claw_channel_types |
1.8.2