| /freebsd/contrib/unbound/daemon/ |
| H A D | worker.c | 591 uint16_t id, uint16_t flags, struct comm_reply* repinfo, in answer_norec_from_cache() argument 636 msg->rep, LDNS_RCODE_SERVFAIL, edns, repinfo, worker->scratchpad, in answer_norec_from_cache() 646 error_encode(repinfo->c->buffer, LDNS_RCODE_SERVFAIL, in answer_norec_from_cache() 676 (int)(flags&LDNS_RCODE_MASK), edns, repinfo, worker->scratchpad, in answer_norec_from_cache() 691 repinfo->c->buffer, 0, 1, worker->scratchpad, in answer_norec_from_cache() 694 LDNS_RCODE_SERVFAIL, edns, repinfo, worker->scratchpad, in answer_norec_from_cache() 697 error_encode(repinfo->c->buffer, LDNS_RCODE_SERVFAIL, in answer_norec_from_cache() 702 server_stats_insrcode(&worker->stats, repinfo->c->buffer); in answer_norec_from_cache() 775 struct comm_reply* repinfo, struct edns_data* edns) in answer_from_cache() argument 840 LDNS_RCODE_SERVFAIL, edns, repinfo, worker->scratchpad, in answer_from_cache() [all …]
|
| H A D | stats.h | 120 struct comm_reply* repinfo);
|
| H A D | stats.c | 540 struct comm_reply* repinfo) in server_stats_insquery() argument 567 if(repinfo && addr_is_ip6(&repinfo->remote_addr, repinfo->remote_addrlen)) in server_stats_insquery()
|
| /freebsd/contrib/unbound/util/ |
| H A D | netevent.c | 2804 doq_lookup_repinfo(struct doq_table* table, struct comm_reply* repinfo) argument 2809 doq_conn_key_from_repinfo(&key, repinfo); 2826 doq_lookup_conn_stream(struct comm_reply* repinfo, struct comm_point* c, argument 2833 *conn = doq_lookup_repinfo(c->doq_socket->table, repinfo); 2846 *stream = doq_stream_find(*conn, repinfo->doq_streamid); 2869 doq_socket_send_reply(struct comm_reply* repinfo) argument 2873 log_assert(repinfo->c->type == comm_doq); 2874 if(!doq_lookup_conn_stream(repinfo, repinfo->c, &conn, &stream)) { 2881 if(!doq_stream_send_reply(conn, stream, repinfo->c->buffer)) 2883 if(!repinfo->c->doq_socket->current_conn) { [all …]
|
| H A D | netevent.h | 228 struct comm_reply repinfo; member 722 void comm_point_send_reply(struct comm_reply* repinfo); 728 void comm_point_drop_reply(struct comm_reply* repinfo);
|
| /freebsd/contrib/unbound/dnscrypt/ |
| H A D | dnscrypt.c | 887 struct comm_reply* repinfo) in dnsc_handle_curved_request() argument 889 struct comm_point* c = repinfo->c; in dnsc_handle_curved_request() 891 repinfo->is_dnscrypted = 0; in dnsc_handle_curved_request() 898 if ((repinfo->dnsc_cert = dnsc_find_cert(dnscenv, c->buffer)) != NULL) { in dnsc_handle_curved_request() 900 repinfo->dnsc_cert, in dnsc_handle_curved_request() 901 repinfo->client_nonce, in dnsc_handle_curved_request() 902 repinfo->nmkey, in dnsc_handle_curved_request() 905 comm_point_drop_reply(repinfo); in dnsc_handle_curved_request() 908 repinfo->is_dnscrypted = 1; in dnsc_handle_curved_request() 915 dnsc_handle_uncurved_request(struct comm_reply *repinfo) in dnsc_handle_uncurved_request() argument [all …]
|
| H A D | dnscrypt.h | 122 struct comm_reply* repinfo); 131 int dnsc_handle_uncurved_request(struct comm_reply *repinfo);
|
| /freebsd/contrib/unbound/services/ |
| H A D | localzone.c | 1340 struct edns_data* edns, struct comm_reply* repinfo, sldns_buffer* buf, in local_encode() argument 1362 repinfo, temp, env->now_tv) || !reply_info_answer_encode(qinfo, &rep, in local_encode() 1375 struct edns_data* edns, struct comm_reply* repinfo, sldns_buffer* buf, in local_error_encode() argument 1385 rcode, edns, repinfo, temp, env->now_tv)) in local_error_encode() 1512 struct comm_reply* repinfo, sldns_buffer* buf, in local_data_answer() argument 1542 return local_encode(qinfo, env, edns, repinfo, buf, temp, in local_data_answer() 1588 local_error_encode(qinfo, env, edns, repinfo, in local_data_answer() 1636 return local_encode(qinfo, env, edns, repinfo, buf, temp, &r, 1, in local_data_answer() 1639 return local_encode(qinfo, env, edns, repinfo, buf, temp, lr->rrset, 1, in local_data_answer() 1673 local_zone_is_udp_query(struct comm_reply* repinfo) { in local_zone_is_udp_query() argument [all …]
|
| H A D | rpz.c | 1634 struct comm_reply* repinfo, struct module_qstate* ms, char* log_name) in log_rpz_apply() argument 1648 if(repinfo) { in log_rpz_apply() 1649 addr_to_str(&repinfo->client_addr, repinfo->client_addrlen, ip, sizeof(ip)); in log_rpz_apply() 1650 port = ntohs(((struct sockaddr_in*)&repinfo->client_addr)->sin_port); in log_rpz_apply() 1701 struct comm_reply* repinfo, uint8_t* taglist, size_t taglen, in rpz_resolve_client_action_and_zone() argument 1728 &repinfo->client_addr, repinfo->client_addrlen, in rpz_resolve_client_action_and_zone() 1736 qinfo, repinfo, NULL, r->log_name); in rpz_resolve_client_action_and_zone() 1764 rpz_is_udp_query(struct comm_reply* repinfo) { in rpz_is_udp_query() argument 1765 return repinfo != NULL in rpz_is_udp_query() 1766 ? (repinfo->c != NULL in rpz_is_udp_query() [all …]
|
| H A D | listen_dnsport.c | 2314 comm_point_drop_reply(&req->cp->repinfo); in tcp_req_info_handle_writedone() 2344 if( (*c->callback)(c, c->cb_arg, NETEVENT_NOERROR, &c->repinfo) ) { in tcp_req_info_handle_readdone() 2478 comm_point_drop_reply(&req->cp->repinfo); in tcp_req_info_send_reply() 2804 NETEVENT_NOERROR, &h2_session->c->repinfo)) { in http2_query_read_done() 3728 doq_repinfo_store_localaddr(struct comm_reply* repinfo, in doq_repinfo_store_localaddr() argument 3733 memset(&repinfo->pktinfo, 0, sizeof(repinfo->pktinfo)); in doq_repinfo_store_localaddr() 3737 memmove(&repinfo->pktinfo.v6info.ipi6_addr, in doq_repinfo_store_localaddr() 3739 repinfo->doq_srcport = sa6->sin6_port; in doq_repinfo_store_localaddr() 3741 repinfo->srctype = 6; in doq_repinfo_store_localaddr() 3745 memmove(&repinfo->pktinfo.v4info.ipi_addr, in doq_repinfo_store_localaddr() [all …]
|
| H A D | authzone.h | 559 struct comm_reply* repinfo, struct sldns_buffer* buf, 684 struct comm_reply* repinfo); 687 struct comm_reply* repinfo); 690 struct comm_reply* repinfo);
|
| H A D | localzone.h | 334 struct regional* temp, struct comm_reply* repinfo, uint8_t* taglist, 355 struct comm_reply* repinfo, sldns_buffer* buf, struct regional* temp, 618 struct comm_reply* repinfo, sldns_buffer* buf,
|
| H A D | rpz.h | 173 * @param repinfo: reply info 182 struct regional* temp, struct comm_reply* repinfo,
|
| /freebsd/contrib/unbound/contrib/ |
| H A D | drop-tld.diff | 6 addr_to_str(&repinfo->addr, repinfo->addrlen, ip, sizeof(ip)); 13 + comm_point_drop_reply(repinfo);
|
| H A D | redirect-bogus.patch | 9 - error_encode(repinfo->c->buffer, LDNS_RCODE_SERVFAIL, 14 + fixed_address_encode(repinfo->c->buffer, 19 + fixed_address_encode(repinfo->c->buffer, 23 + error_encode(repinfo->c->buffer, LDNS_RCODE_SERVFAIL,
|
| /freebsd/contrib/unbound/util/data/ |
| H A D | msgreply.h | 672 struct edns_data* edns, struct comm_reply* repinfo, struct regional* region, 693 struct comm_reply* repinfo, struct regional* region, 714 struct comm_reply* repinfo, struct regional* region, 736 struct comm_reply* repinfo, struct regional* region,
|
| H A D | msgparse.c | 952 struct comm_reply* repinfo, uint32_t now, struct regional* region, in parse_edns_options_from_query() argument 1047 if(!cfg || !cfg->do_answer_cookie || !repinfo || cookie_seen) in parse_edns_options_from_query() 1071 if(repinfo->remote_addr.ss_family == AF_INET) { in parse_edns_options_from_query() 1073 &((struct sockaddr_in*)&repinfo->remote_addr)->sin_addr, 4); in parse_edns_options_from_query() 1077 &((struct sockaddr_in6*)&repinfo->remote_addr)->sin6_addr, 16); in parse_edns_options_from_query() 1280 struct comm_reply* repinfo, time_t now, struct regional* region, in parse_edns_from_query_pkt() argument 1327 c, repinfo, now, region, cookie_secrets); in parse_edns_from_query_pkt()
|
| H A D | msgreply.c | 1239 struct comm_reply* repinfo, struct regional* region, in inplace_cb_reply_call_generic() argument 1253 rcode, edns, &opt_list_out, repinfo, region, start_time, cb->id, cb->cb_arg); in inplace_cb_reply_call_generic() 1261 struct edns_data* edns, struct comm_reply* repinfo, struct regional* region, in inplace_cb_reply_call() argument 1266 qstate, rep, rcode, edns, repinfo, region, start_time); in inplace_cb_reply_call() 1272 struct comm_reply* repinfo, struct regional* region, in inplace_cb_reply_cache_call() argument 1277 qinfo, qstate, rep, rcode, edns, repinfo, region, start_time); in inplace_cb_reply_cache_call() 1283 struct comm_reply* repinfo, struct regional* region, in inplace_cb_reply_local_call() argument 1288 qinfo, qstate, rep, rcode, edns, repinfo, region, start_time); in inplace_cb_reply_local_call() 1294 struct comm_reply* repinfo, struct regional* region, in inplace_cb_reply_servfail_call() argument 1302 inplace_cb_reply_servfail, qinfo, qstate, rep, rcode, edns, repinfo, in inplace_cb_reply_servfail_call()
|
| H A D | msgparse.h | 359 struct comm_reply* repinfo, time_t now, struct regional* region,
|
| /freebsd/contrib/unbound/smallapp/ |
| H A D | worker_cb.c | 62 struct comm_reply* ATTR_UNUSED(repinfo)) in worker_handle_request() argument 78 struct comm_reply* ATTR_UNUSED(repinfo)) in remote_accept_callback() argument 86 struct comm_reply* ATTR_UNUSED(repinfo)) in remote_control_callback() argument 267 struct comm_reply* ATTR_UNUSED(repinfo))
|
| /freebsd/contrib/unbound/dynlibmod/examples/ |
| H A D | helloworld.c | 35 struct comm_reply* repinfo, struct regional* region, 121 struct comm_reply* repinfo, struct regional* region, in reply_callback() argument
|
| /freebsd/contrib/unbound/dynlibmod/ |
| H A D | dynlibmod.c | 216 struct comm_reply* repinfo, struct regional* region, in dynlib_inplace_cb_reply_generic() argument 219 …_func_type*) cb_pair->cb)(qinfo, qstate, rep, rcode, edns, opt_list_out, repinfo, region, start_ti… in dynlib_inplace_cb_reply_generic()
|
| H A D | dynlibmod.h | 73 struct comm_reply* repinfo, struct regional* region,
|
| /freebsd/contrib/unbound/libunbound/ |
| H A D | worker.h | 153 struct comm_reply* repinfo);
|
| H A D | libworker.c | 937 struct comm_reply* ATTR_UNUSED(repinfo)) in worker_handle_request() argument 953 struct comm_reply* ATTR_UNUSED(repinfo)) in remote_accept_callback() argument 961 struct comm_reply* ATTR_UNUSED(repinfo)) in remote_control_callback() argument 1073 struct comm_reply* ATTR_UNUSED(repinfo)) in fast_reload_client_callback() argument
|