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

Lines Matching defs:protocol

75             p = (a->interface->protocol == AVAHI_PROTO_INET && m->server->config.publish_a_on_ipv6) ||
76 (a->interface->protocol == AVAHI_PROTO_INET6 && m->server->config.publish_aaaa_on_ipv4) ? AVAHI_PROTO_UNSPEC : a->interface->protocol;
185 if ((i->protocol == AVAHI_PROTO_INET6 && i->monitor->server->fd_ipv6 < 0) ||
186 (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 < 0))
212 avahi_proto_to_string(i->protocol),
215 if (i->protocol == AVAHI_PROTO_INET6)
218 assert(i->protocol == AVAHI_PROTO_INET);
329 AvahiInterface* avahi_interface_new(AvahiInterfaceMonitor *m, AvahiHwInterface *hw, AvahiProtocol protocol) {
334 assert(AVAHI_PROTO_VALID(protocol));
341 i->protocol = protocol;
444 avahi_log_info("New relevant interface %s.%s for mDNS.", i->hardware->name, avahi_proto_to_string(i->protocol));
452 avahi_log_info("Interface %s.%s no longer relevant for mDNS.", i->hardware->name, avahi_proto_to_string(i->protocol));
528 AvahiInterface* avahi_interface_monitor_get_interface(AvahiInterfaceMonitor *m, AvahiIfIndex idx, AvahiProtocol protocol) {
534 assert(protocol != AVAHI_PROTO_UNSPEC);
540 if (i->protocol == protocol)
574 assert(!a || a->proto == i->protocol);
576 if (i->protocol == AVAHI_PROTO_INET && i->monitor->server->fd_ipv4 >= 0)
578 else if (i->protocol == AVAHI_PROTO_INET6 && i->monitor->server->fd_ipv6 >= 0)
631 snprintf(ln, sizeof(ln), ";;; INTERFACE %s.%s ;;;", i->hardware->name, avahi_proto_to_string(i->protocol));
701 int avahi_interface_match(AvahiInterface *i, AvahiIfIndex idx, AvahiProtocol protocol) {
707 if (protocol != AVAHI_PROTO_UNSPEC && protocol != i->protocol)
713 void avahi_interface_monitor_walk(AvahiInterfaceMonitor *m, AvahiIfIndex interface, AvahiProtocol protocol, AvahiInterfaceMonitorWalkCallback callback, void* userdata) {
718 if (protocol != AVAHI_PROTO_UNSPEC) {
721 if ((i = avahi_interface_monitor_get_interface(m, interface, protocol)))
730 if (avahi_interface_match(i, interface, protocol))
738 if (avahi_interface_match(i, interface, protocol))
764 if (a->proto != i->protocol)
837 if (i->protocol != a->proto)