Home
last modified time | relevance | path

Searched refs:rr_entry (Results 1 – 25 of 30) sorted by relevance

12

/dports/audio/clementine-player/Clementine-1.4.0rc1/3rdparty/tinysvcmdns/
H A Dmdns.h78 struct rr_entry *entry;
89 struct rr_entry { struct
124 struct rr_entry *e; argument
172 struct rr_entry *rr_entry_match(struct rr_list *rr_list, struct rr_entry *entry);
173 void rr_group_add(struct rr_group **group, struct rr_entry *rr);
177 struct rr_entry *rr_list_remove(struct rr_list **rr_head, struct rr_entry *rr);
180 struct rr_entry *rr_create_ptr(uint8_t *name, struct rr_entry *d_rr);
183 struct rr_entry *rr_create_a(uint8_t *name, uint32_t addr);
184 struct rr_entry *rr_create(uint8_t *name, enum rr_type type);
185 void rr_set_nsec(struct rr_entry *rr_nsec, enum rr_type type);
[all …]
H A Dmdns.c327 struct rr_entry *rr_list_remove(struct rr_list **rr_head, struct rr_entry *rr) { in rr_list_remove()
381 DECL_MALLOC_ZERO_STRUCT(rr, rr_entry); in rr_create_a()
388 DECL_MALLOC_ZERO_STRUCT(rr, rr_entry); in rr_create_aaaa()
395 DECL_MALLOC_ZERO_STRUCT(rr, rr_entry); in rr_create_srv()
402 struct rr_entry *rr_create_ptr(uint8_t *name, struct rr_entry *d_rr) { in rr_create_ptr()
403 DECL_MALLOC_ZERO_STRUCT(rr, rr_entry); in rr_create_ptr()
411 DECL_MALLOC_ZERO_STRUCT(rr, rr_entry); in rr_create()
489 struct rr_entry *rr_entry_match(struct rr_list *rr_list, struct rr_entry *entry) { in rr_entry_match()
583 struct rr_entry *rr; in mdns_parse_qn()
588 rr = malloc(sizeof(struct rr_entry)); in mdns_parse_qn()
[all …]
H A Dtestmdnsd.c58 struct rr_entry *a2_e = NULL; in main()
62 struct rr_entry *aaaa_e = NULL; in main()
H A Dmdnsd.c203 struct rr_entry *ans = list->e; in add_related_rr()
274 struct rr_entry *qn = qnl->e; in process_mdns_pkt()
297 struct rr_entry *known_ans = rr_entry_match(pkt->rr_ans, ans->e); in process_mdns_pkt()
452 struct rr_entry *ann_e = NULL; in main_loop()
513 struct rr_entry *a_e = NULL, in mdnsd_set_hostname()
532 void mdnsd_add_rr(struct mdnsd *svr, struct rr_entry *rr) { in mdnsd_add_rr()
540 struct rr_entry *txt_e = NULL, in mdnsd_register_svc()
H A Dmdnsd.h49 void mdnsd_add_rr(struct mdnsd *svr, struct rr_entry *rr);
/dports/audio/shairport-sync/shairport-sync-3.3.9/
H A Dtinysvcmdns.h77 struct rr_entry *entry;
88 struct rr_entry {
123 struct rr_entry *e;
172 struct rr_entry *rr_entry_match(struct rr_list *rr_list, struct rr_entry *entry);
177 struct rr_entry *rr_list_remove(struct rr_list **rr_head, struct rr_entry *rr);
180 struct rr_entry *rr_create_ptr(uint8_t *name, struct rr_entry *d_rr);
183 struct rr_entry *rr_create_a(uint8_t *name, uint32_t addr);
184 struct rr_entry *rr_create(uint8_t *name, enum rr_type type);
185 void rr_set_nsec(struct rr_entry *rr_nsec, enum rr_type type);
186 void rr_add_txt(struct rr_entry *rr_txt, const char *txt);
[all …]
H A Dtinysvcmdns.c393 struct rr_entry *rr_list_remove(struct rr_list **rr_head, struct rr_entry *rr) { in rr_list_remove()
454 DECL_MALLOC_ZERO_STRUCT(rr, rr_entry); in rr_create_a()
489 struct rr_entry *rr_create_ptr(uint8_t *name, struct rr_entry *d_rr) { in rr_create_ptr()
589 struct rr_entry *rr_entry_match(struct rr_list *rr_list, struct rr_entry *entry) { in rr_entry_match()
678 struct rr_entry *rr; in mdns_parse_qn()
683 rr = malloc(sizeof(struct rr_entry)); in mdns_parse_qn()
717 struct rr_entry *rr; in mdns_parse_rr()
728 rr = malloc(sizeof(struct rr_entry)); in mdns_parse_rr()
1270 struct rr_entry *ans = list->e; in add_related_rr()
1332 struct rr_entry *qn = qnl->e; in process_mdns_pkt()
[all …]
H A Dmdns_tinysvcmdns.c106 struct rr_entry *a_e = in mdns_tinysvcmdns_register()
112 struct rr_entry *aaaa_e = in mdns_tinysvcmdns_register()
/dports/dns/libmicrodns/microdns-0.2.0/src/
H A Drr.c42 typedef ssize_t (*rr_writer)(uint8_t *, size_t *, const struct rr_entry *);
60 static ssize_t rr_write_A(uint8_t *, size_t *, const struct rr_entry *);
62 void rr_print(const struct rr_entry *entry);
69 void rr_free(struct rr_entry *entry);
110 rr_write_SRV(uint8_t *ptr, size_t *s, const struct rr_entry *entry) in rr_write_SRV()
156 rr_write_PTR(uint8_t *ptr, size_t *s, const struct rr_entry *entry) in rr_write_PTR()
205 rr_write_TXT(uint8_t *ptr, size_t *s, const struct rr_entry *entry) in rr_write_TXT()
254 rr_write_AAAA(uint8_t *ptr, size_t *s, const struct rr_entry *entry) in rr_write_AAAA()
287 rr_write_A(uint8_t *ptr, size_t *s, const struct rr_entry *entry) in rr_write_A()
545 rr_print(const struct rr_entry *entry) in rr_print()
[all …]
H A Dmdns.c74 extern void rr_print(const struct rr_entry *);
75 extern void rr_free(struct rr_entry *);
581 const struct rr_entry *entry = entries; in mdns_write()
620 mdns_free(struct rr_entry *entries) in mdns_free()
622 struct rr_entry *entry; in mdns_free()
652 struct rr_entry *entry; in mdns_parse()
662 entry = calloc(1, sizeof(struct rr_entry)); in mdns_parse()
698 mdns_entries_print(const struct rr_entry *entry) in mdns_entries_print()
736 struct rr_entry *entries; in mdns_listen_probe_network()
788 struct rr_entry *qns = malloc(nb_names * sizeof(struct rr_entry)); in mdns_listen()
[all …]
/dports/dns/libmicrodns/microdns-0.2.0/include/
H A Dmdns.h33 mdns_parse(struct mdns_hdr *hdr, struct rr_entry **entries, const uint8_t *buf,
36 mdns_write(const struct mdns_hdr *hdr, const struct rr_entry *entries,
40 mdns_free(struct rr_entry *entries);
/dports/net-mgmt/ettercap/ettercap-0.8.3.1/plug-ins/dns_spoof/
H A Ddns_spoof.c82 struct rr_entry { struct
85 SLIST_ENTRY(rr_entry) next; argument
89 static SLIST_HEAD(, rr_entry) answer_list;
90 static SLIST_HEAD(, rr_entry) authority_list;
91 static SLIST_HEAD(, rr_entry) additional_list;
374 struct rr_entry *rr; in dns_spoof()
516 struct rr_entry *rr; in prepare_dns_reply()
691 SAFE_CALLOC(rr, 1, sizeof(struct rr_entry)); in prepare_dns_reply()
736 SAFE_CALLOC(rr, 1, sizeof(struct rr_entry)); in prepare_dns_reply()
785 SAFE_CALLOC(rr, 1, sizeof(struct rr_entry)); in prepare_dns_reply()
[all …]
/dports/dns/libmicrodns/microdns-0.2.0/include/microdns/
H A Dmicrodns.h87 typedef void (*mdns_listen_callback)(void*, int, const struct rr_entry *);
151 …tries_send(const struct mdns_ctx *ctx, const struct mdns_hdr *hdr, const struct rr_entry *entries);
158 MDNS_EXPORT void mdns_entries_print(const struct rr_entry *);
H A Drr.h91 struct rr_entry { struct
102 struct rr_entry *next; argument
/dports/x11-fm/krusader2/krusader-2.7.2/iso/libisofs/
H A Disofs.h59 } rr_entry; typedef
139 int ParseRR(struct iso_directory_record *idr, rr_entry *rrentry);
144 void FreeRR(rr_entry *rrentry);
H A Disofs.c297 void FreeRR(rr_entry *rrentry) in FreeRR()
357 int ParseRR(struct iso_directory_record *idr, rr_entry *rrentry) in ParseRR()
370 memset(rrentry, 0, sizeof(rr_entry)); in ParseRR()
371 rrentry->len = sizeof(rr_entry); in ParseRR()
708 void dumprrentry(rr_entry *rr) in dumprrentry()
816 rr_entry rrentry; in mycallb()
/dports/sysutils/k3b/k3b-21.12.3/libk3b/tools/libisofs/
H A Disofs.h40 } rr_entry; typedef
111 int ParseRR(struct iso_directory_record *idr, rr_entry *rrentry);
116 void FreeRR(rr_entry *rrentry);
H A Disofs.cpp272 void FreeRR(rr_entry *rrentry) { in FreeRR()
329 int ParseRR(struct iso_directory_record *idr, rr_entry *rrentry) { in ParseRR()
341 memset(rrentry,0,sizeof(rr_entry)); in ParseRR()
342 rrentry->len = sizeof(rr_entry); in ParseRR()
665 void dumprrentry(rr_entry *rr) {
766 rr_entry rrentry;
H A DChangeLog2 - renamed the st_xxx time fileds in rr_entry to rr_st_xxx to make it compile
/dports/biology/sra-tools/sra-tools-2.11.0/ncbi-vdb/libs/axf/
H A Dseq-restore-read.c114 typedef struct rr_entry struct
118 } rr_entry; typedef
128 static bool rr_entry_make ( rr_entry ** entry, const INSDC_4na_bin * read, uint32_t read_len ) in rr_entry_make()
133 rr_entry * obj = malloc ( ( sizeof * obj ) + read_len - 1 ); in rr_entry_make()
203 rr_entry * entry; in rr_store_alignment()
242 static bool rr_get_read ( rr_store * rr, int64_t align_id, rr_entry ** entry ) in rr_get_read()
501 rr_entry * ep; in seq_restore_read_impl2()
/dports/biology/ncbi-vdb/ncbi-vdb-2.11.0/libs/axf/
H A Dseq-restore-read.c114 typedef struct rr_entry struct
118 } rr_entry; argument
128 static bool rr_entry_make ( rr_entry ** entry, const INSDC_4na_bin * read, uint32_t read_len ) in rr_entry_make()
133 rr_entry * obj = malloc ( ( sizeof * obj ) + read_len - 1 ); in rr_entry_make()
203 rr_entry * entry; in rr_store_alignment()
242 static bool rr_get_read ( rr_store * rr, int64_t align_id, rr_entry ** entry ) in rr_get_read()
501 rr_entry * ep; in seq_restore_read_impl2()
/dports/multimedia/vlc/vlc-3.0.16/modules/services_discovery/
H A Dmicrodns.c283 parse_entries( const struct rr_entry *p_entries, bool b_renderer, in parse_entries()
289 for( const struct rr_entry *p_entry = p_entries; in parse_entries()
306 for( const struct rr_entry *p_entry = p_entries; in parse_entries()
393 new_entries_sd_cb( void *p_this, int i_status, const struct rr_entry *p_entries ) in new_entries_sd_cb()
469 new_entries_rd_cb( void *p_this, int i_status, const struct rr_entry *p_entries ) in new_entries_rd_cb()
489 for( const struct rr_entry *p_entry = p_entries; in new_entries_rd_cb()
/dports/multimedia/libndi/libndi-c14b40caafb26a02249f062e7f907ceaa53c1b74/
H A Dlibndi_discovery_microdns.c76 static void cb_mdns(void *p_cookie, int status, const struct rr_entry *entries) in cb_mdns()
88 for (const struct rr_entry *e = entries; e != NULL; e = e->next) { in cb_mdns()
/dports/multimedia/vlc/vlc-3.0.16/contrib/src/microdns/
H A D0001-build-fix-getifaddrs-detection.patch50 @@ -73,7 +73,7 @@ extern void rr_print(const struct rr_entry *);
51 extern void rr_free(struct rr_entry *);
/dports/dns/libmicrodns/microdns-0.2.0/tests/
H A Dfuzz.c38 struct rr_entry *entries; in LLVMFuzzerTestOneInput()

12