Internal definitions of the static implementation of Packet buffer. More...
Internal definitions of the static implementation of Packet buffer.
Definitions of types and their alignment for usage in tests
Definition in file pktbuf_static.h.
#include <sys/types.h>
Go to the source code of this file.
Data Structures | |
struct | _unused |
Marks an unused section of the packet buffer arena array. More... | |
#define | GNRC_PKTBUF_STATIC_ALIGN_MASK (sizeof(_unused_t) - 1) |
Mask to align packet buffer allocations with size of _unused_t. | |
typedef struct _unused | _unused_t |
Marks an unused section of the packet buffer arena array. | |
static size_t | _align (size_t size) |
Calculates the required space of a number of bytes including alignment to the size of _unused_t. | |
#define GNRC_PKTBUF_STATIC_ALIGN_MASK (sizeof(_unused_t) - 1) |
Mask to align packet buffer allocations with size of _unused_t.
Definition at line 33 of file pktbuf_static.h.
|
inlinestatic |
Calculates the required space of a number of bytes including alignment to the size of _unused_t.
Definition at line 47 of file pktbuf_static.h.