Searched refs:nsd (Results 1 - 25 of 65) sorted by relevance

123

/netbsd-current/external/bsd/nsd/dist/
H A Dxfrd-disk.h14 struct nsd;
25 void xfrd_make_tempdir(struct nsd* nsd);
27 void xfrd_del_tempdir(struct nsd* nsd);
29 FILE* xfrd_open_xfrfile(struct nsd* nsd, uint64_t number, char* mode);
31 void xfrd_unlink_xfrfile(struct nsd* nsd, uint64_t number);
33 uint64_t xfrd_get_xfrfile_size(struct nsd* ns
[all...]
H A Daxfr.h13 #include "nsd.h"
22 query_state_type answer_axfr_ixfr(struct nsd *nsd, struct query *q);
23 query_state_type query_axfr(struct nsd *nsd, struct query *query, int wstats);
H A Dnsd.c2 * nsd.c -- nsd(8)
51 #include "nsd.h"
63 struct nsd nsd; variable in typeref:struct:nsd
75 fprintf(stderr, "Usage: nsd [OPTION]...\n");
164 size = ((INET6_ADDRSTRLEN + 1 + 5 + 1) * nsd.verify_ifs) + 1;
168 for(i = 0; i < nsd.verify_ifs; i++) {
170 (struct sockaddr *)&nsd.verify_udp[i].addr.ai_addr,
171 nsd
687 writepid(struct nsd *nsd) argument
831 bind8_stats(struct nsd *nsd) argument
895 cookie_secret_file_read(nsd_type* nsd) argument
[all...]
H A Dnsd.h2 * nsd.h -- nsd(8) definitions and prototypes
68 * port53 is free when all of nsd's processes have exited at shutdown time
72 * This is the exit code of a nsd "new master" child process to indicate to
96 #define STATUP(nsd, stc) nsd->st->stc++
97 /* #define STATUP2(nsd, stc, i) ((i) <= (LASTELEM(nsd->st->stc) - 1)) ? nsd->st->stc[(i)]++ : \
98 nsd
217 struct nsd struct
[all...]
H A Dipc.h15 struct nsd;
28 struct nsd *nsd; member in struct:main_ipc_handler_data
43 * Data for ipc handler, nsd and a conn for reading ipc msgs.
49 struct nsd *nsd; member in struct:ipc_handler_conn_data
88 void parent_check_all_children_exited(struct nsd* nsd);
H A Dnsd-checkzone.c2 * nsd-checkzone.c -- nsd-checkzone(8) checks zones for syntax errors
20 #include "nsd.h"
28 struct nsd nsd; variable in typeref:struct:nsd
37 fprintf(stderr, "Usage: nsd-checkzone [-p] <zone name> <zone file>\n");
47 check_zone(struct nsd* nsd, const char* name, const char* fname, FILE *out, argument
57 nsd->db = namedb_open(nsd
142 struct nsd nsd; local
[all...]
H A Dserver.c2 * server.c -- nsd(8) network input/output
150 struct nsd *nsd; member in struct:udp_handler_data
158 struct nsd *nsd; member in struct:tcp_accept_handler_data
228 * The global nsd structure.
230 struct nsd* nsd; member in struct:tcp_handler_data
360 static void send_children_quit(struct nsd* nsd);
412 delete_child_pid(struct nsd *nsd, pid_t pid) argument
435 restart_child_servers(struct nsd *nsd, region_type* region, netio_type* netio, int* xfrd_sock_p) argument
529 set_bind8_alarm(struct nsd* nsd) argument
539 zonestatid_tree_set(struct nsd* nsd) argument
550 server_zonestat_alloc(struct nsd* nsd) argument
632 zonestat_remap(struct nsd* nsd, int idx, size_t sz) argument
663 server_zonestat_realloc(struct nsd* nsd) argument
699 server_zonestat_switch(struct nsd* nsd) argument
713 server_stat_alloc(struct nsd* nsd) argument
768 server_stat_free(struct nsd* nsd) argument
783 initialize_dname_compression_tables(struct nsd *nsd) argument
1260 open_udp_socket(struct nsd *nsd, struct nsd_socket *sock, int *reuseport_works) argument
1334 open_tcp_socket(struct nsd *nsd, struct nsd_socket *sock, int *reuseport_works) argument
1412 server_init(struct nsd *nsd) argument
1483 server_prepare(struct nsd *nsd) argument
1551 server_start_children(struct nsd *nsd, region_type* region, netio_type* netio, int* xfrd_sock_p) argument
1589 server_shutdown(struct nsd *nsd) argument
1638 server_prepare_xfrd(struct nsd* nsd) argument
1688 server_start_xfrd(struct nsd *nsd, int del_db, int reload_active) argument
1761 add_all_soa_to_task(struct nsd* nsd, struct udb_base* taskudb) argument
1774 server_send_soa_xfrd(struct nsd* nsd, int shortsoa) argument
2146 server_tls_ctx_create(struct nsd* nsd, char* verifypem, char* ocspfile) argument
2207 block_read(struct nsd* nsd, int s, void* p, ssize_t sz, int timeout) argument
2260 reload_process_tasks(struct nsd* nsd, udb_ptr* last_task, int cmdsocket) argument
2310 server_reload(struct nsd *nsd, region_type* server_region, netio_type* netio, int cmdsocket) argument
2495 server_signal_mode(struct nsd *nsd) argument
2536 server_main(struct nsd *nsd) argument
2910 server_process_query(struct nsd *nsd, struct query *query, uint32_t *now_p) argument
2916 server_process_query_udp(struct nsd *nsd, struct query *query, uint32_t *now_p) argument
3004 add_udp_handler( struct nsd *nsd, struct nsd_socket *sock, struct udp_handler_data *data) argument
3029 add_tcp_handler( struct nsd *nsd, struct nsd_socket *sock, struct tcp_accept_handler_data *data) argument
3073 server_verify(struct nsd *nsd, int cmdsocket) argument
3204 server_child(struct nsd *nsd) argument
3424 service_remaining_tcp(struct nsd* nsd) argument
5214 send_children_command(struct nsd* nsd, sig_atomic_t command, int timeout) argument
5242 send_children_quit(struct nsd* nsd) argument
5249 send_children_quit_and_wait(struct nsd* nsd) argument
5257 set_children_stats(struct nsd* nsd) argument
[all...]
H A Dnsd-mem.c2 * nsd-mem.c -- nsd-mem(8)
20 #include "nsd.h"
27 struct nsd nsd; variable in typeref:struct:nsd
36 fprintf(stderr, "Usage: nsd-mem [-c configfile]\n");
159 struct nsd nsd; local
171 memset(&nsd, 0, sizeof(nsd));
241 struct nsd nsd; local
[all...]
H A Dverify.h59 struct nsd *nsd; member in struct:verifier
70 struct zone *verify_next_zone(struct nsd *nsd, struct zone *zone);
72 void verify_zone(struct nsd *nsd, struct zone *zone);
H A Dixfrcreate.h14 struct nsd;
46 int append_mem, struct nsd* nsd, const char* zfile,
59 void ixfr_readup_exist(struct zone* zone, struct nsd* nsd, const char* zfile);
H A Dedns.h14 struct nsd;
93 struct query* q, struct nsd* nsd);
103 void cookie_verify(struct query *q, struct nsd* nsd, uint32_t *now_p);
104 void cookie_create(struct query *q, struct nsd* nsd, uint32_t *now_p);
H A Dverify.c28 #include "nsd.h"
34 struct zone *verify_next_zone(struct nsd *nsd, struct zone *zone) argument
42 node = radix_first(nsd->db->zonetree);
49 verify = nsd->options->verify_zones;
270 struct nsd *nsd; local
276 nsd = (struct nsd *)arg;
277 if(write(nsd
294 struct nsd *nsd; local
369 struct nsd *nsd = (struct nsd *)arg; local
413 verify_zone(struct nsd *nsd, struct zone *zone) argument
[all...]
/netbsd-current/external/bsd/nsd/sbin/
H A DMakefile6 nsd \
7 nsd-checkconf \
8 nsd-checkzone \
9 nsd-control \
10 nsd-control-setup
/netbsd-current/external/bsd/nsd/sbin/nsd-checkconf/
H A DMakefile3 PROG=nsd-checkconf
/netbsd-current/external/bsd/nsd/sbin/nsd-control-setup/
H A DMakefile3 SCRIPTS=nsd-control-setup
/netbsd-current/external/bsd/nsd/etc/
H A DMakefile5 FILESDIR= /usr/share/examples/nsd
7 FILES= nsd.conf
10 nsd.conf: nsd.conf.sample.in __subst
11 CLEANFILES+= nsd.conf
/netbsd-current/external/bsd/nsd/dist/dnstap/
H A Ddnstap_collector.h2 * dnstap/dnstap_collector.h -- nsd collector process for dnstap information
13 struct nsd;
59 struct dt_collector* dt_collector_create(struct nsd* nsd);
61 void dt_collector_destroy(struct dt_collector* dt_col, struct nsd* nsd);
63 void dt_collector_close(struct dt_collector* dt_col, struct nsd* nsd);
65 void dt_collector_start(struct dt_collector* dt_col, struct nsd* nsd);
[all...]
H A Ddnstap_collector.c2 * dnstap/dnstap_collector.c -- nsd collector process for dnstap information
30 #include "nsd.h"
40 struct dt_collector* dt_collector_create(struct nsd* nsd) argument
45 dt_col->count = nsd->child_count * 2;
58 /* open communication channels in struct nsd */
59 nsd->dt_collector_fd_send = (int*)xalloc_array_zero(dt_col->count,
61 nsd->dt_collector_fd_recv = (int*)xalloc_array_zero(dt_col->count,
94 nsd->dt_collector_fd_recv[i] = sv[0];
95 nsd
116 dt_collector_destroy(struct dt_collector* dt_col, struct nsd* nsd) argument
131 dt_collector_close(struct dt_collector* dt_col, struct nsd* nsd) argument
284 dt_init_dnstap(struct dt_collector* dt_col, struct nsd* nsd) argument
312 dt_collector_cleanup(struct dt_collector* dt_col, struct nsd* nsd) argument
338 dt_attach_events(struct dt_collector* dt_col, struct nsd* nsd) argument
388 dt_collector_run(struct dt_collector* dt_col, struct nsd* nsd) argument
406 dt_collector_start(struct dt_collector* dt_col, struct nsd* nsd) argument
539 dt_collector_submit_auth_query(struct nsd* nsd, struct sockaddr_storage* local_addr, struct sockaddr_storage* addr, socklen_t addrlen, int is_tcp, struct buffer* packet) argument
570 dt_collector_submit_auth_response(struct nsd* nsd, struct sockaddr_storage* local_addr, struct sockaddr_storage* addr, socklen_t addrlen, int is_tcp, struct buffer* packet, struct zone* zone) argument
[all...]
/netbsd-current/external/bsd/nsd/sbin/nsd-control/
H A DMakefile3 PROG=nsd-control
5 COPTS.nsd-control.c+= -Wno-error=deprecated-declarations
/netbsd-current/external/bsd/nsd/etc/rc.d/
H A DMakefile3 SCRIPTS=nsd
/netbsd-current/external/bsd/nsd/
H A DMakefile.inc29 -e s,@nsdconfigfile@,/etc/nsd/nsd.conf, \
30 -e s,@configdir@,/etc/nsd, \
31 -e s,@dbfile@,/var/db/nsd/nsd.db, \
32 -e s,@pidfile@,/var/run/nsd.pid, \
33 -e s,@zonelistfile@,/var/db/nsd/zone.list, \
36 -e s,@logfile@,/var/log/nsd.log, \
37 -e s,@xfrdfile@,/var/db/nsd/xfdr.state, \
39 -e s,@chrootdir@,/var/chroot/nsd, \
[all...]
/netbsd-current/external/bsd/nsd/dist/contrib/
H A Dnsd.spec2 Name: nsd
9 Source1: nsd.init
10 Source2: nsd.cron
31 --with-user=nsd --with-xfrdfile=%{_localstatedir}/lib/%{name}/ixfr.state
46 install -c -m 0755 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/cron.hourly/nsd
47 install -m 0755 %{SOURCE1} %{buildroot}/%{_initrddir}/nsd
52 head -76 %{buildroot}%{_sysconfdir}/nsd/nsd.conf.sample > %{buildroot}%{_sysconfdir}/nsd/nsd
[all...]
H A Dnsd.init15 configfile="/etc/nsd.conf"
36 # locate nsd-checkconf : in sbindir, PATH, nsdc_dir or .
38 if [ -e ${sbindir}/nsd-checkconf ]; then
39 nsd_checkconf=${sbindir}/nsd-checkconf
41 if which nsd-checkconf >/dev/null 2>&1 ; then
42 if which nsd-checkconf 2>&1 | grep "^[Nn]o " >/dev/null; then
45 nsd_checkconf=`which nsd-checkconf`
48 if [ -z "${nsd_checkconf}" -a -e `dirname $0`/nsd-checkconf ]; then
49 nsd_checkconf=`dirname $0`/nsd-checkconf
51 if [ -z "${nsd_checkconf}" -a -e ./nsd
[all...]
/netbsd-current/sys/compat/netbsd32/
H A Dnetbsd32_nfssvc.c93 nfssvc32_nsd_in(struct nfsd_srvargs *nsd, const void *argp) argument
100 nsd->nsd_nfsd = NETBSD32PTR64(args32.nsd_nfsd);
101 nsd->nsd_uid = args32.nsd_uid;
102 nsd->nsd_haddr = args32.nsd_haddr;
103 nsd->nsd_cr = args32.nsd_cr;
104 nsd->nsd_authlen = args32.nsd_authlen;
105 nsd->nsd_authstr = NETBSD32PTR64(args32.nsd_authstr);
106 nsd->nsd_verflen = args32.nsd_verflen;
107 nsd->nsd_uid = args32.nsd_uid;
108 netbsd32_to_timeval(&args32.nsd_timestamp, &nsd
118 nfssvc32_nsd_out(void *argp, const struct nfsd_srvargs *nsd) argument
[all...]
/netbsd-current/external/bsd/nsd/sbin/nsd-checkzone/
H A DMakefile3 PROG=nsd-checkzone
12 nsd-checkzone.c \

Completed in 402 milliseconds

123