update code

This commit is contained in:
Nick Peng
2018-05-19 22:48:14 +08:00
parent 3ee4bc1dbf
commit 9584d1d082
11 changed files with 1193 additions and 722 deletions

2
dns.h
View File

@@ -10,7 +10,7 @@
#define DNS_RR_AAAA_LEN 16
#define DNS_MAX_CNAME_LEN 256
#define DNS_IN_PACKSIZE 512
#define DNS_PACKSIZE (512 * 2)
#define DNS_PACKSIZE (512 * 4)
typedef enum dns_rr_type {
DNS_RRS_QD = 0,