diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2017-10-17 16:23:35 +0200 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2017-11-09 15:25:06 +0100 |
commit | cf29925b29a4e4e38ab88573f12ec075eacb3d22 (patch) | |
tree | 50824b4e52d0b15592b58383e61a53334fbed545 /src/dhcpv6.h | |
parent | 24cdc1b59f00a065dd1cf0a04145ca6aaf6f23f1 (diff) |
treewide: rework handling of netlink events
Rework the handling of netlink events by letting the different
modules ndp, ra, dhcpv6 and dhcpv4 install netevent handlers.
The installed netevent handlers are called by the netlink logic
passing an event indication together with event data.
Each netevent handler implements its own event logic; this
makes the code more modular and less complex by moving all
netlink code to netlink.c
While at it rename ia_addr and ia_addr_len into addr6 and
addr6_len respectively
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/dhcpv6.h')
-rw-r--r-- | src/dhcpv6.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/dhcpv6.h b/src/dhcpv6.h index fe05ae5..08dac6c 100644 --- a/src/dhcpv6.h +++ b/src/dhcpv6.h @@ -196,5 +196,3 @@ int dhcpv6_setup_ia_interface(struct interface *iface, bool enable); void dhcpv6_enum_ia_addrs(struct interface *iface, struct dhcpv6_assignment *c, time_t now, dhcpv6_binding_cb_handler_t func, void *arg); void dhcpv6_write_statefile(void); -void dhcpv6_ia_preupdate(struct interface *iface); -void dhcpv6_ia_postupdate(struct interface *iface); |