version 1.8.2.6, 2014/02/13 15:06:44
|
version 1.8.2.8, 2014/02/18 12:21:40
|
Line 67 typedef struct tagRawPacket {
|
Line 67 typedef struct tagRawPacket {
|
#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_OFF(x) (assert((x)), (x)->r_next - (x)->r_buf) |
#define RPACK_REMAIN(x) (assert((x)), (x)->r_len - ((x)->r_next - (x)->r_buf)) |
#define RPACK_REMAIN(x) (assert((x)), (x)->r_len - ((x)->r_next - (x)->r_buf)) |
|
#define RPACK_ISEND(x) (assert((x)), (size_t) ((x)->r_next - (x)->r_buf) >= (x)->r_len) |
|
|
#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); \ |