Searched defs:pkt (Results 1 - 9 of 9) sorted by relevance

/bind-9.11.3/lib/lwres/
H A Dlwpacket.c33 * resolver packet structure #lwres_lwpacket_t *pkt in network byte
38 * packet *pkt. The contents of the buffer b should correspond to a
46 * lightweight resolver packet *pkt both functions return
66 /*% transfers the contents of lightweight resolver packet structure lwres_lwpacket_t *pkt in network byte order to the lightweight resolver buffer, *b. */
69 lwres_lwpacket_renderheader(lwres_buffer_t *b, lwres_lwpacket_t *pkt) { argument
71 REQUIRE(pkt != NULL);
76 lwres_buffer_putuint32(b, pkt->length);
77 lwres_buffer_putuint16(b, pkt->version);
78 lwres_buffer_putuint16(b, pkt->pktflags);
79 lwres_buffer_putuint32(b, pkt
92 lwres_lwpacket_parseheader(lwres_buffer_t *b, lwres_lwpacket_t *pkt) argument
[all...]
H A Dlwres_noop.c52 * pkt is initialised and transferred to buffer b. The contents of *req
59 * packet pkt to a lwres_nooprequest_t structure. Buffer b provides space
108 lwres_lwpacket_t *pkt, lwres_buffer_t *b)
117 REQUIRE(pkt != NULL);
128 pkt->length = (lwres_uint32_t)buflen;
129 pkt->version = LWRES_LWPACKETVERSION_0;
130 pkt->pktflags &= ~LWRES_LWPACKETFLAG_RESPONSE;
131 pkt->opcode = LWRES_OPCODE_NOOP;
132 pkt->result = 0;
133 pkt
107 lwres_nooprequest_render(lwres_context_t *ctx, lwres_nooprequest_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b) argument
160 lwres_noopresponse_render(lwres_context_t *ctx, lwres_noopresponse_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b) argument
211 lwres_nooprequest_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_nooprequest_t **structp) argument
259 lwres_noopresponse_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_noopresponse_t **structp) argument
[all...]
H A Dlwres_gnba.c50 header structure pkt is initialised and transferred to buffer b.
57 of packet pkt to a lwres_gnbarequest_t structure. Buffer b provides
109 lwres_lwpacket_t *pkt, lwres_buffer_t *b)
120 REQUIRE(pkt != NULL);
131 pkt->length = (lwres_uint32_t)buflen;
132 pkt->version = LWRES_LWPACKETVERSION_0;
133 pkt->pktflags &= ~LWRES_LWPACKETFLAG_RESPONSE;
134 pkt->opcode = LWRES_OPCODE_GETNAMEBYADDR;
135 pkt->result = 0;
136 pkt
108 lwres_gnbarequest_render(lwres_context_t *ctx, lwres_gnbarequest_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b) argument
165 lwres_gnbaresponse_render(lwres_context_t *ctx, lwres_gnbaresponse_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b) argument
237 lwres_gnbarequest_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_gnbarequest_t **structp) argument
282 lwres_gnbaresponse_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_gnbaresponse_t **structp) argument
[all...]
H A Dlwres_gabn.c56 header structure pkt is initialised and transferred to buffer b. The
63 packet pkt to a lwres_gabnrequest_t structure. Buffer b provides space
113 lwres_lwpacket_t *pkt, lwres_buffer_t *b)
124 REQUIRE(pkt != NULL);
138 pkt->length = (lwres_uint32_t)buflen;
139 pkt->version = LWRES_LWPACKETVERSION_0;
140 pkt->pktflags &= ~LWRES_LWPACKETFLAG_RESPONSE;
141 pkt->opcode = LWRES_OPCODE_GETADDRSBYNAME;
142 pkt->result = 0;
143 pkt
112 lwres_gabnrequest_render(lwres_context_t *ctx, lwres_gabnrequest_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b) argument
179 lwres_gabnresponse_render(lwres_context_t *ctx, lwres_gabnresponse_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b) argument
276 lwres_gabnrequest_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_gabnrequest_t **structp) argument
326 lwres_gabnresponse_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_gabnresponse_t **structp) argument
[all...]
H A Dlwres_grbn.c32 lwres_lwpacket_t *pkt, lwres_buffer_t *b)
43 REQUIRE(pkt != NULL);
57 pkt->length = (lwres_uint32_t)buflen;
58 pkt->version = LWRES_LWPACKETVERSION_0;
59 pkt->pktflags &= ~LWRES_LWPACKETFLAG_RESPONSE;
60 pkt->opcode = LWRES_OPCODE_GETRDATABYNAME;
61 pkt->result = 0;
62 pkt->authtype = 0;
63 pkt->authlength = 0;
65 ret = lwres_lwpacket_renderheader(b, pkt);
31 lwres_grbnrequest_render(lwres_context_t *ctx, lwres_grbnrequest_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b) argument
104 lwres_grbnresponse_render(lwres_context_t *ctx, lwres_grbnresponse_t *req, lwres_lwpacket_t *pkt, lwres_buffer_t *b) argument
192 lwres_grbnrequest_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_grbnrequest_t **structp) argument
246 lwres_grbnresponse_parse(lwres_context_t *ctx, lwres_buffer_t *b, lwres_lwpacket_t *pkt, lwres_grbnresponse_t **structp) argument
[all...]
H A Dlwresutil.c240 lwres_lwpacket_t pkt; local
275 pkt.pktflags = 0;
276 pkt.serial = serial;
277 pkt.result = 0;
278 pkt.recvlength = LWRES_RECVLENGTH;
281 ret = lwres_gabnrequest_render(ctx, &request, &pkt, &b_out);
296 ret = lwres_lwpacket_parseheader(&b_in, &pkt);
303 if (pkt.serial != serial)
305 if (pkt.opcode != LWRES_OPCODE_GETADDRSBYNAME)
315 if (pkt
356 lwres_lwpacket_t pkt; local
463 lwres_lwpacket_t pkt; local
[all...]
/bind-9.11.3/bin/tests/
H A Dlwres_test.c66 lwres_lwpacket_t pkt, pkt2; local
71 pkt.pktflags = 0;
72 pkt.serial = 0x11223344;
73 pkt.recvlength = 0x55667788;
74 pkt.result = 0;
79 ret = lwres_nooprequest_render(ctx, &nooprequest, &pkt, &b);
107 pkt.pktflags = 0;
108 pkt.serial = 0x11223344;
109 pkt.recvlength = 0x55667788;
110 pkt
[all...]
/bind-9.11.3/bin/named/include/named/
H A Dlwdclient.h48 lwres_lwpacket_t pkt; member in struct:ns_lwdclient
/bind-9.11.3/bin/tests/system/lwresd/
H A Dlwtest.c54 lwres_lwpacket_t pkt, pkt2; local
59 pkt.pktflags = 0;
60 pkt.serial = 0x11223344;
61 pkt.recvlength = 0x55667788;
62 pkt.result = 0;
66 ret = lwres_nooprequest_render(ctx, &nooprequest, &pkt, &b);
90 pkt.pktflags = 0;
91 pkt.serial = 0x11223344;
92 pkt.recvlength = 0x55667788;
93 pkt
[all...]

Completed in 17 milliseconds