• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/avahi-0.6.31/avahi-core/

Lines Matching defs:protocol

20 static void query_callback (AvahiIfIndex idx, AvahiProtocol protocol, AvahiRecord *r, void *userdata);
28 AvahiProtocol protocol,
38 assert(AVAHI_PROTO_VALID(protocol));
52 l->protocol = protocol;
66 /* Issue LLMNR Queries on all interfaces that match the id and protocol*/
67 avahi_llmnr_query_add_for_all(e->s, interface, protocol, key, query_callback, l);
87 avahi_llmnr_query_remove_for_all(l->engine->s, l->interface, l->protocol, l->key);
140 l->callback(l->engine, l->interface, l->protocol, AVAHI_BROWSER_ALL_FOR_NOW, AVAHI_LOOKUP_RESULT_LLMNR, NULL, l->userdata);
165 /* lookups can have UNSPEC iface or protocol */
167 (l->protocol < 0 || (l->protocol == proto)) )
185 (l->protocol < 0 || l->protocol == proto) )
194 /* find cache entry (idx, protocol, r)*/
195 static AvahiLLMNRCacheEntry *find_cache_entry(AvahiLLMNRLookupEngine *e, AvahiIfIndex idx, AvahiProtocol protocol, AvahiRecord *r) {
202 assert(protocol != AVAHI_PROTO_UNSPEC);
207 (c->protocol == protocol) &&
235 /* run_callbacks(c->engine, c->interface, c->protocol, c->record, AVAHI_BROWSER_REMOVE); */
256 static void update_cache(AvahiLLMNRLookupEngine *e, AvahiIfIndex idx, AvahiProtocol protocol, AvahiRecord *r) {
263 if ((c = find_cache_entry(e, idx, protocol, r))) {
281 c->protocol = protocol;
309 run_callbacks(e, idx, protocol, r, AVAHI_BROWSER_NEW);
315 AvahiProtocol protocol,
321 assert(AVAHI_PROTO_VALID(protocol) && (protocol != AVAHI_PROTO_UNSPEC));
325 update_cache(lookup->engine, idx, protocol, r);
328 on specified interface and protocol we have no records available
329 lookup->callback(lookup->engine, idx, protocol, AVAHI_BROWSER_FAILURE, AVAHI_LOOKUP_RESULT_LLMNR, NULL, lookup->userdata); */
340 AvahiProtocol protocol,
354 assert(AVAHI_PROTO_VALID(protocol));
358 ((protocol < 0) || (c->protocol == protocol)) ) {
362 c->protocol,
375 ( (protocol < 0) || (c->protocol == protocol) )) {
376 callback(e, c->interface, c->protocol, AVAHI_BROWSER_NEW, AVAHI_LOOKUP_RESULT_CACHED | AVAHI_LOOKUP_RESULT_LLMNR, c->record, userdata);
394 if (avahi_interface_match(i, c->interface, c->protocol))
409 if (avahi_interface_is_relevant(avahi_interface_monitor_get_interface(c->engine->s->monitor, c->interface, c->protocol))) {
445 if (l->queries_issued && avahi_interface_match(i, l->interface, l->protocol))