Lines Matching refs:token
806 str token = { 0, NULL }; in coap_retransmit() local
808 token.length = node->pdu->hdr->token_length; in coap_retransmit()
809 token.s = node->pdu->hdr->token; in coap_retransmit()
811 coap_handle_failed_notify(context, &node->remote, &token); in coap_retransmit()
985 const unsigned char *token, size_t token_length) { in coap_cancel_all_messages() argument
992 token_match(token, token_length, in coap_cancel_all_messages()
993 context->sendqueue->pdu->hdr->token, in coap_cancel_all_messages()
1010 token_match(token, token_length, in coap_cancel_all_messages()
1011 q->pdu->hdr->token, q->pdu->hdr->token_length)) { in coap_cancel_all_messages()
1101 request->hdr->token)) { in coap_new_error_response()
1168 if (!coap_add_token(resp, request->hdr->token_length, request->hdr->token)) { in coap_wellknown_response()
1283 str token = { 0, NULL }; in coap_cancel() local
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()
1424 node->pdu->hdr->token)) { in handle_request()
1425 str token = { node->pdu->hdr->token_length, node->pdu->hdr->token }; in handle_request() local
1443 &node->remote, &token); in handle_request()
1445 coap_touch_observer(context, &node->remote, &token); in handle_request()
1452 node->pdu, &token, response); in handle_request()
1458 coap_delete_observer(resource, &node->remote, &token); in handle_request()
1514 rcvd->pdu->hdr->token, in handle_response()
1566 const str token = local
1567 { sent->pdu->hdr->token_length, sent->pdu->hdr->token };
1568 coap_touch_observer(context, &sent->remote, &token);