Searched defs:client (Results 1 - 25 of 49) sorted by relevance

12

/bind-9.11.3/bin/named/
H A Dlwderror.c22 * Generate an error packet for the client, schedule a send, and put us in
25 * The client->pkt structure will be modified to form an error return.
34 ns_lwdclient_errorpktsend(ns_lwdclient_t *client, isc_uint32_t _result) { argument
40 REQUIRE(NS_LWDCLIENT_ISRUNNING(client));
47 client->pkt.length = LWRES_LWPACKET_LENGTH;
48 client->pkt.pktflags |= LWRES_LWPACKETFLAG_RESPONSE;
49 client->pkt.recvlength = LWRES_RECVLENGTH;
50 client->pkt.authtype = 0; /* XXXMLG */
51 client->pkt.authlength = 0;
52 client
[all...]
H A Dlwdnoop.c22 ns_lwdclient_processnoop(ns_lwdclient_t *client, lwres_buffer_t *b) { argument
30 REQUIRE(NS_LWDCLIENT_ISRECVDONE(client));
31 INSIST(client->byaddr == NULL);
35 result = lwres_nooprequest_parse(client->clientmgr->lwctx,
36 b, &client->pkt, &req);
40 client->pkt.recvlength = LWRES_RECVLENGTH;
41 client->pkt.authtype = 0; /* XXXMLG */
42 client->pkt.authlength = 0;
43 client->pkt.result = LWRES_R_SUCCESS;
48 lwres = lwres_noopresponse_render(client
[all...]
H A Dlwdgnba.c30 ns_lwdclient_t *client; local
46 client = event->ev_arg;
47 cm = client->clientmgr;
48 INSIST(client->byaddr == (dns_byaddr_t *)event->ev_sender);
51 gnba = &client->gnba;
58 dns_byaddr_destroy(&client->byaddr);
62 if (client->na.family != AF_INET6 ||
63 (client->options & DNS_BYADDROPT_IPV6INT) != 0) {
71 ns_lwdclient_errorpktsend(client, lwresult);
79 client
151 start_byaddr(ns_lwdclient_t *client) argument
169 init_gnba(ns_lwdclient_t *client) argument
198 ns_lwdclient_processgnba(ns_lwdclient_t *client, lwres_buffer_t *b) argument
[all...]
H A Dnotify.c33 notify_log(ns_client_t *client, int level, const char *fmt, ...) { argument
37 ns_client_logv(client, DNS_LOGCATEGORY_NOTIFY, NS_LOGMODULE_NOTIFY,
43 respond(ns_client_t *client, isc_result_t result) { argument
48 message = client->message;
55 ns_client_next(client, msg_result);
63 ns_client_send(client);
67 ns_notify_start(ns_client_t *client) { argument
68 dns_message_t *request = client->message;
82 notify_log(client, ISC_LOG_NOTICE,
95 notify_log(client, ISC_LOG_NOTIC
[all...]
H A Dlwdclient.c51 ns_lwdclient_t *client; local
83 client = isc_mem_get(lwresd->mctx, sizeof(ns_lwdclient_t));
84 if (client != NULL) {
85 ns_lwdclient_log(50, "created client %p, manager %p",
86 client, cm);
87 ns_lwdclient_initialize(client, cm);
117 client = ISC_LIST_HEAD(cm->idle);
118 while (client != NULL) {
119 ISC_LIST_UNLINK(cm->idle, client, link);
120 isc_mem_put(lwresd->mctx, client, sizeo
139 ns_lwdclient_t *client; local
184 process_request(ns_lwdclient_t *client) argument
228 ns_lwdclient_t *client = ev->ev_arg; local
285 ns_lwdclient_t *client; local
356 ns_lwdclient_t *client; local
413 ns_lwdclient_stateidle(ns_lwdclient_t *client) argument
443 ns_lwdclient_t *client = ev->ev_arg; local
468 ns_lwdclient_sendreply(ns_lwdclient_t *client, isc_region_t *r) argument
481 ns_lwdclient_initialize(ns_lwdclient_t *client, ns_lwdclientmgr_t *cmgr) argument
[all...]
H A Dlwdgabn.c48 cleanup_gabn(ns_lwdclient_t *client) { argument
49 ns_lwdclient_log(50, "cleaning up client %p", client);
51 if (client->v6find != NULL) {
52 if (client->v6find == client->v4find)
53 client->v6find = NULL;
55 dns_adb_destroyfind(&client->v6find);
57 if (client->v4find != NULL)
58 dns_adb_destroyfind(&client
62 setup_addresses(ns_lwdclient_t *client, dns_adbfind_t *find, unsigned int at) argument
111 sort_addresses(ns_lwdclient_t *client) argument
155 generate_reply(ns_lwdclient_t *client) argument
268 add_alias(ns_lwdclient_t *client) argument
303 store_realname(ns_lwdclient_t *client) argument
333 ns_lwdclient_t *client = ev->ev_arg; local
396 restart_find(ns_lwdclient_t *client) argument
517 start_find(ns_lwdclient_t *client) argument
535 init_gabn(ns_lwdclient_t *client) argument
589 ns_lwdclient_processgabn(ns_lwdclient_t *client, lwres_buffer_t *b) argument
[all...]
H A Dlwdgrbn.c184 ns_lwdclient_t *client; local
203 client = event->ev_arg;
204 cm = client->clientmgr;
205 INSIST(client->lookup == (dns_lookup_t *)event->ev_sender);
208 grbn = &client->grbn;
215 dns_lookup_destroy(&client->lookup);
222 result = ns_lwsearchctx_next(&client->searchctx);
226 start_lookup(client);
237 ns_lwdclient_errorpktsend(client, lwresult);
242 b = client
387 start_lookup(ns_lwdclient_t *client) argument
422 init_grbn(ns_lwdclient_t *client) argument
437 ns_lwdclient_processgrbn(ns_lwdclient_t *client, lwres_buffer_t *b) argument
[all...]
/bind-9.11.3/contrib/dlz/modules/include/
H A Ddlz_dbi.h59 * special tokens are %zone%, %record%, %client%
86 char *client; member in struct:dbinstance
100 char **client, query_list_t **querylist, unsigned int flags,
/bind-9.11.3/lib/samples/
H A Dsample-request.c38 #include <dns/client.h>
145 dns_client_t *client = NULL; local
182 result = dns_client_create(&client, 0);
236 result = dns_client_request(client, qmessage, rmessage, &sa, 0, 0,
260 dns_client_destroy(&client);
H A Dsample-async.c40 #include <dns/client.h>
51 static dns_client_t *client = NULL; variable
176 dns_client_freeresanswer(client, &rev->answerlist);
229 result = dns_client_startresolve(client, trans->qname,
340 timermgr, 0, &client);
357 result = dns_client_setservers(client, dns_rdataclass_in, NULL,
395 dns_client_destroy(&client);
H A Dresolve.c43 #include <dns/client.h>
97 set_key(dns_client_t *client, char *keynamestr, char *keystr, argument
167 result = dns_client_addtrustedkey(client, dns_rdataclass_in,
177 addserver(dns_client_t *client, const char *addrstr, const char *port, argument
223 result = dns_client_setservers(client, dns_rdataclass_in, name,
239 dns_client_t *client = NULL; local
394 clientopt, &client, addr4, addr6);
413 result = dns_client_setservers(client, dns_rdataclass_in,
423 addserver(client, server, port, NULL);
428 addserver(client, altserveradd
[all...]
/bind-9.11.3/contrib/dlz/drivers/
H A Ddlz_stub_driver.c105 const char *client)
110 UNUSED(client);
104 stub_dlz_allowzonexfr(void *driverarg, void *dbdata, const char *name, const char *client) argument
H A Dsdlz_helper.c84 * %zone%, or %record%, or %client%
100 char **record, char **client, query_list_t **querylist,
199 /* check if we encountered "$client$" token */
200 } else if (strcasecmp(tseg->sql, "client") == 0) {
202 * we don't really need, or want the "client"
207 tseg->sql = (char**) client;
222 /* if this query requires %client%, make sure we found it */
227 "Required token $client$ not found.");
272 * dynamic segments replace where the tokens %zone%, %record%, %client%
348 db->client
99 build_querylist(isc_mem_t *mctx, const char *query_str, char **zone, char **record, char **client, query_list_t **querylist, unsigned int flags) argument
[all...]
H A Ddlz_bdb_driver.c91 DB *client; /*%< client database handle */ member in struct:bdb_instance
213 const char *client)
236 data.data = strdup(client);
244 if (db->client->cursor(db->client, NULL, &client_cursor, 0) != 0) {
370 if (db->client != NULL)
371 db->client->close(db->client, 0);
688 result = bdb_opendb(db->dbenv, DB_UNKNOWN, &db->client,
212 bdb_allowzonexfr(void *driverarg, void *dbdata, const char *name, const char *client) argument
[all...]
H A Ddlz_mysql_driver.c115 * and client strings are passed in (or NULL is passed if the
125 const char *client, unsigned int query,
250 * was a client string passed? If so, make it safe for use in
253 if (client != NULL) {
254 dbi->client = mysqldrv_escape_string((MYSQL *) dbi->dbconn,
255 client);
256 if (dbi->client == NULL) {
261 dbi->client = NULL;
349 /* free dbi->client string */
350 if (dbi->client !
124 mysql_get_resultset(const char *zone, const char *record, const char *client, unsigned int query, void *dbdata, MYSQL_RES **rs) argument
537 mysql_allowzonexfr(void *driverarg, void *dbdata, const char *name, const char *client) argument
[all...]
H A Ddlz_postgres_driver.c261 * and client strings are passed in (or NULL is passed if the
277 const char *client, unsigned int query,
442 * was a client string passed? If so, make it safe for use in
445 if (client != NULL) {
446 dbi->client = postgres_escape_string(client);
447 if (dbi->client == NULL) {
452 dbi->client = NULL;
459 "%d did client", dlz_thread_num);
598 /* free dbi->client strin
276 postgres_get_resultset(const char *zone, const char *record, const char *client, unsigned int query, void *dbdata, PGresult **rs) argument
807 postgres_allowzonexfr(void *driverarg, void *dbdata, const char *name, const char *client) argument
[all...]
H A Ddlz_bdbhpt_driver.c90 DB *client; /*%< client database handle */ member in struct:bdbhpt_instance
240 const char *client)
262 data.data = strdup(client);
269 switch(db->client->get(db->client, NULL, &key, &data, DB_GET_BOTH)) {
460 if (db->client != NULL)
461 db->client->close(db->client, 0);
775 result = bdbhpt_opendb(db->dbenv, DB_UNKNOWN, &db->client,
239 bdbhpt_allowzonexfr(void *driverarg, void *dbdata, const char *name, const char *client) argument
[all...]
H A Ddlz_filesystem_driver.c136 * colon needs to be allowed for IPV6 client
221 create_path(const char *zone, const char *host, const char *client, argument
237 * client and host may both be NULL, but they can't both be
240 REQUIRE( (host == NULL && client == NULL) ||
241 (host != NULL && client == NULL) ||
242 (host == NULL && client != NULL) );
256 /* if client was passed, verify that it is safe */
257 if (client != NULL && !is_safe(client))
263 else if (client !
588 fs_allowzonexfr(void *driverarg, void *dbdata, const char *name, const char *client) argument
[all...]
/bind-9.11.3/contrib/dlz/drivers/include/dlz/
H A Dsdlz_helper.h55 * special tokens are %zone%, %record%, %client%
82 char *client; member in struct:dbinstance
/bind-9.11.3/contrib/dlz/modules/common/
H A Ddlz_dbi.c79 * %zone%, or %record%, or %client%
95 char **client, query_list_t **querylist, unsigned int flags,
189 /* check if we encountered "$client$" token */
190 } else if (strcasecmp(tseg->cmd, "client") == 0) {
192 * we don't really need, or want the "client"
197 tseg->cmd = (char**) client;
212 /* if this query requires %client%, make sure we found it */
217 "Required token $client$ not found.");
261 * dynamic segments replace where the tokens %zone%, %record%, %client%
329 db->client
94 build_querylist(const char *query_str, char **zone, char **record, char **client, query_list_t **querylist, unsigned int flags, log_t log) argument
[all...]
/bind-9.11.3/lib/dns/include/dns/
H A Dresolver.h58 * 'rdataset', 'sigrdataset', 'client' and 'id' are the values that were
72 isc_sockaddr_t * client; member in struct:dns_fetchevent
278 isc_sockaddr_t *client, isc_uint16_t id,
289 isc_sockaddr_t *client, isc_uint16_t id,
318 *\li 'client' and 'id' are used for duplicate query detection. '*client'
337 *\li 'client' is a valid sockaddr or NULL.
/bind-9.11.3/lib/irs/
H A Dcontext.c24 #include <dns/client.h>
214 dns_client_t *client = NULL; local
252 /* Create a DNS client object */
254 0, &client);
257 context->dnsclient = client;
265 result = dns_client_setservers(client, dns_rdataclass_in, NULL,
278 result = dns_client_addtrustedkey(client, dns_rdataclass_in,
297 if (client != NULL)
298 dns_client_destroy(&client);
H A Dgetnameinfo.c100 #include <dns/client.h>
274 dns_client_t *client; local
282 /* Get IRS context and the associated DNS client object */
286 client = irs_context_getdnsclient(irsctx);
298 iresult = dns_client_resolve(client, ptrname,
379 dns_client_freeresanswer(client, &answerlist);
/bind-9.11.3/contrib/dlz/modules/perl/
H A Ddlz_perl_driver.c253 dlz_allowzonexfr(void *dbdata, const char *name, const char *client) { argument
269 XPUSHs(sv_2mortal(newSVpv(client, 0)));
/bind-9.11.3/bin/tests/
H A Dadb_test.c37 typedef struct client client_t;
38 struct client { struct
82 client_t *client; local
84 client = isc_mempool_get(cmp);
85 INSIST(client != NULL);
86 dns_name_init(&client->name, NULL);
87 ISC_LINK_INIT(client, link);
88 client->find = NULL;
90 return (client);
95 client_t *client; local
120 client_t *client; local
234 client_t *client; local
[all...]

Completed in 50 milliseconds

12