dhcpv4: detect noarp interfaces
[project/odhcpd.git] / src / odhcpd.h
index 5ba68547db9efb070ccec3cf05d138c43806611b..d829033840552c1db5537733f1c520217d767ea3 100644 (file)
@@ -238,6 +238,7 @@ struct dhcp_assignment {
 struct interface {
        struct avl_node avl;
 
+       int ifflags;
        int ifindex;
        char *ifname;
        const char *name;
@@ -401,6 +402,7 @@ int odhcpd_get_interface_dns_addr(const struct interface *iface,
                struct in6_addr *addr);
 int odhcpd_get_interface_config(const char *ifname, const char *what);
 int odhcpd_get_mac(const struct interface *iface, uint8_t mac[6]);
+int odhcpd_get_flags(const struct interface *iface);
 struct interface* odhcpd_get_interface_by_index(int ifindex);
 int odhcpd_urandom(void *data, size_t len);