Lines Matching defs:ctx
63 * context ctx for memory allocation. addrtypes is a bitmask
70 * ctx is used for memory allocation. The address type is indicated by
241 lwres_getaddrsbyname(lwres_context_t *ctx, const char *name,
255 REQUIRE(ctx != NULL);
264 serial = lwres_context_nextserial(ctx);
290 ret = lwres_gabnrequest_render(ctx, &request, &pkt, &b_out);
294 ret = lwres_context_sendrecv(ctx, b_out.base, b_out.length, buffer,
332 ret = lwres_gabnresponse_parse(ctx, &b_in, &pkt, &response);
348 lwres_gabnresponse_free(ctx, &response);
356 lwres_getnamebyaddr(lwres_context_t *ctx, lwres_uint32_t addrtype,
369 REQUIRE(ctx != NULL);
379 serial = lwres_context_nextserial(ctx);
400 ret = lwres_gnbarequest_render(ctx, &request, &pkt, &b_out);
404 ret = lwres_context_sendrecv(ctx, b_out.base, b_out.length, buffer,
442 ret = lwres_gnbaresponse_parse(ctx, &b_in, &pkt, &response);
458 lwres_gnbaresponse_free(ctx, &response);
465 lwres_getrdatabyname(lwres_context_t *ctx, const char *name,
480 REQUIRE(ctx != NULL);
488 serial = lwres_context_nextserial(ctx);
515 ret = lwres_grbnrequest_render(ctx, &request, &pkt, &b_out);
519 ret = lwres_context_sendrecv(ctx, b_out.base, b_out.length, buffer,
557 ret = lwres_grbnresponse_parse(ctx, &b_in, &pkt, &response);
573 lwres_grbnresponse_free(ctx, &response);