Lines Matching refs:token_length
808 token.length = node->pdu->hdr->token_length; 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()
994 context->sendqueue->pdu->hdr->token_length)) { 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()
1036 size_t size = sizeof(coap_hdr_t) + request->hdr->token_length; in coap_new_error_response()
1100 if (!coap_add_token(response, request->hdr->token_length, in coap_new_error_response()
1168 if (!coap_add_token(resp, request->hdr->token_length, request->hdr->token)) { in coap_wellknown_response()
1181 resp->length = sizeof(coap_hdr_t) + resp->hdr->token_length; in coap_wellknown_response()
1266 resp->length = sizeof(coap_hdr_t) + resp->hdr->token_length; in coap_wellknown_response()
1290 COAP_SET_STR(&token, sent->pdu->hdr->token_length, sent->pdu->hdr->token); in coap_cancel()
1423 if (coap_add_token(response, node->pdu->hdr->token_length, in handle_request()
1425 str token = { node->pdu->hdr->token_length, node->pdu->hdr->token }; in handle_request()
1468 response->hdr->token_length = 0; in handle_request()
1515 rcvd->pdu->hdr->token_length); in handle_response()
1567 { sent->pdu->hdr->token_length, sent->pdu->hdr->token };