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.
ot::Ip6::Icmp::SendError() is called by 1 function and calls 11 functions:
![]()
ot::Ip6::Icmp::SendError()
ot::Ip6::Icmp::SendError() reads 6 variables:
![]()
ot::Ip6::Icmp::SendError()