mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-28 19:18:32 +08:00
moved 2 enums from 'prot' headers to where they belong (dns, dhcp)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user