#include "alloc.h"
#include "ip.h"
#include "socket_if.h"
#include "dns.h"
#include "query.h"
#include "crypto_box_curve25519xsalsa20poly1305.h"
#include "crypto_scalarmult_curve25519.h"
Go to the source code of this file.
|
void | cns_query (struct dns_transmit *) |
|
void | dns_basequery (struct dns_transmit *, char *) |
|
int | cns_addns (struct query *, const char *, int, const char *) |
|
void | cns_sortns (char *, char *, unsigned int) |
|
void | cns_nonce (char[12]) |
|
int | cns_pubkey (const char *, char[32]) |
|
int | cns_uncurve (const struct dns_transmit *, char *, unsigned int *) |
|
int | cns_transmit_start (struct dns_transmit *, const char[512], int, const char *, const char[2], const char[16], const char[1024], const char[32], const char *) |
|
◆ crypto_box_afternm
#define crypto_box_afternm crypto_box_curve25519xsalsa20poly1305_afternm |
◆ crypto_box_beforenm
#define crypto_box_beforenm crypto_box_curve25519xsalsa20poly1305_beforenm |
◆ crypto_box_open_afternm
#define crypto_box_open_afternm crypto_box_curve25519xsalsa20poly1305_open_afternm |
◆ crypto_scalarmult_base
#define crypto_scalarmult_base crypto_scalarmult_curve25519_base |
◆ DNSPORT
◆ cns_addns()
int cns_addns |
( |
struct query * |
z, |
|
|
const char * |
addr, |
|
|
int |
flagnskey, |
|
|
const char * |
key |
|
) |
| |
◆ cns_nonce()
void cns_nonce |
( |
char |
nonce[12] | ) |
|
◆ cns_pubkey()
int cns_pubkey |
( |
const char * |
dn, |
|
|
char |
key[32] |
|
) |
| |
◆ cns_query()
◆ cns_sortns()
void cns_sortns |
( |
char * |
s, |
|
|
char * |
t, |
|
|
unsigned int |
n |
|
) |
| |
◆ cns_transmit_start()
int cns_transmit_start |
( |
struct dns_transmit * |
, |
|
|
const char |
[512], |
|
|
int |
, |
|
|
const char * |
, |
|
|
const char |
[2], |
|
|
const char |
[16], |
|
|
const char |
[1024], |
|
|
const char |
[32], |
|
|
const char * |
|
|
) |
| |
◆ cns_uncurve()
int cns_uncurve |
( |
const struct dns_transmit * |
d, |
|
|
char * |
buf, |
|
|
unsigned int * |
lenp |
|
) |
| |
◆ dns_basequery()
void dns_basequery |
( |
struct dns_transmit * |
d, |
|
|
char * |
query |
|
) |
| |
◆ fallback
◆ flagedserver
unsigned int flagedserver |
|
extern |