diff options
author | Steven Barth <steven@midlink.org> | 2015-04-13 14:48:52 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-04-13 14:48:52 +0200 |
commit | 19c64c524614ea7fdbcedcc50d6980f096ccadb9 (patch) | |
tree | da021e48a13f9ff1284dfc52194ea92b000719ae /src/odhcp6c.h | |
parent | e1540ec55e014e538a92a588675e4156a1bddabe (diff) | |
download | odhcp6c-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.h | 5 |
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 { |