Resource.h File Reference
#include "Name.h"
#include <IpAddress.h>
Include dependency graph for Resource.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Ip6Address
 
class  mDNS::Resource::Record
 Resource Record with no specific type. More...
 
class  mDNS::Resource::A
 'A' record containing IP4 address More...
 
class  mDNS::Resource::PTR
 'PTR' record containing pointer to a canonical name More...
 
class  mDNS::Resource::HINFO
 'HINFO' record containing Host information More...
 
class  mDNS::Resource::TXT
 'TXT' record containing attribute list More...
 
class  mDNS::Resource::AAAA
 'AAAA' record containing 128-bit IPv6 address More...
 
class  mDNS::Resource::SRV
 'SRV' Service Locator record More...
 

Namespaces

 mDNS
 
 mDNS::Resource
 

Macros

#define MDNS_RESOURCE_TYPE_MAP(XX)
 MDNS resource type identifiers. More...
 
#define XX(name, value, desc)   name = value,
 

Typedefs

using mDNS::ResourceType = Resource::Type
 

Enumerations

enum  mDNS::Resource::Type : uint16_t { mDNS::Resource::Type::XX }
 

Functions

String toString (mDNS::ResourceType type)
 

Macro Definition Documentation

◆ MDNS_RESOURCE_TYPE_MAP

#define MDNS_RESOURCE_TYPE_MAP (   XX)
Value:
XX(A, 0x0001, "32-bit IPv4 address") \
XX(SOA, 0x0006, "Authoritative DNS Zone information") \
XX(PTR, 0x000C, "Pointer to a canonical name") \
XX(HINFO, 0x000D, "Host Information") \
XX(TXT, 0x0010, "Arbitrary human-readable text") \
XX(AAAA, 0x001C, "128-bit IPv6 address") \
XX(SRV, 0x0021, "Server selection") \
XX(ANY, 0x00FF, "Matches any resource type in query")

MDNS resource type identifiers.

(name, value, description)

◆ XX

#define XX (   name,
  value,
  desc 
)    name = value,

Function Documentation

◆ toString()

String toString ( mDNS::ResourceType  type)
#define XX(name, value, desc)
Definition: Resource.h:42