6 struct _flxInterfaceMonitor;
7 typedef struct _flxInterfaceMonitor flxInterfaceMonitor;
9 struct _flxInterfaceAddress;
10 typedef struct _flxInterfaceAddress flxInterfaceAddress;
13 typedef struct _flxInterface flxInterface;
19 struct _flxInterfaceMonitor {
22 GHashTable *hash_table;
24 flxInterface *interfaces;
26 guint query_addr_seq, query_link_seq;
28 enum { LIST_IFACE, LIST_ADDR, LIST_DONE } list;
31 struct _flxInterface {
36 guint n_ipv6_addrs, n_ipv4_addrs;
38 flxInterfaceAddress *addresses;
39 flxInterface *next, *prev;
42 struct _flxInterfaceAddress {
47 flxInterface *interface;
48 flxInterfaceAddress *next, *prev;
53 flxInterfaceMonitor *flx_interface_monitor_new(flxServer *server);
54 void flx_interface_monitor_free(flxInterfaceMonitor *m);
56 const flxInterface* flx_interface_monitor_get_interface(flxInterfaceMonitor *m, gint index);
57 const flxInterface* flx_interface_monitor_get_first(flxInterfaceMonitor *m);
59 int flx_interface_is_relevant(flxInterface *i);
60 int flx_address_is_relevant(flxInterfaceAddress *a);