![]() |
Nilorea Library
C utilities for networking, threading, graphics
|
#include "nilorea/n_common.h"#include "nilorea/n_dns.h"#include "nilorea/n_log.h"#include <stdio.h>#include <string.h>
Include dependency graph for ex_dns.c:Go to the source code of this file.
Functions | |
| static size_t | build_query (const char *name, uint16_t qtype, uint16_t id, unsigned char *out) |
| int | main (int argc, char **argv) |
| void | process_args (int argc, char **argv) |
| static void | test_build_response (void) |
| static void | test_errors (void) |
| static void | test_parse (void) |
Variables | |
| static int | failures = 0 |
|
static |
Definition at line 69 of file ex_dns.c.
Referenced by test_build_response(), test_errors(), and test_parse().
Here is the caller graph for this function:| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 226 of file ex_dns.c.
References failures, LOG_ERR, LOG_NOTICE, n_log, process_args(), set_log_level(), test_build_response(), test_errors(), and test_parse().
Here is the call graph for this function:| void process_args | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 37 of file ex_dns.c.
References LOG_DEBUG, LOG_ERR, LOG_INFO, LOG_NOTICE, LOG_NULL, and set_log_level().
Here is the call graph for this function:
|
static |
Definition at line 136 of file ex_dns.c.
References build_query(), failures, LOG_ERR, n_dns_build_a_response(), n_dns_parse_query(), N_DNS_QNAME_MAX, N_DNS_TYPE_A, and n_log.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 191 of file ex_dns.c.
References build_query(), failures, LOG_ERR, n_dns_build_a_response(), n_dns_parse_query(), N_DNS_QNAME_MAX, N_DNS_TYPE_A, and n_log.
Here is the call graph for this function:
|
static |
Definition at line 102 of file ex_dns.c.
References build_query(), failures, LOG_ERR, n_dns_parse_query(), N_DNS_QNAME_MAX, N_DNS_TYPE_A, and n_log.
Referenced by main().
Here is the call graph for this function:
Here is the caller graph for this function: