/net-tools-3.5.0/libcoap/src/ |
D | resource.c | 116 unsigned char *token = next_token; in match() local 117 next_token = memchr(token, ' ', remaining_length); in match() 120 token_length = next_token - token; in match() 129 memcmp(token, pattern->s, pattern->length) == 0) in match() 524 const str *token) { argument 532 && (!token || (token->length == s->token_length 533 && memcmp(token->s, s->token, token->length) == 0))) 544 const str *token) { argument 550 s = coap_find_observer(resource, observer, token); 567 if (token && token->length) { [all …]
|
D | net.c | 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() [all …]
|
D | async.c | 60 memcpy(s->token, request->hdr->token, request->hdr->token_length); in coap_register_async()
|
D | option.c | 28 (pdu->hdr->token + pdu->hdr->token_length in options_start() 31 coap_opt_t *opt = pdu->hdr->token + pdu->hdr->token_length; in options_start()
|
D | pdu.c | 161 memcpy(pdu->hdr->token, data, len); in coap_add_token()
|
D | debug.c | 390 fprintf(COAP_DEBUG_FD, "%02x", pdu->hdr->token[i]); in coap_show_pdu()
|
/net-tools-3.5.0/libcoap/include/coap/ |
D | resource.h | 298 const str *token); 311 const str *token); 323 const str *token); 338 const str *token);
|
D | subscribe.h | 65 unsigned char token[8]; /**< token used for subscription */ member
|
D | pdu.h | 182 unsigned char token[]; /* the actual token, if any */ member 192 unsigned char token[]; /* the actual token, if any */ member
|
D | async.h | 51 unsigned char token[]; /**< the token to use in a response */ member
|
D | net.h | 454 const unsigned char *token,
|
/net-tools-3.5.0/libcoap/examples/ |
D | coap-server.c | 74 str *token UNUSED_PARAM, in hnd_get_index() 97 str *token, in hnd_get_time() argument 113 if (coap_find_observer(resource, peer, token)) { in hnd_get_time() 164 str *token UNUSED_PARAM, in hnd_put_time() 200 str *token UNUSED_PARAM, in hnd_delete_time() 215 str *token UNUSED_PARAM, in hnd_get_async() 273 coap_add_token(response, async->tokenlen, async->token); in check_async()
|
D | etsi_iot_01.c | 130 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_get_index() argument 148 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_get_resource() argument 224 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_delete_resource() argument 240 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_post_test() argument 306 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_put_test() argument 357 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_delete_test() argument 373 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_get_query() argument 411 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_get_separate() argument 480 coap_add_token(response, async->tokenlen, async->token); in check_async()
|
D | coap-rd.c | 101 str *token UNUSED_PARAM, in hnd_get_resource() 129 str *token UNUSED_PARAM, in hnd_put_resource() 135 coap_opt_t *token, *etag; in hnd_put_resource() 191 coap_add_token(response, request->hdr->token_length, request->hdr->token); in hnd_put_resource() 207 str *token UNUSED_PARAM, in hnd_delete_resource() 229 str *token UNUSED_PARAM, in hnd_get_rd() 393 str *token UNUSED_PARAM, in hnd_post_rd()
|
D | coap-client.txt.in | 20 [*-O* num,text] [*-T* token] [*-v* num] [*-a* addr] URI 105 *-T* token:: 106 Include the 'token' to the request. 142 application/octet-stream) into resource 'ck' on 'fec0::3' by usage of a token
|
D | client.c | 311 memcmp(received->hdr->token, the_token.s, the_token.length) == 0; in check_token()
|
/net-tools-3.5.0/mbedtls-2.4.0/scripts/ |
D | rename.pl | 65 my $token = $do_strings ? qr/$space|$idnum|$symbols/ 98 my @words = ($line =~ /$token/g);
|
/net-tools-3.5.0/libcoap/examples/contiki/ |
D | server.c | 94 coap_address_t *peer, coap_pdu_t *request, str *token, in hnd_get_time() argument 110 if (coap_find_observer(resource, peer, token)) { in hnd_get_time()
|
/net-tools-3.5.0/libcoap/tests/ |
D | test_pdu.c | 56 CU_ASSERT(memcmp(pdu->hdr->token, teststr + 4, 5) == 0); in t_parse_pdu2() 102 CU_ASSERT(memcmp(pdu->hdr->token, teststr + 4, 5) == 0); in t_parse_pdu5() 138 CU_ASSERT(memcmp(pdu->hdr->token, teststr + 4, 5) == 0); in t_parse_pdu7()
|
/net-tools-3.5.0/ |
D | coap-client.c | 1095 memcmp(received->hdr->token, the_token.s, in check_token()
|