• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/avahi-0.6.25/avahi-core/

Lines Matching defs:protocol

72             p = (a->interface->protocol == AVAHI_PROTO_INET && m->server->config.publish_a_on_ipv6) ||
73 (a->interface->protocol == AVAHI_PROTO_INET6 && m->server->config.publish_aaaa_on_ipv4) ? AVAHI_PROTO_UNSPEC : a->interface->protocol;
179 if ((i->protocol == AVAHI_PROTO_INET6 && i->monitor->server->fd_ipv6 < 0) ||
180 (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 < 0))
206 avahi_proto_to_string(i->protocol),
209 if (i->protocol == AVAHI_PROTO_INET6)
212 assert(i->protocol == AVAHI_PROTO_INET);
323 AvahiInterface* avahi_interface_new(AvahiInterfaceMonitor *m, AvahiHwInterface *hw, AvahiProtocol protocol) {
328 assert(AVAHI_PROTO_VALID(protocol));
335 i->protocol = protocol;
438 avahi_log_info("New relevant interface %s.%s for mDNS.", i->hardware->name, avahi_proto_to_string(i->protocol));
446 avahi_log_info("Interface %s.%s no longer relevant for mDNS.", i->hardware->name, avahi_proto_to_string(i->protocol));
522 AvahiInterface* avahi_interface_monitor_get_interface(AvahiInterfaceMonitor *m, AvahiIfIndex idx, AvahiProtocol protocol) {
528 assert(protocol != AVAHI_PROTO_UNSPEC);
534 if (i->protocol == protocol)
568 assert(!a || a->proto == i->protocol);
570 if (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 >= 0)
572 else if (i->protocol == AVAHI_PROTO_INET6 && i->monitor->server->fd_ipv6 >= 0)
625 snprintf(ln, sizeof(ln), ";;; INTERFACE %s.%s ;;;", i->hardware->name, avahi_proto_to_string(i->protocol));
695 int avahi_interface_match(AvahiInterface *i, AvahiIfIndex idx, AvahiProtocol protocol) {
701 if (protocol != AVAHI_PROTO_UNSPEC && protocol != i->protocol)
707 void avahi_interface_monitor_walk(AvahiInterfaceMonitor *m, AvahiIfIndex interface, AvahiProtocol protocol, AvahiInterfaceMonitorWalkCallback callback, void* userdata) {
712 if (protocol != AVAHI_PROTO_UNSPEC) {
715 if ((i = avahi_interface_monitor_get_interface(m, interface, protocol)))
724 if (avahi_interface_match(i, interface, protocol))
732 if (avahi_interface_match(i, interface, protocol))
758 if (a->proto != i->protocol)
831 if (i->protocol != a->proto)