version 1.10, 2015/06/25 17:53:49
|
version 1.11, 2022/09/26 19:39:23
|
Line 12 terms:
|
Line 12 terms:
|
All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
|
|
Copyright 2004 - 2015 | Copyright 2004 - 2022 |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
|
|
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
Line 68 typedef struct tagRawPacket {
|
Line 68 typedef struct tagRawPacket {
|
#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_ISEND(x) (assert((x)), (size_t) ((x)->r_next - (x)->r_buf) >= (x)->r_len) |
|
#define RPACK_WHEREAMI(x, nx) (assert((x)), (size_t) (((uint8_t*)(nx)) - (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); \ |