X-Git-Url: https://git.decadent.org.uk/gitweb/?p=odhcp6c.git;a=blobdiff_plain;f=src%2Fodhcp6c.h;h=1fda72a2ae32f6b5e005a7ad22e782ff3895683f;hp=f2924b061d9d7719aeced09ab7b8aecf3a0c4d00;hb=46ba6f6aeb8055e872c57dc2b90a383fb280f440;hpb=6373af63310f32e1408a81f4e4e069a5f0d3e59e diff --git a/src/odhcp6c.h b/src/odhcp6c.h index f2924b0..1fda72a 100644 --- a/src/odhcp6c.h +++ b/src/odhcp6c.h @@ -188,9 +188,6 @@ struct dhcpv6_auth_reconfigure { struct dhcpv6_cer_id { uint16_t type; uint16_t len; - uint16_t reserved; - uint16_t auth_type; - uint8_t auth[16]; struct in6_addr addr; } _packed; @@ -342,8 +339,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); -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); +bool odhcp6c_update_entry(enum odhcp6c_state state, struct odhcp6c_entry *new, uint32_t safe, bool filterexcess); void odhcp6c_expire(void); uint32_t odhcp6c_elapsed(void);