# otIcmp6Handler Struct Reference

# otIcmp6Handler


`#include <openthread/icmp6.h>`

Implements ICMPv6 message handler.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-icmp6-handler#structot_icmp6_handler_1aa5cbec323ea181fcc5dd1c38e11bc2cd` | `void *` A pointer to arbitrary context information. |
| `https://openthread.io/reference/struct/ot-icmp6-handler#structot_icmp6_handler_1a8fc4eb47c1f754cf5240b0a78f7b1627` | `struct https://openthread.io/reference/struct/ot-icmp6-handler *` A pointer to the next handler in the list. |
| `https://openthread.io/reference/struct/ot-icmp6-handler#structot_icmp6_handler_1a3b8dbff38dd4d9305d5f5169e64653ad` | `https://openthread.io/reference/group/api-icmp6#group__api-icmp6_1ga8e6867a15dec97de6ff79bc5b36d6d94` The ICMPv6 received callback. |

## Public attributes

### mContext

```
void * otIcmp6Handler::mContext
```
A pointer to arbitrary context information.

### mNext

```
struct otIcmp6Handler * otIcmp6Handler::mNext
```
A pointer to the next handler in the list.

### mReceiveCallback

```
otIcmp6ReceiveCallback otIcmp6Handler::mReceiveCallback
```
The ICMPv6 received callback.

## Resources

OpenThread API Reference topics originate from the source code, available
on [GitHub](https://github.com/openthread/openthread/tree/main/include/openthread).
For more information, or to contribute to our documentation, refer to
[Resources](https://openthread.io/resources).