[riot-notifications] [RIOT] net: added new dynamic packet buffer implementation (#3259)

Martine Lenders notifications at github.com
Thu Jun 25 13:22:52 CEST 2015


> +{
> +    /* TODO */
> +}
> +#endif
> +
> +
> +/* for testing */
> +#ifdef TEST_SUITES
> +bool ng_pktbuf_is_empty(void)
> +{
> +    return used_sum == 0;
> +}
> +
> +void ng_pktbuf_reset(void) {
> +    count = 0;
> +    used_sum = 0;

This doesn't really reset the packet buffer ;-)

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3259/files#r33244549
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150625/ce80888e/attachment.html>


More information about the notifications mailing list