X-Git-Url: https://git.decadent.org.uk/gitweb/?p=odhcp6c.git;a=blobdiff_plain;f=src%2Fodhcp6c.h;h=61dee63ffcc9a57b5c918cc5d7e106ca289b4f97;hp=b6f0ff2331d33588b39d9ee0273d6e4a066b8c43;hb=e1b11c518aded9136b4f44759c6e2a6be4161ee9;hpb=d2c90000292f62962276579fa6b2eac1ff4b76e6 diff --git a/src/odhcp6c.h b/src/odhcp6c.h index b6f0ff2..61dee63 100644 --- a/src/odhcp6c.h +++ b/src/odhcp6c.h @@ -223,7 +223,7 @@ struct odhcp6c_entry { }; -int init_dhcpv6(const char *ifname, int request_pd); +int init_dhcpv6(const char *ifname, int request_pd, int sol_timeout); void dhcpv6_set_ia_mode(enum odhcp6c_ia_mode na, enum odhcp6c_ia_mode pd); int dhcpv6_request(enum dhcpv6_msg type); int dhcpv6_poll_reconfigure(void); @@ -250,8 +250,8 @@ 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, struct odhcp6c_entry *new); -void odhcp6c_update_entry_safe(enum odhcp6c_state state, struct odhcp6c_entry *new, uint32_t safe); +bool odhcp6c_update_entry(enum odhcp6c_state state, struct odhcp6c_entry *new); +bool odhcp6c_update_entry_safe(enum odhcp6c_state state, struct odhcp6c_entry *new, uint32_t safe); void odhcp6c_expire(void); uint32_t odhcp6c_elapsed(void);