Internal stuff for gnrc_pktbuf. More...
Internal stuff for gnrc_pktbuf.
Interface definition for the global network buffer. Network devices and layers can allocate space for packets here.
Definition in file pktbuf_internal.h.
Include dependency graph for pktbuf_internal.h:Go to the source code of this file.
| mutex_t | gnrc_pktbuf_mutex |
| Mutex used to provide mutually exclusive access to packet buffer data structures. More... | |
| bool | gnrc_pktbuf_contains (void *ptr) |
| Check if the given pointer is indeed part of the packet buffer. More... | |
| void | gnrc_pktbuf_free_internal (void *data, size_t size) |
| Release an internal buffer. More... | |
| bool | gnrc_pktbuf_is_empty (void) |
| Checks if packet buffer is empty. More... | |
| bool | gnrc_pktbuf_is_sane (void) |
| Checks if the implementation's internal invariants still uphold. More... | |
| bool gnrc_pktbuf_contains | ( | void * | ptr | ) |
Check if the given pointer is indeed part of the packet buffer.
| ptr | pointer to check |
| true | It is plausible, that this pointer belongs to data in the packet buffer |
| false | ptr does not point to data in the packet buffer |
| void gnrc_pktbuf_free_internal | ( | void * | data, |
| size_t | size | ||
| ) |
Release an internal buffer.
| data | pointer to the internal buffer to release |
| size | size of data in bytes |
| bool gnrc_pktbuf_is_empty | ( | void | ) |
Checks if packet buffer is empty.
| bool gnrc_pktbuf_is_sane | ( | void | ) |
Checks if the implementation's internal invariants still uphold.