dhcpv4: fix DHCP packet size
[project/odhcpd.git] / src / odhcpd.h
index 38ee020b7e13f6466cfea408d4a46cf3652ea2f1..97d2113571326b06c287d49ee6dee38843ad39bf 100644 (file)
@@ -209,6 +209,7 @@ struct interface {
        size_t addr6_len;
 
        // RA runtime data
+       struct odhcpd_event router_event;
        struct uloop_timeout timer_rs;
 
        // DHCPv6 runtime data
@@ -217,6 +218,7 @@ struct interface {
 
        // NDP runtime data
        struct odhcpd_event ndp_event;
+       int ndp_ping_fd;
 
        // IPv4 runtime data
        struct odhcpd_ipaddr *addr4;
@@ -332,7 +334,6 @@ int odhcpd_get_interface_dns_addr(const struct interface *iface,
 int odhcpd_get_interface_config(const char *ifname, const char *what);
 int odhcpd_get_mac(const struct interface *iface, uint8_t mac[6]);
 struct interface* odhcpd_get_interface_by_index(int ifindex);
-struct interface* odhcpd_get_master_interface(void);
 int odhcpd_urandom(void *data, size_t len);
 
 void odhcpd_run(void);