Lines Matching defs:pkt
32 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);
105 lwres_lwpacket_t *pkt, lwres_buffer_t *b)
116 REQUIRE(pkt != NULL);
135 pkt->length = (lwres_uint32_t)buflen;
136 pkt->version = LWRES_LWPACKETVERSION_0;
137 pkt->pktflags |= LWRES_LWPACKETFLAG_RESPONSE;
138 pkt->opcode = LWRES_OPCODE_GETRDATABYNAME;
139 pkt->authtype = 0;
140 pkt->authlength = 0;
142 ret = lwres_lwpacket_renderheader(b, pkt);
185 INSIST(LWRES_BUFFER_USEDCOUNT(b) == pkt->length);
193 lwres_lwpacket_t *pkt, lwres_grbnrequest_t **structp)
203 REQUIRE(pkt != NULL);
207 if ((pkt->pktflags & LWRES_LWPACKETFLAG_RESPONSE) != 0)
247 lwres_lwpacket_t *pkt, lwres_grbnresponse_t **structp)
258 REQUIRE(pkt != NULL);
264 if ((pkt->pktflags & LWRES_LWPACKETFLAG_RESPONSE) == 0)