dhcpv4: offer a valid configuration with DHCP NAK
[project/odhcpd.git] / src / odhcpd.h
index 64ffca2..b2b38dc 100644 (file)
@@ -61,7 +61,7 @@ extern struct list_head leases;
 struct odhcpd_event {
        struct uloop_fd uloop;
        void (*handle_dgram)(void *addr, void *data, size_t len,
-                       struct interface *iface);
+                       struct interface *iface, void *dest_addr);
 };
 
 
@@ -165,6 +165,8 @@ struct interface {
 
        char *upstream;
        size_t upstream_len;
+
+       char *filter_class;
 };
 
 extern struct list_head interfaces;