From 445827108b2e3424d5154eb2435b20667d2cba89 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Tue, 12 Feb 2019 06:03:57 -0800 Subject: [PATCH] [ip6] update documentation for otIp6ReceiveCallback (#3584) --- include/openthread/ip6.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/openthread/ip6.h b/include/openthread/ip6.h index 30c4af758..26877b70a 100644 --- a/include/openthread/ip6.h +++ b/include/openthread/ip6.h @@ -413,7 +413,9 @@ otMessage *otIp6NewMessageFromBuffer(otInstance * aInstance, /** * This function pointer is called when an IPv6 datagram is received. * - * @param[in] aMessage A pointer to the message buffer containing the received IPv6 datagram. + * @param[in] aMessage A pointer to the message buffer containing the received IPv6 datagram. This function transfers + * the ownership of the @p aMessage to the receiver of the callback. The message should be + * freed by the receiver of the callback after it is processed (@sa otMessageFree). * @param[in] aContext A pointer to application-specific context. * */