Home
last modified time | relevance | path

Searched refs:osdep (Results 1 – 3 of 3) sorted by relevance

/external/avahi/avahi-core/
Diface-linux.c73 assert(m->osdep.netlink == nl); in netlink_callback()
288 if (m->osdep.list == LIST_IFACE) { in netlink_callback()
293 if (netlink_list_items(m->osdep.netlink, RTM_GETADDR, &m->osdep.query_addr_seq) < 0) { in netlink_callback()
295 m->osdep.list = LIST_DONE; in netlink_callback()
299 m->osdep.list = LIST_ADDR; in netlink_callback()
303 m->osdep.list = LIST_DONE; in netlink_callback()
305 if (m->osdep.list == LIST_DONE) { in netlink_callback()
325 … (n->nlmsg_seq == m->osdep.query_link_seq || n->nlmsg_seq == m->osdep.query_addr_seq)) { in netlink_callback()
341 m->osdep.netlink = NULL; in avahi_interface_monitor_init_osdep()
342 m->osdep.query_addr_seq = m->osdep.query_link_seq = 0; in avahi_interface_monitor_init_osdep()
[all …]
Diface-pfroute.c263 AvahiPfRoute *nl = m->osdep.pfroute; in socket_event()
289 m->osdep.pfroute = NULL; in avahi_interface_monitor_init_osdep()
296 if (!(m->osdep.pfroute = avahi_new(AvahiPfRoute , 1))) { in avahi_interface_monitor_init_osdep()
300 m->osdep.pfroute->fd = fd; in avahi_interface_monitor_init_osdep()
302 if (!(m->osdep.pfroute->watch = m->server->poll_api->watch_new(m->server->poll_api, in avahi_interface_monitor_init_osdep()
303 m->osdep.pfroute->fd, in avahi_interface_monitor_init_osdep()
315 if (m->osdep.pfroute) { in avahi_interface_monitor_init_osdep()
316 if (m->osdep.pfroute->watch) in avahi_interface_monitor_init_osdep()
317 m->server->poll_api->watch_free(m->osdep.pfroute->watch); in avahi_interface_monitor_init_osdep()
322 m->osdep.pfroute = NULL; in avahi_interface_monitor_init_osdep()
[all …]
Diface.h69 AvahiInterfaceMonitorOSDep osdep; member