#include <cstddef>
#include <cstdint>
Go to the source code of this file.
◆ ParseNameStatus
Enumerator |
---|
OK | |
InputError | |
OutputBufferError | |
Definition at line 38 of file dns.h.
◆ dnsserver()
◆ parse_name()
ParseNameStatus parse_name |
( |
const uint8_t ** |
inpos, |
|
|
const uint8_t * |
inend, |
|
|
const uint8_t * |
inbuf, |
|
|
char * |
buf, |
|
|
size_t |
bufsize |
|
) |
| |
◆ write_name()
int write_name |
( |
uint8_t ** |
outpos, |
|
|
const uint8_t * |
outend, |
|
|
const char * |
name, |
|
|
int |
offset |
|
) |
| |
◆ MAX_LABEL_LENGTH
constexpr int MAX_LABEL_LENGTH = 63 |
|
constexpr |
Definition at line 11 of file dns.h.
◆ MAX_QUERY_NAME_BUFFER_LENGTH
Definition at line 14 of file dns.h.
◆ MAX_QUERY_NAME_LENGTH
constexpr int MAX_QUERY_NAME_LENGTH = 255 |
|
constexpr |
Definition at line 12 of file dns.h.