|
djbdnscurve6 46
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 "sipcache.h"#include "ndelay.h"#include "log.h"#include "clientok.h"#include "droproot.h"#include "readclose.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 28 of file dnscache.c.
| int main | ( | ) |
| void t_close | ( | int | j | ) |
Definition at line 201 of file dnscache.c.


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


| void t_free | ( | int | j | ) |
| void t_new | ( | void | ) |
| void t_respond | ( | int | j | ) |
Definition at line 218 of file dnscache.c.


| void t_rw | ( | int | j | ) |
| void t_timeout | ( | int | j | ) |
| void u_drop | ( | int | j | ) |
Definition at line 86 of file dnscache.c.


| void u_new | ( | void | ) |
| void u_respond | ( | int | j | ) |
Definition at line 94 of file dnscache.c.


| uint16 dnsport = 53 |
Definition at line 30 of file dnscache.c.
| int eactive = 0 |
Definition at line 84 of file dnscache.c.
| int flagdualstack = 0 |
Definition at line 35 of file dnscache.c.
| int flagipv6anycast = 0 |
Definition at line 36 of file dnscache.c.
| int flagusetxtformat = 0 |
Definition at line 34 of file dnscache.c.
| uint32 ifidx = 0 |
Definition at line 32 of file dnscache.c.
| stralloc ifname = {0} |
Definition at line 31 of file dnscache.c.
| iopause_fd io[3+QUERY_MAXUDP+QUERY_MAXTCP] |
Definition at line 350 of file dnscache.c.
| uint64 numqueries = 0 |
Definition at line 68 of file dnscache.c.
| char* p = "u" |
Definition at line 37 of file dnscache.c.
| char seed[128] |
Definition at line 429 of file dnscache.c.
| struct tcpclient t[QUERY_MAXTCP] |
| int tactive = 0 |
Definition at line 175 of file dnscache.c.
| iopause_fd* tcp53io |
Definition at line 352 of file dnscache.c.
| int uactive = 0 |
Definition at line 83 of file dnscache.c.
| iopause_fd* udp53io |
Definition at line 351 of file dnscache.c.