Searched defs:req (Results 1 - 8 of 8) sorted by relevance

/bind-9.6-ESV-R11/bin/named/
H A Dlwdnoop.c32 lwres_nooprequest_t *req; local
42 req = NULL;
45 b, &client->pkt, &req);
54 resp.datalength = req->datalength;
55 resp.data = req->data;
73 lwres_nooprequest_free(client->clientmgr->lwctx, &req);
83 lwres_nooprequest_free(client->clientmgr->lwctx, &req);
H A Dlwdgnba.c208 lwres_gnbarequest_t *req; local
217 req = NULL;
220 b, &client->pkt, &req);
225 if (req->addr.family == LWRES_ADDRTYPE_V4) {
227 if (req->addr.length != 4)
229 memmove(&client->na.type.in, req->addr.address, 4);
230 } else if (req->addr.family == LWRES_ADDRTYPE_V6) {
232 if (req->addr.length != 16)
234 memmove(&client->na.type.in6, req->addr.address, 16);
241 client, req
[all...]
H A Dlwdgabn.c600 lwres_gabnrequest_t *req; local
607 req = NULL;
610 b, &client->pkt, &req);
613 if (req->name == NULL)
616 isc_buffer_init(&namebuf, req->name, req->namelen);
617 isc_buffer_add(&namebuf, req->namelen);
631 client->find_wanted = req->addrtypes;
638 lwres_gabnrequest_free(client->clientmgr->lwctx, &req);
653 if (req !
[all...]
H A Dlwdgrbn.c443 lwres_grbnrequest_t *req; local
452 req = NULL;
455 b, &client->pkt, &req);
458 if (req->name == NULL)
462 if (req->rdclass != cm->view->rdclass)
465 if (req->rdclass == dns_rdataclass_any ||
466 req->rdtype == dns_rdatatype_any)
469 client->rdtype = req->rdtype;
471 isc_buffer_init(&namebuf, req->name, req
[all...]
/bind-9.6-ESV-R11/lib/lwres/
H A Dlwres_noop.c60 * request structure req to canonical format. The packet header structure
61 * pkt is initialised and transferred to buffer b. The contents of *req
114 /*% Uses resolver context ctx to convert no-op request structure req to canonical format. */
116 lwres_nooprequest_render(lwres_context_t *ctx, lwres_nooprequest_t *req, argument
125 REQUIRE(req != NULL);
129 payload_length = sizeof(lwres_uint16_t) + req->datalength;
158 lwres_buffer_putuint16(b, req->datalength);
159 lwres_buffer_putmem(b, req->data, req->datalength);
169 lwres_noopresponse_render(lwres_context_t *ctx, lwres_noopresponse_t *req, argument
224 lwres_nooprequest_t *req; local
272 lwres_noopresponse_t *req; local
[all...]
H A Dlwres_gnba.c58 getnamebyaddr request structure req to canonical format. The packet
60 The contents of *req are then appended to the buffer in canonical
115 /*% Uses resolver context ctx to convert getnamebyaddr request structure req to canonical format. */
117 lwres_gnbarequest_render(lwres_context_t *ctx, lwres_gnbarequest_t *req, argument
126 REQUIRE(req != NULL);
127 REQUIRE(req->addr.family != 0);
128 REQUIRE(req->addr.length != 0);
132 payload_length = 4 + 4 + 2 + + req->addr.length;
161 lwres_buffer_putuint32(b, req->flags);
162 lwres_buffer_putuint32(b, req
174 lwres_gnbaresponse_render(lwres_context_t *ctx, lwres_gnbaresponse_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b) argument
[all...]
H A Dlwres_gabn.c64 getaddrbyname request structure req to canonical format. The packet
66 contents of *req are then appended to the buffer in canonical format.
119 /*% uses resolver context ctx to convert getaddrbyname request structure req to canonical format. */
121 lwres_gabnrequest_render(lwres_context_t *ctx, lwres_gabnrequest_t *req, argument
131 REQUIRE(req != NULL);
132 REQUIRE(req->name != NULL);
136 datalen = strlen(req->name);
138 payload_length = 4 + 4 + 2 + req->namelen + 1;
167 lwres_buffer_putuint32(b, req->flags);
172 lwres_buffer_putuint32(b, req
188 lwres_gabnresponse_render(lwres_context_t *ctx, lwres_gabnresponse_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b) argument
[all...]
H A Dlwres_grbn.c40 lwres_grbnrequest_render(lwres_context_t *ctx, lwres_grbnrequest_t *req, argument
50 REQUIRE(req != NULL);
51 REQUIRE(req->name != NULL);
55 datalen = strlen(req->name);
57 payload_length = 4 + 2 + 2 + 2 + req->namelen + 1;
86 lwres_buffer_putuint32(b, req->flags);
91 lwres_buffer_putuint16(b, req->rdclass);
96 lwres_buffer_putuint16(b, req->rdtype);
103 lwres_buffer_putmem(b, (unsigned char *)req->name, datalen);
113 lwres_grbnresponse_render(lwres_context_t *ctx, lwres_grbnresponse_t *req, argument
[all...]

Completed in 15 milliseconds