version 1.8.2.2, 2014/02/12 09:20:43
|
version 1.8.2.3, 2014/02/12 09:29:15
|
Line 64 typedef struct tagRawPacket {
|
Line 64 typedef struct tagRawPacket {
|
#define RPACK_BUF(x) (assert((x)), (x)->r_buf) |
#define RPACK_BUF(x) (assert((x)), (x)->r_buf) |
#define RPACK_LEN(x) (assert((x)), (x)->r_len) |
#define RPACK_LEN(x) (assert((x)), (x)->r_len) |
#define RPACK_REWIND(x) (assert((x)), (x)->r_next = (x)->r_buf) |
#define RPACK_REWIND(x) (assert((x)), (x)->r_next = (x)->r_buf) |
|
#define RPACK_OFF(x) (assert((x)), (x)->r_next - (x)->r_buf) |
|
|
#define RPACK_SET_16(x, n) do { assert((x)); \ |
#define RPACK_SET_16(x, n) do { assert((x)); \ |
*((uint8_t *) (x) + 1) = *((const uint8_t *) (n) + 1); \ |
*((uint8_t *) (x) + 1) = *((const uint8_t *) (n) + 1); \ |