* better
[mascara-docs.git] / i386 / linux-2.3.21 / drivers / char / ip2 / ip2trace.h
blob020aabb735a73d9e64e4743eee5141edbee05ce6
2 //
3 union ip2breadcrumb
5 struct {
6 unsigned char port, cat, codes, label;
7 } __attribute__ ((packed)) hdr;
8 unsigned long value;
9 };
11 #define ITRC_NO_PORT 0xFF
12 #define PORTN (port->port_index)
13 #define CHANN (pCh->port_index)
15 #define ITRC_ERROR '!'
16 #define ITRC_INIT 'A'
17 #define ITRC_OPEN 'B'
18 #define ITRC_CLOSE 'C'
19 #define ITRC_DRAIN 'D'
20 #define ITRC_IOCTL 'E'
21 #define ITRC_FLUSH 'F'
22 #define ITRC_STATUS 'G'
23 #define ITRC_HANGUP 'H'
24 #define ITRC_INTR 'I'
25 #define ITRC_SFLOW 'J'
26 #define ITRC_SBCMD 'K'
27 #define ITRC_SICMD 'L'
28 #define ITRC_MODEM 'M'
29 #define ITRC_INPUT 'N'
30 #define ITRC_OUTPUT 'O'
31 #define ITRC_PUTC 'P'
32 #define ITRC_QUEUE 'Q'
33 #define ITRC_STFLW 'R'
34 #define ITRC_SFIFO 'S'
35 #define ITRC_VERIFY 'V'
36 #define ITRC_WRITE 'W'
38 #define ITRC_ENTER 0x00
39 #define ITRC_RETURN 0xFF
41 #define ITRC_QUEUE_ROOM 2
42 #define ITRC_QUEUE_CMD 6