/dports/net/libcoap/libcoap-4.3.0/tests/ |
H A D | test_error_response.c | 68 coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_error_response2() 97 coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_error_response3() 136 coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_error_response4() 177 coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_error_response5() 218 coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_error_response6() 259 coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_error_response7() 295 coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_error_response8()
|
H A D | test_pdu.c | 342 result = coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_encode_pdu1() 362 result = coap_add_token(pdu, 5, (const uint8_t *)"token"); in t_encode_pdu2() 449 result = coap_add_token(pdu, 8, (const uint8_t *)"12345678"); in t_encode_pdu5() 531 result = coap_add_token(pdu, 2, (const uint8_t *)"\x00\x01"); in t_encode_pdu8() 646 result = coap_add_token(pdu, 2, (const uint8_t *)"\0\0"); in t_encode_pdu10() 924 coap_add_token(pdu, sizeof(token), token); in t_encode_pdu17() 1012 result = coap_add_token(pdu, 2, (const uint8_t *)"\0\0"); in t_encode_pdu18() 1070 coap_add_token(pdu, sizeof(token), token); in t_encode_pdu19() 1127 coap_add_token(pdu, sizeof(token), token); in t_encode_pdu20() 1181 coap_add_token(pdu, sizeof(token), token); in t_encode_pdu21() [all …]
|
/dports/net/libcoap/libcoap-4.3.0/ |
H A D | libcoap-3.map | 17 coap_add_token;
|
H A D | libcoap-3.sym | 15 coap_add_token
|
/dports/net/libcoap/libcoap-4.3.0/man/ |
H A D | coap_pdu_setup.txt.in | 18 coap_add_token, 52 *int coap_add_token(coap_pdu_t *_pdu_, size_t _length_, 233 The *coap_add_token*() function adds in the specified token's _data_ of length 389 The *coap_add_token*(), *coap_insert_optlist*(), *coap_delete_optlist*(), 438 if (!coap_add_token(pdu, buflen, buf)) {
|
H A D | coap_observe.txt.in | 341 if (!coap_add_token(pdu, sizeof(token), (unsigned char*)&token)) {
|
H A D | coap_block.txt.in | 220 if (!coap_add_token(pdu, buflen, buf)) {
|
/dports/net/libcoap/libcoap-4.3.0/include/coap3/ |
H A D | pdu.h | 411 int coap_add_token(coap_pdu_t *pdu,
|
/dports/net/libcoap/libcoap-4.3.0/src/ |
H A D | pdu.c | 168 coap_add_token(pdu, token_length, token); in coap_pdu_duplicate() 258 coap_add_token(coap_pdu_t *pdu, size_t len, const uint8_t *data) { in coap_add_token() function 288 return coap_add_token(pdu, len, data); in coap_update_token()
|
H A D | net.c | 2140 if (!coap_add_token(response, request->token_length, in coap_new_error_response() 2211 if (!coap_add_token(resp, request->token_length, request->token)) { in coap_wellknown_response() 2753 if (coap_add_token(response, pdu->token_length, pdu->token)) { in handle_request()
|
H A D | resource.c | 903 if (!coap_add_token(response, obs->pdu->token_length, obs->pdu->token)) {
|
/dports/net/libcoap/libcoap-4.3.0/examples/ |
H A D | coap-server.c | 856 !coap_add_token(response, proxy_list[i].token->length, in remove_proxy_association() 1114 if (!coap_add_token(pdu, token.length, token.s)) { in hnd_proxy_uri() 1663 if (!coap_add_token(pdu, rcv_token.length, rcv_token.s)) { in proxy_message_handler()
|
H A D | coap-rd.c | 209 coap_add_token(response, request->hdr->token_length, request->hdr->token); in hnd_put_resource()
|
H A D | coap-client.c | 201 if ( !coap_add_token(pdu, the_token.length, the_token.s)) { in coap_new_request()
|