Lines Matching refs:pkt
41 lwres_lwpacket_t *pkt, lwres_buffer_t *b)
52 REQUIRE(pkt != NULL);
66 pkt->length = buflen;
67 pkt->version = LWRES_LWPACKETVERSION_0;
68 pkt->pktflags &= ~LWRES_LWPACKETFLAG_RESPONSE;
69 pkt->opcode = LWRES_OPCODE_GETRDATABYNAME;
70 pkt->result = 0;
71 pkt->authtype = 0;
72 pkt->authlength = 0;
74 ret = lwres_lwpacket_renderheader(b, pkt);
114 lwres_lwpacket_t *pkt, lwres_buffer_t *b)
125 REQUIRE(pkt != NULL);
144 pkt->length = buflen;
145 pkt->version = LWRES_LWPACKETVERSION_0;
146 pkt->pktflags |= LWRES_LWPACKETFLAG_RESPONSE;
147 pkt->opcode = LWRES_OPCODE_GETRDATABYNAME;
148 pkt->authtype = 0;
149 pkt->authlength = 0;
151 ret = lwres_lwpacket_renderheader(b, pkt);
194 INSIST(LWRES_BUFFER_USEDCOUNT(b) == pkt->length);
202 lwres_lwpacket_t *pkt, lwres_grbnrequest_t **structp)
212 REQUIRE(pkt != NULL);
216 if ((pkt->pktflags & LWRES_LWPACKETFLAG_RESPONSE) != 0)
256 lwres_lwpacket_t *pkt, lwres_grbnresponse_t **structp)
267 REQUIRE(pkt != NULL);
273 if ((pkt->pktflags & LWRES_LWPACKETFLAG_RESPONSE) == 0)