]> git.meshlink.io Git - catta/blobdiff - avahi-core/iface.h
* Improve error message when /etc/avahi/services is not available
[catta] / avahi-core / iface.h
index d18bbe6888fcb7bfcb28a6f7d2d60ed633bf0a36..1372e6fd137ffcf7d13e3b42bd217813325590ae 100644 (file)
@@ -40,6 +40,8 @@ typedef struct AvahiHwInterface AvahiHwInterface;
 #include "dns.h"
 #include "announce.h"
 
+#define AVAHI_MAX_MAC_ADDRESS 32
+
 struct AvahiInterfaceMonitor {
     AvahiServer *server;
     AvahiNetlink *netlink;
@@ -66,6 +68,11 @@ struct AvahiHwInterface {
     guint flags;
     guint mtu;
 
+    guint8 mac_address[AVAHI_MAX_MAC_ADDRESS];
+    guint mac_address_size;
+
+    AvahiEntryGroup *entry_group;
+
     AVAHI_LLIST_HEAD(AvahiInterface, interfaces);
 };
 
@@ -127,4 +134,6 @@ void avahi_interface_monitor_walk(AvahiInterfaceMonitor *m, gint index, guchar p
 
 void avahi_update_host_rrs(AvahiInterfaceMonitor *m, gboolean remove);
 
+gboolean avahi_address_is_local(AvahiInterfaceMonitor *m, const AvahiAddress *a);
+
 #endif