diff options
author | Steven Barth <steven@midlink.org> | 2015-07-27 23:21:57 +0200 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2015-07-27 23:21:57 +0200 |
commit | 0ff39e3a124125914d2142d7127eab3a485ab34a (patch) | |
tree | 07eace58700ba4f848026ab3147e18ee8e1cb933 /src/dhcpv6.h | |
parent | 0ce78e8831ef9b34f1d0a6b240e106747eae8370 (diff) |
ra/dhcpv6: unify address change handling
Diffstat (limited to 'src/dhcpv6.h')
-rw-r--r-- | src/dhcpv6.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dhcpv6.h b/src/dhcpv6.h index 09aa6f1..d9f42c8 100644 --- a/src/dhcpv6.h +++ b/src/dhcpv6.h @@ -14,6 +14,7 @@ #pragma once #include <libubox/ustream.h> +#include "odhcpd.h" #define ALL_DHCPV6_RELAYS {{{0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,\ 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x02}}} @@ -181,3 +182,5 @@ ssize_t dhcpv6_handle_ia(uint8_t *buf, size_t buflen, struct interface *iface, int dhcpv6_ia_init(void); int setup_dhcpv6_ia_interface(struct interface *iface, bool enable); void dhcpv6_write_statefile(void); +void dhcpv6_ia_preupdate(struct interface *iface); +void dhcpv6_ia_postupdate(struct interface *iface, time_t now); |