|
ESP8266
|
Public Member Functions | |
| DNSServer () | |
| void | processNextRequest () |
| void | setErrorReplyCode (const DNSReplyCode &replyCode) |
| void | setTTL (const uint32_t &ttl) |
| bool | start (const uint16_t &port, const String &domainName, const IPAddress &resolvedIP) |
| void | stop () |
Private Member Functions | |
| void | downcaseAndRemoveWwwPrefix (String &domainName) |
| String | getDomainNameWithoutWwwPrefix () |
| bool | requestIncludesOnlyOneQuestion () |
| void | replyWithIP () |
| void | replyWithCustomCode () |
Private Attributes | |
| WiFiUDP | _udp |
| uint16_t | _port |
| String | _domainName |
| unsigned char | _resolvedIP [4] |
| int | _currentPacketSize |
| unsigned char * | _buffer |
| DNSHeader * | _dnsHeader |
| uint32_t | _ttl |
| DNSReplyCode | _errorReplyCode |
| DNSServer::DNSServer | ( | ) |
|
private |
|
private |
| void DNSServer::processNextRequest | ( | ) |
|
private |
|
private |
|
private |
| void DNSServer::setErrorReplyCode | ( | const DNSReplyCode & | replyCode | ) |
| void DNSServer::setTTL | ( | const uint32_t & | ttl | ) |
| bool DNSServer::start | ( | const uint16_t & | port, |
| const String & | domainName, | ||
| const IPAddress & | resolvedIP | ||
| ) |
| void DNSServer::stop | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.10