# otUdpReceiver Struct Reference

# otUdpReceiver


`#include <openthread/udp.h>`

Represents a UDP receiver.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-udp-receiver#structot_udp_receiver_1a4c832c25238195d34b824b2bfb974df0` | `void *` A pointer to application-specific context. |
| `https://openthread.io/reference/struct/ot-udp-receiver#structot_udp_receiver_1a5eba93b00ae870bf6ee7748d54508beb` | `https://openthread.io/reference/group/api-udp#group__api-udp_1ga847ee9625e4be2d38fee0d552efdd32d` A function pointer to the receiver callback. |
| `https://openthread.io/reference/struct/ot-udp-receiver#structot_udp_receiver_1aba84c4c8334edab40f7ae240fe0c9d70` | `struct https://openthread.io/reference/struct/ot-udp-receiver *` A pointer to the next UDP receiver (internal use only). |

## Public attributes

### mContext

```
void * otUdpReceiver::mContext
```
A pointer to application-specific context.

### mHandler

```
otUdpHandler otUdpReceiver::mHandler
```
A function pointer to the receiver callback.

### mNext

```
struct otUdpReceiver * otUdpReceiver::mNext
```
A pointer to the next UDP receiver (internal use only).

## 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).