Go to the documentation of this file.
38 #define ETH_P_SNA_DIX 0x80D5
44 #define ALLZEROS 0x0000000000000000
49 #define XID2_WRITE_SIDE 0x04
50 #define XID2_READ_SIDE 0x05
79 #define XID2_LENGTH (sizeof(struct xid2))
84 #define TH_HAS_PDU 0xf0
85 #define TH_IS_XID 0x01
86 #define TH_SWEEP_REQ 0xfe
87 #define TH_SWEEP_RESP 0xff
89 #define TH_DATA_IS_XID 0x80
91 #define TH_DISCONTACT 0xc0
92 #define TH_SEG_BLK 0x20
93 #define TH_LAST_SEG 0x10
94 #define TH_PDU_PART 0x08
109 #define TH_HEADER_LENGTH (sizeof(struct th_header))
110 #define TH_SWEEP_LENGTH (sizeof(struct th_sweep))
112 #define PDU_LAST 0x80
113 #define PDU_CNTL 0x40
114 #define PDU_FIRST 0x20
123 #define PDU_HEADER_LENGTH (sizeof(struct pdu))
127 #define QLLC_REQ 0xFF
128 #define QLLC_RESP 0x00
130 #define QLLC_DISCONNECT 0x53
131 #define QLLC_UNSEQACK 0x73
132 #define QLLC_SETMODE 0x93
133 #define QLLC_EXCHID 0xBF
141 #define MAX_MPCGCHAN 10
142 #define MPC_XID_TIMEOUT_VALUE 10000
143 #define MPC_CHANNEL_ADD 0
144 #define MPC_CHANNEL_REMOVE 1
145 #define MPC_CHANNEL_ATTN 2
202 void ctcmpc_dumpit(
char *
buf,
int len);
204 static inline void ctcmpc_dumpit(
char *
buf,
int len)
222 static inline void ctcmpc_dump32(
char *
buf,
int len)
225 ctcmpc_dumpit(buf, len);
227 ctcmpc_dumpit(buf, 32);