Lines Matching refs:osdep
263 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()
331 if (m->osdep.pfroute) { in avahi_interface_monitor_free_osdep()
332 if (m->osdep.pfroute->watch) in avahi_interface_monitor_free_osdep()
333 m->server->poll_api->watch_free(m->osdep.pfroute->watch); in avahi_interface_monitor_free_osdep()
335 if (m->osdep.pfroute->fd >= 0) in avahi_interface_monitor_free_osdep()
336 close(m->osdep.pfroute->fd); in avahi_interface_monitor_free_osdep()
338 avahi_free(m->osdep.pfroute); in avahi_interface_monitor_free_osdep()
339 m->osdep.pfroute = NULL; in avahi_interface_monitor_free_osdep()