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

/bind-9.11.3/bin/named/
H A Dlwdnoop.c23 lwres_nooprequest_t *req; local
33 req = NULL;
36 b, &client->pkt, &req);
45 resp.datalength = req->datalength;
46 resp.data = req->data;
64 lwres_nooprequest_free(client->clientmgr->lwctx, &req);
74 lwres_nooprequest_free(client->clientmgr->lwctx, &req);
H A Dlwdgnba.c199 lwres_gnbarequest_t *req; local
208 req = NULL;
211 b, &client->pkt, &req);
216 if (req->addr.family == LWRES_ADDRTYPE_V4) {
218 if (req->addr.length != 4)
220 memmove(&client->na.type.in, req->addr.address, 4);
221 } else if (req->addr.family == LWRES_ADDRTYPE_V6) {
223 if (req->addr.length != 16)
225 memmove(&client->na.type.in6, req->addr.address, 16);
232 client, req
[all...]
H A Dlwdgabn.c591 lwres_gabnrequest_t *req; local
598 req = NULL;
601 b, &client->pkt, &req);
604 if (req->name == NULL)
607 isc_buffer_init(&namebuf, req->name, req->namelen);
608 isc_buffer_add(&namebuf, req->namelen);
622 client->find_wanted = req->addrtypes;
629 lwres_gabnrequest_free(client->clientmgr->lwctx, &req);
644 if (req !
[all...]
H A Dlwdgrbn.c438 lwres_grbnrequest_t *req; local
447 req = NULL;
450 b, &client->pkt, &req);
453 if (req->name == NULL)
457 if (req->rdclass != cm->view->rdclass)
460 if (req->rdclass == dns_rdataclass_any ||
461 req->rdtype == dns_rdatatype_any)
464 client->rdtype = req->rdtype;
466 isc_buffer_init(&namebuf, req->name, req
[all...]
/bind-9.11.3/lib/lwres/
H A Dlwres_noop.c51 * request structure req to canonical format. The packet header structure
52 * pkt is initialised and transferred to buffer b. The contents of *req
105 /*% Uses resolver context ctx to convert no-op request structure req to canonical format. */
107 lwres_nooprequest_render(lwres_context_t *ctx, lwres_nooprequest_t *req, argument
116 REQUIRE(req != NULL);
120 payload_length = sizeof(lwres_uint16_t) + req->datalength;
149 lwres_buffer_putuint16(b, req->datalength);
150 lwres_buffer_putmem(b, req->data, req->datalength);
160 lwres_noopresponse_render(lwres_context_t *ctx, lwres_noopresponse_t *req, argument
215 lwres_nooprequest_t *req; local
263 lwres_noopresponse_t *req; local
[all...]
H A Dlwres_gnba.c49 getnamebyaddr request structure req to canonical format. The packet
51 The contents of *req are then appended to the buffer in canonical
106 /*% Uses resolver context ctx to convert getnamebyaddr request structure req to canonical format. */
108 lwres_gnbarequest_render(lwres_context_t *ctx, lwres_gnbarequest_t *req, argument
117 REQUIRE(req != NULL);
118 REQUIRE(req->addr.family != 0);
119 REQUIRE(req->addr.length != 0);
123 payload_length = 4 + 4 + 2 + + req->addr.length;
152 lwres_buffer_putuint32(b, req->flags);
153 lwres_buffer_putuint32(b, req
165 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.c55 getaddrbyname request structure req to canonical format. The packet
57 contents of *req are then appended to the buffer in canonical format.
110 /*% uses resolver context ctx to convert getaddrbyname request structure req to canonical format. */
112 lwres_gabnrequest_render(lwres_context_t *ctx, lwres_gabnrequest_t *req, argument
122 REQUIRE(req != NULL);
123 REQUIRE(req->name != NULL);
127 datalen = (lwres_uint16_t) strlen(req->name);
129 payload_length = 4 + 4 + 2 + req->namelen + 1;
158 lwres_buffer_putuint32(b, req->flags);
163 lwres_buffer_putuint32(b, req
179 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.c31 lwres_grbnrequest_render(lwres_context_t *ctx, lwres_grbnrequest_t *req, argument
41 REQUIRE(req != NULL);
42 REQUIRE(req->name != NULL);
46 datalen = (lwres_uint16_t) strlen(req->name);
48 payload_length = 4 + 2 + 2 + 2 + req->namelen + 1;
77 lwres_buffer_putuint32(b, req->flags);
82 lwres_buffer_putuint16(b, req->rdclass);
87 lwres_buffer_putuint16(b, req->rdtype);
94 lwres_buffer_putmem(b, (unsigned char *)req->name, datalen);
104 lwres_grbnresponse_render(lwres_context_t *ctx, lwres_grbnresponse_t *req, argument
[all...]

Completed in 17 milliseconds