Home
last modified time | relevance | path

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

12

/dports/mail/mailfromd/mailfromd-8.10/lib/
H A Ddns.h34 struct dns_reply { struct
48 void dns_reply_init(struct dns_reply *reply, dns_reply_type type, size_t count); argument
49 void dns_reply_free(struct dns_reply *r);
60 dns_status soa_check(const char *name, int ip, struct dns_reply *repl);
62 dns_status a_lookup(const char *host, struct dns_reply *repl);
64 dns_status ptr_lookup(struct in_addr ip, struct dns_reply *repl);
65 dns_status txt_lookup(const char *name, struct dns_reply *repl);
67 dns_status ptr_validate(const char *ipstr, struct dns_reply *repl);
72 dns_status mx_lookup(const char *host, int resolve, struct dns_reply *repl);
74 dns_status ns_lookup(const char *host, int resolve, struct dns_reply *reply);
H A Ddns.c139 dns_reply_elsize(struct dns_reply *reply) in dns_reply_elsize()
183 dns_reply_push(struct dns_reply *reply, void *item) in dns_reply_push()
198 dns_reply_free(struct dns_reply *reply) in dns_reply_free()
356 dns_reply_resolve(struct dns_reply *reply) in dns_reply_resolve()
359 struct dns_reply res; in dns_reply_resolve()
363 struct dns_reply r; in dns_reply_resolve()
498 a_lookup(const char *host, struct dns_reply *reply) in a_lookup()
591 struct dns_reply reply; in spf_lookup()
618 struct dns_reply reply; in dkim_lookup()
645 struct dns_reply ptr_reply; in ptr_validate()
[all …]
/dports/net/nss_ldap/nss_ldap-265/
H A Dresolve.c101 dns_free_data (struct dns_reply *r) in dns_free_data()
119 static struct dns_reply *
127 struct dns_reply *r; in parse_reply()
130 r = (struct dns_reply *) malloc (sizeof (struct dns_reply)); in parse_reply()
131 memset (r, 0, sizeof (struct dns_reply)); in parse_reply()
279 struct dns_reply *
285 struct dns_reply *r = NULL; in dns_lookup()
309 struct dns_reply *
316 dns_free_data (struct dns_reply *r) in dns_free_data()
327 struct dns_reply *r; in main()
H A Dresolve.h107 struct dns_reply struct
117 struct dns_reply *dns_lookup (const char *, const char *); argument
119 void dns_free_data (struct dns_reply *r);
H A Ddnsconfig.c138 struct dns_reply *r; in _nss_ldap_mergeconfigfromdns()
/dports/mail/mailfromd/mailfromd-8.10/tests/
H A Dresolv.c48 reply_print_str(struct dns_reply *reply, int sorted) in reply_print_str()
78 reply_print_ip(struct dns_reply *reply, int sorted) in reply_print_ip()
93 reply_print(struct dns_reply *reply, int sorted) in reply_print()
114 struct dns_reply reply; in res_soa()
137 struct dns_reply reply; in res_a()
153 struct dns_reply reply; in res_ptr()
175 struct dns_reply reply; in res_ptr_val()
191 struct dns_reply reply; in res_txt()
207 struct dns_reply reply; in res_mx()
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/heimdal/lib/roken/
H A Dresolve.h168 #define dns_reply rk_dns_reply macro
280 struct dns_reply{ struct
287 struct dns_reply* ROKEN_LIB_FUNCTION argument
290 dns_free_data(struct dns_reply *);
296 dns_srv_order(struct dns_reply*);
H A Dresolve.c113 dns_free_data(struct dns_reply *r) in dns_free_data()
403 struct dns_reply*
411 struct dns_reply *r; in parse_reply()
495 static struct dns_reply *
498 struct dns_reply *r; in dns_lookup_int()
571 struct dns_reply * ROKEN_LIB_FUNCTION
602 dns_srv_order(struct dns_reply *r) in dns_srv_order()
691 struct dns_reply * ROKEN_LIB_FUNCTION
698 dns_free_data(struct dns_reply *r) in dns_free_data()
703 dns_srv_order(struct dns_reply *r) in dns_srv_order()
/dports/mail/mailfromd/mailfromd-8.10/src/builtin/
H A Ddns.bi66 struct dns_reply repl;
84 resolve_host(const char *string, struct dns_reply *reply)
97 dns_replies_intersect(struct dns_reply const *a, struct dns_reply const *b)
112 struct dns_reply areply, mxreply;
159 struct dns_reply repl;
205 struct dns_reply *reply_tab;
220 static inline struct dns_reply *
258 struct dns_reply **return_reply)
294 struct dns_reply *reply;
312 struct dns_reply *reply = dns_reply_entry_locate(rs, n);
[all …]
H A Ddns.c235 struct dns_reply repl; in bi_primitive_hasmx()
280 resolve_host(const char *string, struct dns_reply *reply) in resolve_host()
293 dns_replies_intersect(struct dns_reply const *a, struct dns_reply const *b) in dns_replies_intersect()
348 struct dns_reply areply, mxreply; in bi_primitive_ismx()
559 struct dns_reply repl; in bi_primitive_hasns()
632 struct dns_reply *reply_tab;
647 static inline struct dns_reply *
691 struct dns_reply **return_reply) in dns_reply_entry_alloc()
805 struct dns_reply *reply; in bi_dns_reply_count()
893 struct dns_reply *reply = dns_reply_entry_locate(rs, n); in bi_dns_reply_string()
[all …]
/dports/dns/dnscrypt-wrapper/dnscrypt-wrapper-0.4.2/
H A Dudp_request.c404 maybe_truncate(uint8_t *const dns_reply, size_t *const dns_reply_len_p, size_t query_len) in maybe_truncate() argument
406 struct dns_header *header = (struct dns_header *)dns_reply; in maybe_truncate()
420 *dns_reply_len_p = (size_t) (ansp - dns_reply); in maybe_truncate()
435 static uint8_t *dns_reply = NULL; in resolver_to_proxy_cb() local
444 if (dns_reply == NULL && (dns_reply = sodium_malloc(sizeof_dns_reply)) == NULL) { in resolver_to_proxy_cb()
448 (void *)dns_reply, sizeof_dns_reply, 0, in resolver_to_proxy_cb()
468 struct dns_header *header = (struct dns_header *)dns_reply; in resolver_to_proxy_cb()
487 struct dns_header *p = (struct dns_header *) dns_reply; in resolver_to_proxy_cb()
490 maybe_truncate(dns_reply, &dns_reply_len, udp_request->len); in resolver_to_proxy_cb()
494 (c, udp_request->cert, udp_request->client_nonce, udp_request->nmkey, dns_reply, in resolver_to_proxy_cb()
[all …]
H A Dtcp_request.c283 static uint8_t *dns_reply = NULL; in resolver_proxy_read_cb() local
286 if (dns_reply == NULL && (dns_reply = sodium_malloc(sizeof_dns_reply)) == NULL) { in resolver_proxy_read_cb()
318 memcpy(dns_reply, dns_reply_bev, dns_reply_len); in resolver_proxy_read_cb()
324 struct dns_header *p = (struct dns_header *) dns_reply; in resolver_proxy_read_cb()
330 dns_reply, &dns_reply_len, max_len) != 0) { in resolver_proxy_read_cb()
340 bufferevent_write(tcp_request->client_proxy_bev, dns_reply, in resolver_proxy_read_cb()
/dports/mail/opendkim/opendkim-2.10.3/libopendkim/
H A Ddkim-test.c98 td->dns_reply = dkim_strdup(dkim, data, 0); in dkim_test_dns_put()
99 if (td->dns_reply == NULL) in dkim_test_dns_put()
154 hdr.rcode = (td->dns_reply == NULL ? NXDOMAIN : NOERROR); in dkim_test_dns_get()
155 hdr.ancount = (td->dns_reply == NULL ? htons(0) : htons(1)); in dkim_test_dns_get()
214 n = strlen((char *) td->dns_reply); in dkim_test_dns_get()
225 p = td->dns_reply; in dkim_test_dns_get()
246 n = dn_comp((char *) td->dns_reply, cp, end - cp, NULL, NULL); in dkim_test_dns_get()
H A Ddkim-types.h238 u_char * dns_reply; member
/dports/net/samba412/samba-4.12.15/libcli/http/
H A Dhttp_conn.c132 struct dns_name_packet *dns_reply = NULL; in http_connect_dns_done() local
137 ret = dns_lookup_recv(subreq, state, &dns_reply); in http_connect_dns_done()
144 for (i = 0; i < dns_reply->ancount; i++) { in http_connect_dns_done()
145 an = &dns_reply->answers[i]; in http_connect_dns_done()
150 if (i >= dns_reply->ancount) { in http_connect_dns_done()
/dports/sysutils/py-salt/salt-3004.1/salt/states/
H A Dnetntp.py123 dns_reply = []
126 dns_reply = dns.resolver.query(peer)
130 for dns_ip in dns_reply:
/dports/mail/opendmarc/OpenDMARC-rel-opendmarc-1-4-2/libopendmarc/
H A Dopendmarc_policy.c616 int dns_reply = 0; in opendmarc_policy_query_dmarc_xdomain() local
659 if (ret != 0 || dns_reply == HOST_NOT_FOUND) in opendmarc_policy_query_dmarc_xdomain()
669 if (dns_reply == NETDB_SUCCESS && strcmp( buf, "&" ) != 0) in opendmarc_policy_query_dmarc_xdomain()
688 if (ret != 0 || dns_reply == HOST_NOT_FOUND) in opendmarc_policy_query_dmarc_xdomain()
698 if (dns_reply == NETDB_SUCCESS && strcmp( buf, "&" ) != 0) in opendmarc_policy_query_dmarc_xdomain()
711 switch (dns_reply) in opendmarc_policy_query_dmarc_xdomain()
761 int dns_reply = 0; in opendmarc_policy_query_dmarc() local
780 bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); in opendmarc_policy_query_dmarc()
783 if (dns_reply != HOST_NOT_FOUND) in opendmarc_policy_query_dmarc()
810 bp = dmarc_dns_get_record(copy, &dns_reply, buf, sizeof buf); in opendmarc_policy_query_dmarc()
[all …]
/dports/net-mgmt/ettercap/ettercap-0.8.3.1/plug-ins/dns_spoof/
H A Ddns_spoof.c376 u_char *data, *end, *dns_reply; in dns_spoof() local
439 SAFE_CALLOC(dns_reply, dns_len, sizeof(u_int8)); in dns_spoof()
445 memcpy(dns_reply, data, q - data); in dns_spoof()
454 memcpy(dns_reply + dns_off, rr->data, rr->size); in dns_spoof()
469 memcpy(dns_reply + dns_off, rr->data, rr->size); in dns_spoof()
484 memcpy(dns_reply + dns_off, rr->data, rr->size); in dns_spoof()
495 ntohs(dns->id), dns_reply, dns_len, n_answ, n_auth, n_addi); in dns_spoof()
498 SAFE_FREE(dns_reply); in dns_spoof()
/dports/japanese/tiarra/tiarra-20100212/module/Tools/
H A DHTTPClient.pm212 my $dns_reply = \&_dns_reply;
213 Tiarra::Resolver->resolve(addr => $host, sub{ $this->$dns_reply(@_) });
247 my $dns_reply = \&_dns_reply;
/dports/net-mgmt/darkstat/darkstat-3.0.719/
H A Ddns.c45 struct dns_reply { struct
173 struct dns_reply reply; in dns_get_result()
341 struct dns_reply reply; in dns_main()
H A DChangeLog166 - Fix dns_reply silliness.
/dports/mail/mailfromd/mailfromd-8.10/src/
H A Dspf.c337 struct dns_reply reply; in spf_expand_do()
621 struct dns_reply r; in mech_a()
661 struct dns_reply reply; in mech_mx()
700 struct dns_reply reply; in mech_ptr()
762 struct dns_reply r; in mech_exists()
800 struct dns_reply r; in mod_exp()
H A Dcallout.c637 struct dns_reply reply; in callout_mx()
/dports/net-mgmt/wmi-client/wmi-1.3.16/Samba/source/heimdal/lib/krb5/
H A Dget_host_realm.c99 struct dns_reply *r; in dns_find_realm()
H A Dkrbhst.c64 struct dns_reply *r; in srv_find_realm()

12