Home
last modified time | relevance | path

Searched refs:AvahiKey (Results 1 – 25 of 32) sorted by relevance

12

/external/avahi/avahi-core/
Drr.h55 typedef struct AvahiKey { struct
60 } AvahiKey; argument
67 AvahiKey *key; /**< Reference to the query key of this record */
111 AvahiKey *avahi_key_new(const char *name, uint16_t clazz, uint16_t type);
114 AvahiKey *avahi_key_ref(AvahiKey *k);
117 void avahi_key_unref(AvahiKey *k);
122 int avahi_key_equal(const AvahiKey *a, const AvahiKey *b);
125 unsigned avahi_key_hash(const AvahiKey *k);
128 AvahiRecord *avahi_record_new(AvahiKey *k, uint32_t ttl);
149 char *avahi_key_to_string(const AvahiKey *k);
[all …]
Drr-util.h28 AvahiKey *avahi_key_new_cname(AvahiKey *key);
35 int avahi_key_pattern_match(const AvahiKey *pattern, const AvahiKey *k);
39 int avahi_key_is_pattern(const AvahiKey *k);
43 size_t avahi_key_get_estimate_size(AvahiKey *k);
Dquerier.h28 void avahi_querier_add(AvahiInterface *i, AvahiKey *key, struct timeval *ret_ctime);
31 void avahi_querier_remove(AvahiInterface *i, AvahiKey *key);
34 void avahi_querier_add_for_all(AvahiServer *s, AvahiIfIndex idx, AvahiProtocol protocol, AvahiKey *…
37 …hi_querier_remove_for_all(AvahiServer *s, AvahiIfIndex idx, AvahiProtocol protocol, AvahiKey *key);
46 int avahi_querier_shall_refresh_cache(AvahiInterface *i, AvahiKey *key);
Dquerier.c37 AvahiKey *key;
98 void avahi_querier_add(AvahiInterface *i, AvahiKey *key, struct timeval *ret_ctime) { in avahi_querier_add()
146 void avahi_querier_remove(AvahiInterface *i, AvahiKey *key) { in avahi_querier_remove()
179 avahi_querier_remove(i, (AvahiKey*) userdata); in remove_querier_callback()
182 …i_querier_remove_for_all(AvahiServer *s, AvahiIfIndex idx, AvahiProtocol protocol, AvahiKey *key) { in avahi_querier_remove_for_all()
190 AvahiKey *key;
210 void avahi_querier_add_for_all(AvahiServer *s, AvahiIfIndex idx, AvahiProtocol protocol, AvahiKey *… in avahi_querier_add_for_all()
225 int avahi_querier_shall_refresh_cache(AvahiInterface *i, AvahiKey *key) { in avahi_querier_shall_refresh_cache()
Drr.c43 AvahiKey *avahi_key_new(const char *name, uint16_t class, uint16_t type) { in avahi_key_new()
44 AvahiKey *k; in avahi_key_new()
47 if (!(k = avahi_new(AvahiKey, 1))) { in avahi_key_new()
65 AvahiKey *avahi_key_new_cname(AvahiKey *key) { in avahi_key_new_cname()
77 AvahiKey *avahi_key_ref(AvahiKey *k) { in avahi_key_ref()
86 void avahi_key_unref(AvahiKey *k) { in avahi_key_unref()
96 AvahiRecord *avahi_record_new(AvahiKey *k, uint32_t ttl) { in avahi_record_new()
118 AvahiKey *k; in avahi_record_new_full()
226 char *avahi_key_to_string(const AvahiKey *k) { in avahi_key_to_string()
323 int avahi_key_equal(const AvahiKey *a, const AvahiKey *b) { in avahi_key_equal()
[all …]
Dcache.h87 typedef void* AvahiCacheWalkCallback(AvahiCache *c, AvahiKey *pattern, AvahiCacheEntry *e, void* us…
88 void* avahi_cache_walk(AvahiCache *c, AvahiKey *pattern, AvahiCacheWalkCallback cb, void* userdata);
94 void avahi_cache_start_poof(AvahiCache *c, AvahiKey *key, const AvahiAddress *a);
Dquery-sched.c48 AvahiKey *key;
79 static AvahiQueryJob* job_new(AvahiQueryScheduler *s, AvahiKey *key, int done) { in job_new()
188 static void* known_answer_walk_callback(AvahiCache *c, AvahiKey *pattern, AvahiCacheEntry *e, void*… in known_answer_walk_callback()
313 static AvahiQueryJob* find_scheduled_job(AvahiQueryScheduler *s, AvahiKey *key) { in find_scheduled_job()
329 static AvahiQueryJob* find_history_job(AvahiQueryScheduler *s, AvahiKey *key) { in find_history_job()
354 int avahi_query_scheduler_post(AvahiQueryScheduler *s, AvahiKey *key, int immediately, unsigned *re… in avahi_query_scheduler_post()
393 void avahi_query_scheduler_incoming(AvahiQueryScheduler *s, AvahiKey *key) { in avahi_query_scheduler_incoming()
Dquery-sched.h32 int avahi_query_scheduler_post(AvahiQueryScheduler *s, AvahiKey *key, int immediately, unsigned *re…
34 void avahi_query_scheduler_incoming(AvahiQueryScheduler *s, AvahiKey *key);
Dmulticast-lookup.c41 AvahiKey *key, *cname_key;
83 AvahiKey *key, in avahi_multicast_lookup_new()
197 AvahiKey *key, *cname_key;
202 static void* scan_cache_callback(AvahiCache *c, AvahiKey *pattern, AvahiCacheEntry *e, void* userda… in scan_cache_callback()
245 AvahiKey *key, in avahi_multicast_lookup_engine_scan_cache()
310 AvahiKey *key; in avahi_multicast_lookup_engine_notify()
Dwide-area.h39 unsigned avahi_wide_area_scan_cache(AvahiWideAreaLookupEngine *e, AvahiKey *key, AvahiWideAreaLooku…
46 AvahiWideAreaLookup *avahi_wide_area_lookup_new(AvahiWideAreaLookupEngine *e, AvahiKey *key, AvahiW…
Dmulticast-lookup.h41 …vahiMulticastLookupEngine *e, AvahiIfIndex idx, AvahiProtocol protocol, AvahiKey *key, AvahiMultic…
46 …vahiMulticastLookupEngine *e, AvahiIfIndex idx, AvahiProtocol protocol, AvahiKey *key, AvahiMultic…
Dcache.c105 static AvahiCacheEntry *lookup_key(AvahiCache *c, AvahiKey *k) { in lookup_key()
114 void* avahi_cache_walk(AvahiCache *c, AvahiKey *pattern, AvahiCacheWalkCallback cb, void* userdata)… in avahi_cache_walk()
146 static void* lookup_record_callback(AvahiCache *c, AvahiKey *pattern, AvahiCacheEntry *e, void *use… in lookup_record_callback()
383 AvahiKey *k = key; in dump_callback()
442 static void* start_poof_callback(AvahiCache *c, AvahiKey *pattern, AvahiCacheEntry *e, void *userda… in start_poof_callback()
487 void avahi_cache_start_poof(AvahiCache *c, AvahiKey *key, const AvahiAddress *a) { in avahi_cache_start_poof()
Dbrowse.c50 AvahiKey *key;
87 AvahiKey *key) { in lookup_new()
163 AvahiKey *key) { in lookup_find()
359 …rowser *b, AvahiIfIndex interface, AvahiProtocol protocol, AvahiLookupFlags flags, AvahiKey *key) { in lookup_add()
402 AvahiKey *k; in lookup_handle_cname()
427 AvahiKey *k; in lookup_drop_cname()
526 AvahiKey *key, in avahi_s_record_browser_new()
Ddns.h59 uint8_t* avahi_dns_packet_append_key(AvahiDnsPacket *p, AvahiKey *k, int unicast_response);
71 AvahiKey* avahi_dns_packet_consume_key(AvahiDnsPacket *p, int *ret_unicast_response);
Dwide-area.c67 AvahiKey *key, *cname_key;
206 AvahiKey *key, in avahi_wide_area_lookup_new()
387 AvahiKey *key; in run_callbacks()
513 AvahiKey *k; in handle_packet()
689 unsigned avahi_wide_area_scan_cache(AvahiWideAreaLookupEngine *e, AvahiKey *key, AvahiWideAreaLooku… in avahi_wide_area_scan_cache()
691 AvahiKey *cname_key; in avahi_wide_area_scan_cache()
Dbrowse.h38 AvahiKey *key;
Dresolve-address.c50 AvahiKey *key;
187 AvahiKey *k; in avahi_s_address_resolver_new()
Dresolve-service.c224AvahiKey *k = avahi_key_new(r->srv_record->data.srv.name, AVAHI_DNS_CLASS_IN, AVAHI_DNS_TYPE_A); in record_browser_callback()
230AvahiKey *k = avahi_key_new(r->srv_record->data.srv.name, AVAHI_DNS_CLASS_IN, AVAHI_DNS_TYPE_AAAA); in record_browser_callback()
391 AvahiKey *k; in avahi_s_service_resolver_new()
Dserver.c72 AvahiKey *k; in enum_aux_records()
113 void avahi_server_prepare_matching_responses(AvahiServer *s, AvahiInterface *i, AvahiKey *k, int un… in avahi_server_prepare_matching_responses()
144 AvahiKey *cname_key; in avahi_server_prepare_matching_responses()
184 static void withdraw_rrset(AvahiServer *s, AvahiKey *key) { in withdraw_rrset()
514 static void* reflect_cache_walk_callback(AvahiCache *c, AvahiKey *pattern, AvahiCacheEntry *e, void… in reflect_cache_walk_callback()
534 static void reflect_query(AvahiServer *s, AvahiInterface *i, AvahiKey *k) { in reflect_query()
586 AvahiKey *key; in handle_query_packet()
1684 …iEntry *find_entry(AvahiServer *s, AvahiIfIndex interface, AvahiProtocol protocol, AvahiKey *key) { in find_entry()
1702 AvahiKey *key = NULL; in avahi_server_get_group_of_service()
1736 AvahiKey *key = NULL; in avahi_server_is_service_local()
Ddns.c100 AvahiKey *k; in avahi_dns_packet_new_reply()
660 AvahiKey* avahi_dns_packet_consume_key(AvahiDnsPacket *p, int *ret_unicast_response) { in avahi_dns_packet_consume_key()
663 AvahiKey *k; in avahi_dns_packet_consume_key()
688 uint8_t* avahi_dns_packet_append_key(AvahiDnsPacket *p, AvahiKey *k, int unicast_response) { in avahi_dns_packet_append_key()
Dprobe-sched.c167 AvahiKey *k; in packet_add_probe_query()
239 AvahiKey *k; in elapse_callback()
Dbrowse-service-type.c87 AvahiKey *k = NULL; in avahi_s_service_type_browser_new()
Dlookup.h70 AvahiKey *key, /**< The search key */
Dbrowse-service.c94 AvahiKey *k = NULL; in avahi_s_service_browser_new()
Diface.h172 int avahi_interface_post_query(AvahiInterface *i, AvahiKey *k, int immediately, unsigned *ret_id);

12