ot::Ip6::Icmp::SendError() method
Sends an ICMPv6 error message.
Arguments
aType
The ICMPv6 message type.
aCode
The ICMPv6 message code.
aMessageInfo
A reference to the message info.
aMessage
The error-causing IPv6 message.
Return value
kErrorNone Successfully enqueued the ICMPv6 error message. kErrorNoBufs Insufficient buffers available.