ndp: answer global-addressed NS manually
[project/odhcpd.git] / src / odhcpd.h
index 8715ca700bd236b17c851ca779f00d48611849ba..01c9ad73d5c5eb04936f453809cdde8a0157e447 100644 (file)
@@ -212,6 +212,7 @@ struct interface {
        // RA runtime data
        struct odhcpd_event router_event;
        struct uloop_timeout timer_rs;
+       uint32_t ra_sent;
 
        // DHCPv6 runtime data
        struct odhcpd_event dhcpv6_event;
@@ -386,6 +387,7 @@ void dhcpv6_ia_write_statefile(void);
 int netlink_add_netevent_handler(struct netevent_handler *hdlr);
 ssize_t netlink_get_interface_addrs(const int ifindex, bool v6,
                struct odhcpd_ipaddr **addrs);
+int netlink_get_interface_proxy_neigh(int ifindex, const struct in6_addr *addr);
 int netlink_setup_route(const struct in6_addr *addr, const int prefixlen,
                const int ifindex, const struct in6_addr *gw,
                const uint32_t metric, const bool add);