Home
last modified time | relevance | path

Searched refs:ATTR_UNUSED (Results 1 – 25 of 105) sorted by relevance

12345

/openbsd/src/usr.sbin/unbound/smallapp/
Dworker_cb.c53 void worker_handle_control_cmd(struct tube* ATTR_UNUSED(tube), in worker_handle_control_cmd()
54 uint8_t* ATTR_UNUSED(buffer), size_t ATTR_UNUSED(len), in worker_handle_control_cmd()
55 int ATTR_UNUSED(error), void* ATTR_UNUSED(arg)) in worker_handle_control_cmd()
60 int worker_handle_request(struct comm_point* ATTR_UNUSED(c), in worker_handle_request()
61 void* ATTR_UNUSED(arg), int ATTR_UNUSED(error), in worker_handle_request()
62 struct comm_reply* ATTR_UNUSED(repinfo)) in worker_handle_request()
68 int worker_handle_service_reply(struct comm_point* ATTR_UNUSED(c), in worker_handle_service_reply()
69 void* ATTR_UNUSED(arg), int ATTR_UNUSED(error), in worker_handle_service_reply()
70 struct comm_reply* ATTR_UNUSED(reply_info)) in worker_handle_service_reply()
76 int remote_accept_callback(struct comm_point* ATTR_UNUSED(c), in remote_accept_callback()
[all …]
/openbsd/src/usr.sbin/unbound/testcode/
Dfake_event.c933 listen_create(struct comm_base* base, struct listen_port* ATTR_UNUSED(ports), in listen_create()
934 size_t bufsize, int ATTR_UNUSED(tcp_accept_count), in listen_create()
935 int ATTR_UNUSED(tcp_idle_timeout), in listen_create()
936 int ATTR_UNUSED(harden_large_queries), in listen_create()
937 uint32_t ATTR_UNUSED(http_max_streams), in listen_create()
938 char* ATTR_UNUSED(http_endpoint), in listen_create()
939 int ATTR_UNUSED(http_notls), in listen_create()
940 struct tcl_list* ATTR_UNUSED(tcp_conn_limit), in listen_create()
941 void* ATTR_UNUSED(sslctx), struct dt_env* ATTR_UNUSED(dtenv), in listen_create()
970 comm_base_create(int ATTR_UNUSED(sigs)) in comm_base_create()
[all …]
Dtestbound.c498 ATTR_UNUSED(cfg)) in daemon_remote_open_ports()
503 struct daemon_remote* daemon_remote_create(struct config_file* ATTR_UNUSED(cfg)) in daemon_remote_create()
513 void daemon_remote_clear(struct daemon_remote* ATTR_UNUSED(rc)) in daemon_remote_clear()
518 int daemon_remote_open_accept(struct daemon_remote* ATTR_UNUSED(rc), in daemon_remote_open_accept()
519 struct listen_port* ATTR_UNUSED(ports), struct worker* worker) in daemon_remote_open_accept()
526 int remote_accept_callback(struct comm_point* ATTR_UNUSED(c), in remote_accept_callback()
527 void* ATTR_UNUSED(arg), int ATTR_UNUSED(error), in remote_accept_callback()
528 struct comm_reply* ATTR_UNUSED(repinfo)) in remote_accept_callback()
534 int remote_control_callback(struct comm_point* ATTR_UNUSED(c), in remote_control_callback()
535 void* ATTR_UNUSED(arg), int ATTR_UNUSED(error), in remote_control_callback()
[all …]
Ddohclient.c126 nghttp2_session* ATTR_UNUSED(session), in http2_submit_request_read_cb()
127 int32_t ATTR_UNUSED(stream_id), uint8_t* buf, size_t length, in http2_submit_request_read_cb()
129 void* ATTR_UNUSED(cb_arg)) in http2_submit_request_read_cb()
255 static ssize_t http2_recv_cb(nghttp2_session* ATTR_UNUSED(session), in http2_recv_cb()
256 uint8_t* buf, size_t len, int ATTR_UNUSED(flags), void* cb_arg) in http2_recv_cb()
305 static ssize_t http2_send_cb(nghttp2_session* ATTR_UNUSED(session), in http2_send_cb()
306 const uint8_t* buf, size_t len, int ATTR_UNUSED(flags), void* cb_arg) in http2_send_cb()
336 static int http2_stream_close_cb(nghttp2_session* ATTR_UNUSED(session), in http2_stream_close_cb()
337 int32_t ATTR_UNUSED(stream_id), in http2_stream_close_cb()
338 nghttp2_error_code ATTR_UNUSED(error_code), void *cb_arg) in http2_stream_close_cb()
[all …]
/openbsd/src/usr.sbin/unbound/dnstap/
Dunbound-dnstap-socket.c1046 void dtio_tap_callback(int ATTR_UNUSED(fd), short ATTR_UNUSED(bits), void* arg) in dtio_tap_callback()
1145 void dtio_mainfdcallback(int fd, short ATTR_UNUSED(bits), void* arg) in dtio_mainfdcallback()
1597 void worker_handle_control_cmd(struct tube* ATTR_UNUSED(tube), in worker_handle_control_cmd()
1598 uint8_t* ATTR_UNUSED(buffer), size_t ATTR_UNUSED(len), in worker_handle_control_cmd()
1599 int ATTR_UNUSED(error), void* ATTR_UNUSED(arg)) in worker_handle_control_cmd()
1604 int worker_handle_request(struct comm_point* ATTR_UNUSED(c), in worker_handle_request()
1605 void* ATTR_UNUSED(arg), int ATTR_UNUSED(error), in worker_handle_request()
1606 struct comm_reply* ATTR_UNUSED(repinfo)) in worker_handle_request()
1612 int worker_handle_service_reply(struct comm_point* ATTR_UNUSED(c), in worker_handle_service_reply()
1613 void* ATTR_UNUSED(arg), int ATTR_UNUSED(error), in worker_handle_service_reply()
[all …]
/openbsd/src/sbin/unwind/libunbound/libunbound/
Dlibworker.c312 libworker_handle_control_cmd(struct tube* ATTR_UNUSED(tube), in libworker_handle_control_cmd()
925 void worker_handle_control_cmd(struct tube* ATTR_UNUSED(tube), in worker_handle_control_cmd()
926 uint8_t* ATTR_UNUSED(buffer), size_t ATTR_UNUSED(len), in worker_handle_control_cmd()
927 int ATTR_UNUSED(error), void* ATTR_UNUSED(arg)) in worker_handle_control_cmd()
932 int worker_handle_request(struct comm_point* ATTR_UNUSED(c), in worker_handle_request()
933 void* ATTR_UNUSED(arg), int ATTR_UNUSED(error), in worker_handle_request()
934 struct comm_reply* ATTR_UNUSED(repinfo)) in worker_handle_request()
940 int worker_handle_service_reply(struct comm_point* ATTR_UNUSED(c), in worker_handle_service_reply()
941 void* ATTR_UNUSED(arg), int ATTR_UNUSED(error), in worker_handle_service_reply()
942 struct comm_reply* ATTR_UNUSED(reply_info)) in worker_handle_service_reply()
[all …]
/openbsd/src/usr.sbin/unbound/libunbound/
Dlibworker.c312 libworker_handle_control_cmd(struct tube* ATTR_UNUSED(tube), in libworker_handle_control_cmd()
925 void worker_handle_control_cmd(struct tube* ATTR_UNUSED(tube), in worker_handle_control_cmd()
926 uint8_t* ATTR_UNUSED(buffer), size_t ATTR_UNUSED(len), in worker_handle_control_cmd()
927 int ATTR_UNUSED(error), void* ATTR_UNUSED(arg)) in worker_handle_control_cmd()
932 int worker_handle_request(struct comm_point* ATTR_UNUSED(c), in worker_handle_request()
933 void* ATTR_UNUSED(arg), int ATTR_UNUSED(error), in worker_handle_request()
934 struct comm_reply* ATTR_UNUSED(repinfo)) in worker_handle_request()
940 int worker_handle_service_reply(struct comm_point* ATTR_UNUSED(c), in worker_handle_service_reply()
941 void* ATTR_UNUSED(arg), int ATTR_UNUSED(error), in worker_handle_service_reply()
942 struct comm_reply* ATTR_UNUSED(reply_info)) in worker_handle_service_reply()
[all …]
/openbsd/src/usr.sbin/nsd/
Drdata.c80 rr_type* ATTR_UNUSED(rr)) in rdata_dname_to_string()
91 rr_type* ATTR_UNUSED(rr)) in rdata_dns_name_to_string()
128 rr_type* ATTR_UNUSED(rr)) in rdata_text_to_string()
152 rr_type* ATTR_UNUSED(rr)) in rdata_texts_to_string()
180 rr_type* ATTR_UNUSED(rr)) in rdata_long_text_to_string()
204 rr_type* ATTR_UNUSED(rr)) in rdata_tag_to_string()
220 rr_type* ATTR_UNUSED(rr)) in rdata_byte_to_string()
229 rr_type* ATTR_UNUSED(rr)) in rdata_short_to_string()
238 rr_type* ATTR_UNUSED(rr)) in rdata_long_to_string()
247 rr_type* ATTR_UNUSED(rr)) in rdata_a_to_string()
[all …]
Dnsd-checkzone.c115 int writepid(struct nsd * ATTR_UNUSED(nsd)) in writepid()
119 void unlinkpid(const char * ATTR_UNUSED(file)) in unlinkpid()
122 void bind8_stats(struct nsd * ATTR_UNUSED(nsd)) in bind8_stats()
126 void sig_handler(int ATTR_UNUSED(sig)) in sig_handler()
Dnsd-mem.c218 int writepid(struct nsd * ATTR_UNUSED(nsd)) in writepid()
222 void unlinkpid(const char * ATTR_UNUSED(file)) in unlinkpid()
225 void bind8_stats(struct nsd * ATTR_UNUSED(nsd)) in bind8_stats()
229 void sig_handler(int ATTR_UNUSED(sig)) in sig_handler()
Dnsd-control.c52 int zonec_parse_string(struct region* ATTR_UNUSED(region), in zonec_parse_string()
53 struct domain_table* ATTR_UNUSED(domains), in zonec_parse_string()
54 struct zone* ATTR_UNUSED(zone), char* ATTR_UNUSED(str), in zonec_parse_string()
55 struct domain** ATTR_UNUSED(parsed), int* ATTR_UNUSED(num_rrs)) in zonec_parse_string()
Dmini_event.c295 struct timeval* ATTR_UNUSED(tv)) in event_base_loopexit()
417 signal_add(struct event* ev, struct timeval* ATTR_UNUSED(tv)) in signal_add()
445 mini_ev_cmp(const void* ATTR_UNUSED(a), const void* ATTR_UNUSED(b)) in mini_ev_cmp()
/openbsd/src/sbin/unwind/libunbound/util/
Dtube.c150 struct comm_reply* ATTR_UNUSED(reply_info)) in tube_handle_listen()
226 struct comm_reply* ATTR_UNUSED(reply_info)) in tube_handle_write()
520 void tube_handle_signal(int ATTR_UNUSED(fd), short ATTR_UNUSED(events), in tube_handle_signal()
521 void* ATTR_UNUSED(arg)) in tube_handle_signal()
570 void tube_close_read(struct tube* ATTR_UNUSED(tube)) in tube_close_read()
575 void tube_close_write(struct tube* ATTR_UNUSED(tube)) in tube_close_write()
607 int ATTR_UNUSED(nonblock)) in tube_write_msg()
709 int tube_read_fd(struct tube* ATTR_UNUSED(tube)) in tube_read_fd()
716 tube_handle_listen(struct comm_point* ATTR_UNUSED(c), void* ATTR_UNUSED(arg), in tube_handle_listen()
717 int ATTR_UNUSED(error), struct comm_reply* ATTR_UNUSED(reply_info)) in tube_handle_listen()
[all …]
Drandom.c83 ub_initstate(struct ub_randstate* ATTR_UNUSED(from)) in ub_initstate()
94 ub_random(struct ub_randstate* ATTR_UNUSED(s)) in ub_random()
115 struct ub_randstate* ub_initstate(struct ub_randstate* ATTR_UNUSED(from)) in ub_initstate()
125 long int ub_random(struct ub_randstate* ATTR_UNUSED(state)) in ub_random()
150 struct ub_randstate* ub_initstate(struct ub_randstate* ATTR_UNUSED(from)) in ub_initstate()
Dmini_event.c253 struct timeval* ATTR_UNUSED(tv)) in event_base_loopexit()
370 int signal_add(struct event* ev, struct timeval* ATTR_UNUSED(tv)) in signal_add()
395 int mini_ev_cmp(const void* ATTR_UNUSED(a), const void* ATTR_UNUSED(b)) in mini_ev_cmp()
/openbsd/src/usr.sbin/unbound/util/
Dtube.c150 struct comm_reply* ATTR_UNUSED(reply_info)) in tube_handle_listen()
226 struct comm_reply* ATTR_UNUSED(reply_info)) in tube_handle_write()
520 void tube_handle_signal(int ATTR_UNUSED(fd), short ATTR_UNUSED(events), in tube_handle_signal()
521 void* ATTR_UNUSED(arg)) in tube_handle_signal()
570 void tube_close_read(struct tube* ATTR_UNUSED(tube)) in tube_close_read()
575 void tube_close_write(struct tube* ATTR_UNUSED(tube)) in tube_close_write()
607 int ATTR_UNUSED(nonblock)) in tube_write_msg()
709 int tube_read_fd(struct tube* ATTR_UNUSED(tube)) in tube_read_fd()
716 tube_handle_listen(struct comm_point* ATTR_UNUSED(c), void* ATTR_UNUSED(arg), in tube_handle_listen()
717 int ATTR_UNUSED(error), struct comm_reply* ATTR_UNUSED(reply_info)) in tube_handle_listen()
[all …]
Drandom.c83 ub_initstate(struct ub_randstate* ATTR_UNUSED(from)) in ub_initstate()
94 ub_random(struct ub_randstate* ATTR_UNUSED(s)) in ub_random()
115 struct ub_randstate* ub_initstate(struct ub_randstate* ATTR_UNUSED(from)) in ub_initstate()
125 long int ub_random(struct ub_randstate* ATTR_UNUSED(state)) in ub_random()
150 struct ub_randstate* ub_initstate(struct ub_randstate* ATTR_UNUSED(from)) in ub_initstate()
Dmini_event.c253 struct timeval* ATTR_UNUSED(tv)) in event_base_loopexit()
370 int signal_add(struct event* ev, struct timeval* ATTR_UNUSED(tv)) in signal_add()
395 int mini_ev_cmp(const void* ATTR_UNUSED(a), const void* ATTR_UNUSED(b)) in mini_ev_cmp()
/openbsd/src/usr.sbin/unbound/daemon/
Dworker.c117 worker_mem_report(struct worker* ATTR_UNUSED(worker), in worker_mem_report()
118 struct serviced_query* ATTR_UNUSED(cur_serv)) in worker_mem_report()
375 worker_handle_control_cmd(struct tube* ATTR_UNUSED(tube), uint8_t* msg, in worker_handle_control_cmd()
2433 struct query_info* ATTR_UNUSED(qinfo), in libworker_send_query()
2434 uint16_t ATTR_UNUSED(flags), int ATTR_UNUSED(dnssec), in libworker_send_query()
2435 int ATTR_UNUSED(want_dnssec), int ATTR_UNUSED(nocaps), in libworker_send_query()
2436 int ATTR_UNUSED(check_ratelimit), in libworker_send_query()
2437 struct sockaddr_storage* ATTR_UNUSED(addr), socklen_t ATTR_UNUSED(addrlen), in libworker_send_query()
2438 uint8_t* ATTR_UNUSED(zone), size_t ATTR_UNUSED(zonelen), int ATTR_UNUSED(tcp_upstream), in libworker_send_query()
2439 int ATTR_UNUSED(ssl_upstream), char* ATTR_UNUSED(tls_auth_name), in libworker_send_query()
[all …]
/openbsd/src/usr.sbin/unbound/edns-subnet/
Dsubnetmod.c66 subnet_data_delete(void *d, void *ATTR_UNUSED(arg)) in subnet_data_delete()
144 uint16_t ATTR_UNUSED(flags), struct module_qstate* qstate, in ecs_whitelist_check()
146 uint8_t* ATTR_UNUSED(zone), size_t ATTR_UNUSED(zonelen), in ecs_whitelist_check()
147 struct regional *region, int id, void* ATTR_UNUSED(cbargs)) in ecs_whitelist_check()
720 int id, void* ATTR_UNUSED(cbargs)) in ecs_query_response()
772 void* ATTR_UNUSED(cbargs)) in ecs_edns_back_parsed()
971 subnetmod_clear(struct module_qstate *ATTR_UNUSED(qstate), in subnetmod_clear()
972 int ATTR_UNUSED(id)) in subnetmod_clear()
978 subnetmod_inform_super(struct module_qstate *ATTR_UNUSED(qstate), in subnetmod_inform_super()
979 int ATTR_UNUSED(id), struct module_qstate *ATTR_UNUSED(super)) in subnetmod_inform_super()
/openbsd/src/sbin/unwind/libunbound/util/storage/
Dslabhash.c198 size_t test_slabhash_sizefunc(void* ATTR_UNUSED(key), void* ATTR_UNUSED(data)) in test_slabhash_sizefunc()
215 void test_slabhash_delkey(void* key, void* ATTR_UNUSED(arg)) in test_slabhash_delkey()
220 void test_slabhash_deldata(void* data, void* ATTR_UNUSED(arg)) in test_slabhash_deldata()
/openbsd/src/usr.sbin/unbound/util/storage/
Dslabhash.c198 size_t test_slabhash_sizefunc(void* ATTR_UNUSED(key), void* ATTR_UNUSED(data)) in test_slabhash_sizefunc()
215 void test_slabhash_delkey(void* key, void* ATTR_UNUSED(arg)) in test_slabhash_delkey()
220 void test_slabhash_deldata(void* data, void* ATTR_UNUSED(arg)) in test_slabhash_deldata()
/openbsd/src/usr.sbin/unbound/ipset/
Dipset.c387 void ipset_deinit(struct module_env *ATTR_UNUSED(env), int ATTR_UNUSED(id)) { in ipset_deinit()
462 void ipset_inform_super(struct module_qstate *ATTR_UNUSED(qstate), in ipset_inform_super()
463 int ATTR_UNUSED(id), struct module_qstate *ATTR_UNUSED(super)) { in ipset_inform_super()
/openbsd/src/sbin/unwind/libunbound/
Dconfig.h1276 # define ATTR_UNUSED(x) x macro
1278 # define ATTR_UNUSED(x) macro
1280 # define ATTR_UNUSED(x) x __attribute__((unused)) macro
1282 # define ATTR_UNUSED(x) x macro
/openbsd/src/usr.sbin/unbound/dnscrypt/
Ddnscrypt.c1033 dnsc_shared_secrets_sizefunc(void *k, void* ATTR_UNUSED(d)) in dnsc_shared_secrets_sizefunc()
1050 dnsc_shared_secrets_delkeyfunc(void *k, void* ATTR_UNUSED(arg)) in dnsc_shared_secrets_delkeyfunc()
1058 dnsc_shared_secrets_deldatafunc(void* d, void* ATTR_UNUSED(arg)) in dnsc_shared_secrets_deldatafunc()
1071 dnsc_nonces_sizefunc(void *k, void* ATTR_UNUSED(d)) in dnsc_nonces_sizefunc()
1099 dnsc_nonces_delkeyfunc(void *k, void* ATTR_UNUSED(arg)) in dnsc_nonces_delkeyfunc()
1107 dnsc_nonces_deldatafunc(void* ATTR_UNUSED(d), void* ATTR_UNUSED(arg)) in dnsc_nonces_deldatafunc()

12345