diff options
Diffstat (limited to 'src/dhcpv6.h')
-rw-r--r-- | src/dhcpv6.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/dhcpv6.h b/src/dhcpv6.h index 1ed7d6d..7abc8af 100644 --- a/src/dhcpv6.h +++ b/src/dhcpv6.h @@ -146,21 +146,8 @@ struct dhcpv6_cer_id { struct in6_addr addr; }; -typedef void (*dhcpv6_binding_cb_handler_t)(struct in6_addr *addr, int prefix, - uint32_t pref, uint32_t valid, - void *arg); - #define dhcpv6_for_each_option(start, end, otype, olen, odata)\ for (uint8_t *_o = (uint8_t*)(start); _o + 4 <= (end) &&\ ((otype) = _o[0] << 8 | _o[1]) && ((odata) = (void*)&_o[4]) &&\ ((olen) = _o[2] << 8 | _o[3]) + (odata) <= (end); \ _o += 4 + (_o[2] << 8 | _o[3])) - -int dhcpv6_init_ia(struct interface *iface, int socket); -ssize_t dhcpv6_handle_ia(uint8_t *buf, size_t buflen, struct interface *iface, - const struct sockaddr_in6 *addr, const void *data, const uint8_t *end); -int dhcpv6_ia_init(void); -int dhcpv6_setup_ia_interface(struct interface *iface, bool enable); -void dhcpv6_enum_ia_addrs(struct interface *iface, struct dhcp_assignment *c, time_t now, - dhcpv6_binding_cb_handler_t func, void *arg); -void dhcpv6_write_statefile(void); |