[riot-devel] pktbuf question

Kaspar Schleiser kaspar at schleiser.de
Wed Jun 17 09:35:47 CEST 2015


On 06/16/15 23:00, Kaspar Schleiser wrote:
> "If @p data is already in the packet buffer (e.g. a payload of an
> already allocated packet) it will not be duplicated."
> Does this check for pointer equality, or would it correctly de-duplicate
> the snip if I add e.g., just the end of a packet a second time?

Looking at the code, it wouldn't.


More information about the devel mailing list