Lines Matching defs:interface
80 AvahiIfIndex interface;
127 static ServiceInfo *find_service(AvahiIfIndex interface, AvahiProtocol protocol, const char *name, const char *type, const char *domain) {
131 if (i->interface == interface &&
154 static void print_service_line(Config *config, char c, AvahiIfIndex interface, AvahiProtocol protocol, const char *name, const char *type, const char *domain, int nl) {
168 interface != AVAHI_IF_UNSPEC ? if_indextoname(interface, ifname) : _("n/a"),
178 interface != AVAHI_IF_UNSPEC ? if_indextoname(interface, ifname) : _("n/a"),
188 AvahiIfIndex interface,
214 print_service_line(i->config, '=', interface, protocol, name, type, domain, 0);
253 static ServiceInfo *add_service(Config *c, AvahiIfIndex interface, AvahiProtocol protocol, const char *name, const char *type, const char *domain) {
259 if (!(i->resolver = avahi_service_resolver_new(client, interface, protocol, name, type, domain, AVAHI_PROTO_UNSPEC, 0, service_resolver_callback, i))) {
269 i->interface = interface;
298 AvahiIfIndex interface,
317 if (find_service(interface, protocol, name, type, domain))
320 add_service(c, interface, protocol, name, type, domain);
322 print_service_line(c, '+', interface, protocol, name, type, domain, 1);
330 if (!(info = find_service(interface, protocol, name, type, domain)))
335 print_service_line(c, '-', interface, protocol, name, type, domain, 1);
390 AVAHI_GCC_UNUSED AvahiIfIndex interface,
454 AVAHI_GCC_UNUSED AvahiIfIndex interface,
475 interface != AVAHI_IF_UNSPEC ? if_indextoname(interface, ifname) : "",
481 interface != AVAHI_IF_UNSPEC ? if_indextoname(interface, ifname) : "n/a",
548 * Event (+/-), Network Interface, Protocol (IPv4/v6), Domain */
552 * Event (+/-), Network Interface, Protocol (IPv4/v6), Domain */