|
djbdnscurve6
38
djbdnscurve6
|
#include <unistd.h>#include "case.h"#include "env.h"#include "exit.h"#include "scan.h"#include "logmsg.h"#include "str.h"#include "ip.h"#include "uint_t.h"#include "socket_if.h"#include "dns.h"#include "taia.h"#include "byte.h"#include "roots.h"#include "fmt.h"#include "iopause.h"#include "query.h"#include "alloc.h"#include "response.h"#include "cache.h"#include "ndelay.h"#include "log.h"#include "clientok.h"#include "droproot.h"#include "readclose.h"#include "edns0.h"#include "curvedns.h"
Go to the source code of this file.
Data Structures | |
| struct | udpclient |
| struct | tcpclient |
Macros | |
| #define | WHO "dnscache" |
Functions | |
| void | u_drop (int j) |
| void | u_respond (int j) |
| void | u_new (void) |
| void | t_free (int j) |
| void | t_timeout (int j) |
| void | t_close (int j) |
| void | t_drop (int j) |
| void | t_respond (int j) |
| void | t_rw (int j) |
| void | t_new (void) |
| int | main () |
Variables | |
| uint16 | dnsport = 53 |
| stralloc | ifname = {0} |
| uint32 | ifidx = 0 |
| int | flagusetxtformat = 0 |
| int | flagdualstack = 0 |
| int | flagipv6anycast = 0 |
| char * | p = "u" |
| uint64 | numqueries = 0 |
| int | uactive = 0 |
| int | eactive = 0 |
| struct tcpclient | t [QUERY_MAXTCP] |
| int | tactive = 0 |
| iopause_fd | io [3+QUERY_MAXUDP+QUERY_MAXTCP] |
| iopause_fd * | udp53io |
| iopause_fd * | tcp53io |
| char | seed [128] |
| #define WHO "dnscache" |
Definition at line 33 of file dnscache.c.
| int main | ( | ) |
Definition at line 438 of file dnscache.c.
| void t_close | ( | int | j | ) |
Definition at line 205 of file dnscache.c.


| void t_drop | ( | int | j | ) |
Definition at line 214 of file dnscache.c.


| void t_free | ( | int | j | ) |
| void t_new | ( | void | ) |
| void t_respond | ( | int | j | ) |
| void t_rw | ( | int | j | ) |
Definition at line 238 of file dnscache.c.
| void t_timeout | ( | int | j | ) |
Definition at line 196 of file dnscache.c.
| void u_drop | ( | int | j | ) |
| void u_new | ( | void | ) |
Definition at line 109 of file dnscache.c.
| void u_respond | ( | int | j | ) |
| uint16 dnsport = 53 |
Definition at line 29 of file dnscache.c.
| int eactive = 0 |
Definition at line 85 of file dnscache.c.
| int flagdualstack = 0 |
Definition at line 36 of file dnscache.c.
| int flagipv6anycast = 0 |
Definition at line 37 of file dnscache.c.
| int flagusetxtformat = 0 |
Definition at line 35 of file dnscache.c.
| uint32 ifidx = 0 |
Definition at line 31 of file dnscache.c.
| stralloc ifname = {0} |
Definition at line 30 of file dnscache.c.
| iopause_fd io[3+QUERY_MAXUDP+QUERY_MAXTCP] |
Definition at line 357 of file dnscache.c.
| uint64 numqueries = 0 |
Definition at line 70 of file dnscache.c.
| char* p = "u" |
Definition at line 38 of file dnscache.c.
| char seed[128] |
Definition at line 436 of file dnscache.c.
| struct tcpclient t[QUERY_MAXTCP] |
| int tactive = 0 |
Definition at line 179 of file dnscache.c.
| iopause_fd* tcp53io |
Definition at line 359 of file dnscache.c.
| int uactive = 0 |
Definition at line 84 of file dnscache.c.
| iopause_fd* udp53io |
Definition at line 358 of file dnscache.c.