summaryrefslogtreecommitdiff
path: root/src/odhcp6c.h
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-04-13 14:48:52 +0200
committerSteven Barth <steven@midlink.org>2015-04-13 14:48:52 +0200
commit19c64c524614ea7fdbcedcc50d6980f096ccadb9 (patch)
treeda021e48a13f9ff1284dfc52194ea92b000719ae /src/odhcp6c.h
parente1540ec55e014e538a92a588675e4156a1bddabe (diff)
downloadodhcp6c-19c64c524614ea7fdbcedcc50d6980f096ccadb9.tar.gz
Improve handling of DNS search domains
Signed-off-by: Steven Barth <steven@midlink.org>
Diffstat (limited to 'src/odhcp6c.h')
-rw-r--r--src/odhcp6c.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/odhcp6c.h b/src/odhcp6c.h
index 1042136..fff9360 100644
--- a/src/odhcp6c.h
+++ b/src/odhcp6c.h
@@ -255,6 +255,7 @@ enum odhcp6c_state {
STATE_RA_ROUTE,
STATE_RA_PREFIX,
STATE_RA_DNS,
+ STATE_RA_SEARCH,
STATE_AFTR_NAME,
STATE_VENDORCLASS,
STATE_USERCLASS,
@@ -289,7 +290,8 @@ enum odhcp6c_ia_mode {
struct odhcp6c_entry {
struct in6_addr router;
- uint16_t length;
+ uint8_t auxlen;
+ uint8_t length;
int16_t priority;
struct in6_addr target;
uint32_t valid;
@@ -297,6 +299,7 @@ struct odhcp6c_entry {
uint32_t t1;
uint32_t t2;
uint32_t iaid;
+ uint8_t auxtarget[];
};
struct odhcp6c_request_prefix {