pub unsafe extern "C" fn otPlatInfraIfRecvIcmp6Nd(
    aInstance: *mut otInstance,
    aInfraIfIndex: u32,
    aSrcAddress: *const otIp6Address,
    aBuffer: *const u8,
    aBufferLength: u16
)
Expand description

The infra interface driver calls this method to notify OpenThread that an ICMPv6 Neighbor Discovery message is received.

See RFC 4861: https://tools.ietf.org/html/rfc4861.

@param[in] aInstance The OpenThread instance structure. @param[in] aInfraIfIndex The index of the infrastructure interface on which the ICMPv6 message is received. @param[in] aSrcAddress The source address this message is received from. @param[in] aBuffer The ICMPv6 message buffer. @param[in] aBufferLength The length of the ICMPv6 message buffer.

@note Per RFC 4861, the caller should enforce that the source address MUST be a IPv6 link-local address and the IP Hop Limit MUST be 255.