moved 2 enums from 'prot' headers to where they belong (dns, dhcp)

This commit is contained in:
goldsimon
2016-08-19 09:40:27 +02:00
parent 967516aa40
commit 9725a496b5
5 changed files with 19 additions and 21 deletions

View File

@@ -183,6 +183,14 @@ struct dns_answer {
/* maximum allowed size for the struct due to non-packed */
#define SIZEOF_DNS_ANSWER_ASSERT 12
/* DNS table entry states */
typedef enum {
DNS_STATE_UNUSED = 0,
DNS_STATE_NEW = 1,
DNS_STATE_ASKING = 2,
DNS_STATE_DONE = 3
} dns_state_enum_t;
/** DNS table entry */
struct dns_table_entry {
u32_t ttl;