diff options
author | Steven Barth <steven@midlink.org> | 2013-01-30 22:15:07 +0100 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2013-01-30 22:15:07 +0100 |
commit | 6bc31b22abc26b9ee31b789d56a8e2a07aa4c569 (patch) | |
tree | 04425ba1c2f7f73033d3d3c1648a21894e2b605b /src/odhcp6c.h | |
parent | 61effec4509b2c0d6e3c0ee8b7ae0d318b08868e (diff) | |
download | odhcp6c-6bc31b22abc26b9ee31b789d56a8e2a07aa4c569.tar.gz |
Fix and improve RA-handling code
Diffstat (limited to 'src/odhcp6c.h')
-rw-r--r-- | src/odhcp6c.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/odhcp6c.h b/src/odhcp6c.h index 440381a..eae9b7a 100644 --- a/src/odhcp6c.h +++ b/src/odhcp6c.h @@ -164,6 +164,7 @@ enum odhcp6c_state { STATE_SIP_FQDN, STATE_RA_ROUTE, STATE_RA_PREFIX, + STATE_RA_DNS, _STATE_MAX }; @@ -224,7 +225,7 @@ void* odhcp6c_get_state(enum odhcp6c_state state, size_t *len); // Entry manipulation struct odhcp6c_entry* odhcp6c_find_entry(enum odhcp6c_state state, const struct odhcp6c_entry *new); -void odhcp6c_update_entry(enum odhcp6c_state state, const struct odhcp6c_entry *new); -void odhcp6c_update_entry_safe(enum odhcp6c_state state, const struct odhcp6c_entry *new, uint32_t safe); +void odhcp6c_update_entry(enum odhcp6c_state state, struct odhcp6c_entry *new); +void odhcp6c_update_entry_safe(enum odhcp6c_state state, struct odhcp6c_entry *new, uint32_t safe); void odhcp6c_expire(void); |