Lines Matching refs:sent
1281 coap_cancel(coap_context_t *context, const coap_queue_t *sent) { in coap_cancel() argument
1290 COAP_SET_STR(&token, sent->pdu->hdr->token_length, sent->pdu->hdr->token); in coap_cancel()
1293 num_cancelled += coap_delete_observer(r, &sent->remote, &token); in coap_cancel()
1294 coap_cancel_all_messages(context, &sent->remote, token.s, token.length); in coap_cancel()
1505 coap_queue_t *sent, coap_queue_t *rcvd) { in handle_response() argument
1520 &rcvd->remote, sent ? sent->pdu : NULL, in handle_response()
1538 coap_queue_t *sent = NULL; local
1557 coap_remove_from_queue(&context->sendqueue, rcvd->id, &sent);
1565 if (sent && COAP_RESPONSE_CLASS(sent->pdu->hdr->code) == 2) {
1567 { sent->pdu->hdr->token_length, sent->pdu->hdr->token };
1568 coap_touch_observer(context, &sent->remote, &token);
1584 coap_remove_from_queue(&context->sendqueue, rcvd->id, &sent);
1586 if (sent)
1587 coap_cancel(context, sent);
1624 handle_response(context, sent, rcvd);
1638 coap_delete_node(sent);