This subroutine converts values between the host and network byte order. Specifically, ntohs() converts 16-bit quantities from network byte order to host byte order.
| Parameters: | netshort – 16-bit short addr |
|---|---|
| Return type: | converted addr |
Store pending query in local cache.
| Parameters: |
|
|---|---|
| Return type: | boolean |
Invalidate record in local cache.
| Parameters: |
|
|---|
Log a verbose message, pass the level for this message. No trailing newline is needed.
| Parameters: |
|
|---|
Log informational message. No trailing newline is needed.
| Parameters: | msg – string message |
|---|
Log error message. No trailing newline is needed.
| Parameters: | msg – string message |
|---|
Log warning message. No trailing newline is needed.
| Parameters: | msg – string message |
|---|
Log a hex-string to the log. Can be any length. performs mallocs to do so, slow. But debug useful.
| Parameters: |
|
|---|
Log DNS message.
| Parameters: |
|
|---|
Log query information.
| Parameters: |
|
|---|
Log regional statistics.
| Parameters: | r – regional |
|---|
Debug utility, module external qstate to string.
| Parameters: | module_ext_state – the state value. |
|---|---|
| Return type: | descriptive string. |
Debug utility, module event to string.
| Parameters: | module_event – the module event value. |
|---|---|
| Return type: | descriptive string. |
Convert RR type to string.
Convert RR class to string.