#include <avahi-common/llist.h>
#include <avahi-common/address.h>
-#include "server.h"
+#include "internal.h"
#include "cache.h"
#include "response-sched.h"
#include "query-sched.h"
#elif defined(HAVE_PF_ROUTE)
#include "iface-pfroute.h"
#else
-#error "No network configuration notification system available"
+typedef struct AvahiInterfaceMonitorOSDep AvahiInterfaceMonitorOSDep;
+struct AvahiInterfaceMonitorOSDep {
+
+ unsigned query_addr_seq, query_link_seq;
+
+ enum {
+ LIST_IFACE,
+ LIST_ADDR,
+ LIST_DONE
+ } list;
+};
#endif
-#define AVAHI_MAX_MAC_ADDRESS 32
+#define AVAHI_MAC_ADDRESS_MAX 32
struct AvahiInterfaceMonitor {
AvahiServer *server;
unsigned mtu;
- uint8_t mac_address[AVAHI_MAX_MAC_ADDRESS];
+ uint8_t mac_address[AVAHI_MAC_ADDRESS_MAX];
size_t mac_address_size;
AvahiSEntryGroup *entry_group;