# otPlatDnssdBrowser Struct Reference

# otPlatDnssdBrowser


`#include <openthread/platform/dnssd.h>`

Represents a service browser.

## Summary

| ### Public attributes ||
|---|---|
| `https://openthread.io/reference/struct/ot-plat-dnssd-browser#structot_plat_dnssd_browser_1a0b2e1e3ac0c2703d0576b6b2dda2859b` | `https://openthread.io/reference/group/plat-dns-sd#group__plat-dns-sd_1ga478ff156be627d5ef35e6a512e0e4770` The callback to report result. |
| `https://openthread.io/reference/struct/ot-plat-dnssd-browser#structot_plat_dnssd_browser_1a87fb82b81622b11394b4f57b023019f9` | `uint32_t` The infrastructure network interface index. |
| `https://openthread.io/reference/struct/ot-plat-dnssd-browser#structot_plat_dnssd_browser_1a974854f6d57ff4cd37743fb48aa0ab88` | `const char *` The service type (e.g., "_mt._udp"). MUST NOT include domain name. |
| `https://openthread.io/reference/struct/ot-plat-dnssd-browser#structot_plat_dnssd_browser_1a8e69ba2b044b8fd1954213686474bde1` | `const char *` The sub-type label if browsing for sub-type, NULL otherwise. |

## Public attributes

### mCallback

```
otPlatDnssdBrowseCallback otPlatDnssdBrowser::mCallback
```
The callback to report result.

### mInfraIfIndex

```
uint32_t otPlatDnssdBrowser::mInfraIfIndex
```
The infrastructure network interface index.

### mServiceType

```
const char * otPlatDnssdBrowser::mServiceType
```
The service type (e.g., "_mt._udp"). MUST NOT include domain name.

### mSubTypeLabel

```
const char * otPlatDnssdBrowser::mSubTypeLabel
```
The sub-type label if browsing for sub-type, NULL otherwise.

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