Lines Matching refs:send_blk_ctx
280 if (internal_req->send_blk_ctx.total_size > 0 || in coap_client_init_request()
283 if (internal_req->send_blk_ctx.total_size == 0) { in coap_client_init_request()
284 coap_block_transfer_init(&internal_req->send_blk_ctx, in coap_client_init_request()
293 &internal_req->send_blk_ctx); in coap_client_init_request()
317 if (internal_req->send_blk_ctx.total_size > 0) { in coap_client_init_request()
319 coap_block_size_to_bytes(internal_req->send_blk_ctx.block_size); in coap_client_init_request()
321 payload_len = internal_req->send_blk_ctx.total_size - in coap_client_init_request()
322 internal_req->send_blk_ctx.current; in coap_client_init_request()
326 offset = internal_req->send_blk_ctx.current; in coap_client_init_request()
340 if (internal_req->send_blk_ctx.total_size > 0) { in coap_client_init_request()
341 coap_next_block(&internal_req->request, &internal_req->send_blk_ctx); in coap_client_init_request()
497 if (internal_req->send_blk_ctx.total_size > 0) { in resend_request()
498 internal_req->send_blk_ctx.current = internal_req->offset; in resend_request()
929 if (internal_req->send_blk_ctx.total_size > 0) { in handle_response()
931 internal_req->offset = internal_req->send_blk_ctx.current; in handle_response()
932 if (internal_req->send_blk_ctx.total_size == internal_req->send_blk_ctx.current) { in handle_response()