Go to the source code of this file.
|
enum | VCOM_RESP { STATUS_SUCCESS = 0x00000000
, STATUS_INVALID_PARAMETER = 0xC000000D
, STATUS_DEVICE_BUSY = 0x80000011
} |
|
enum | VCOM_CMD {
VCOM_CMD_CREATE = 0x0000
, VCOM_CMD_CLOSE = 0x0002
, VCOM_CMD_WRITE = 0x0004
, VCOM_CMD_IOCTL = 0x000e
,
VCOM_CMD_CLEANUP = 0x0012
, VCOM_CMD_QUEUEFREE = 0x0900
, VCOM_CMD_DATAREADY = 0x0800
, VCOM_CMD_SHUTDOWN = 0x0010
} |
|
enum | VCOM_IOCTL {
VCOM_IOCTL_SET_BAUD_RATE = 0x01
, VCOM_IOCTL_SET_LINE_CONTROL = 0x03
, VCOM_IOCTL_SET_BREAK_ON = 0x04
, VCOM_IOCTL_SET_BREAK_OFF = 0x05
,
VCOM_IOCTL_IMMEDIATE_CHAR = 0x06
, VCOM_IOCTL_SET_TIMEOUTS = 0x07
, VCOM_IOCTL_GET_TIMEOUTS = 0x08
, VCOM_IOCTL_SET_DTR = 0x09
,
VCOM_IOCTL_CLR_DTR = 0x0a
, VCOM_IOCTL_SET_RTS = 0x0c
, VCOM_IOCTL_CLR_RTS = 0x0d
, VCOM_IOCTL_SET_XOFF = 0x0e
,
VCOM_IOCTL_SET_XON = 0x0f
, VCOM_IOCTL_GET_WAIT_MASK = 0x10
, VCOM_IOCTL_SET_WAIT_MASK = 0x11
, VCOM_IOCTL_WAIT_ON_MASK = 0x12
,
VCOM_IOCTL_PURGE = 0x13
, VCOM_IOCTL_GET_BAUD_RATE = 0x14
, VCOM_IOCTL_GET_LINE_CONTROL = 0x15
, VCOM_IOCTL_GET_CHARS = 0x16
,
VCOM_IOCTL_SET_CHARS = 0x17
, VCOM_IOCTL_GET_HANDFLOW = 0x18
, VCOM_IOCTL_SET_HANDFLOW = 0x19
, VCOM_IOCTL_GET_MODEMSTATUS = 0x1a
,
VCOM_IOCTL_GET_COMMSTATUS = 0x1b
, VCOM_IOCTL_GET_PROPERTIES = 0x1d
, VCOM_IOCTL_GET_DTRRTS = 0x1e
, VCOM_IOCTL_GET_STATS = 0x23
,
VCOM_IOCTL_CLEAR_STATS = 0x24
} |
|
◆ pack_att
#define pack_att |
( |
| a, |
|
|
| b ) |
◆ vc_ext_size
Value:
Definition vcom_proto.h:3
◆ vc_pack_size
#define vc_pack_size |
( |
| a | ) |
|
Value:
Definition vcom_proto.h:41
◆ VCOM_MAGIC
#define VCOM_MAGIC (htonl(0x4d414441)) |
◆ VCOM_CMD
Enumerator |
---|
VCOM_CMD_CREATE | |
VCOM_CMD_CLOSE | |
VCOM_CMD_WRITE | |
VCOM_CMD_IOCTL | |
VCOM_CMD_CLEANUP | |
VCOM_CMD_QUEUEFREE | |
VCOM_CMD_DATAREADY | |
VCOM_CMD_SHUTDOWN | |
◆ VCOM_IOCTL
Enumerator |
---|
VCOM_IOCTL_SET_BAUD_RATE | |
VCOM_IOCTL_SET_LINE_CONTROL | |
VCOM_IOCTL_SET_BREAK_ON | |
VCOM_IOCTL_SET_BREAK_OFF | |
VCOM_IOCTL_IMMEDIATE_CHAR | |
VCOM_IOCTL_SET_TIMEOUTS | |
VCOM_IOCTL_GET_TIMEOUTS | |
VCOM_IOCTL_SET_DTR | |
VCOM_IOCTL_CLR_DTR | |
VCOM_IOCTL_SET_RTS | |
VCOM_IOCTL_CLR_RTS | |
VCOM_IOCTL_SET_XOFF | |
VCOM_IOCTL_SET_XON | |
VCOM_IOCTL_GET_WAIT_MASK | |
VCOM_IOCTL_SET_WAIT_MASK | |
VCOM_IOCTL_WAIT_ON_MASK | |
VCOM_IOCTL_PURGE | |
VCOM_IOCTL_GET_BAUD_RATE | |
VCOM_IOCTL_GET_LINE_CONTROL | |
VCOM_IOCTL_GET_CHARS | |
VCOM_IOCTL_SET_CHARS | |
VCOM_IOCTL_GET_HANDFLOW | |
VCOM_IOCTL_SET_HANDFLOW | |
VCOM_IOCTL_GET_MODEMSTATUS | |
VCOM_IOCTL_GET_COMMSTATUS | |
VCOM_IOCTL_GET_PROPERTIES | |
VCOM_IOCTL_GET_DTRRTS | |
VCOM_IOCTL_GET_STATS | |
VCOM_IOCTL_CLEAR_STATS | |
◆ VCOM_RESP
Enumerator |
---|
STATUS_SUCCESS | |
STATUS_INVALID_PARAMETER | |
STATUS_DEVICE_BUSY | |
◆ __attribute__()
◆ __attribute__
◆ [union]
◆ chflow
◆ cmd
◆ data
◆ dbit
◆ flowrep
◆ hdr
◆ hflow
◆ lctrl
◆ len
◆ p1
◆ p2
◆ pair
◆ param
◆ pid
◆ ptr
◆ sbit
◆ tid
◆ uint
◆ uint32
◆ xofflimit
◆ xonlimit