update code

This commit is contained in:
Nick Peng
2018-05-23 00:17:41 +08:00
parent 72dd4e6cd3
commit c294193d38
6 changed files with 117 additions and 18 deletions

2
dns.h
View File

@@ -9,7 +9,7 @@
#define DNS_RR_A_LEN 4
#define DNS_RR_AAAA_LEN 16
#define DNS_MAX_CNAME_LEN 256
#define DNS_IN_PACKSIZE 512
#define DNS_IN_PACKSIZE (512 * 2)
#define DNS_PACKSIZE (512 * 4)
typedef enum dns_rr_type {