Searched refs:lg_crcv (Results 1 – 6 of 6) sorted by relevance
/third_party/libcoap/src/ |
D | coap_block.c | 407 coap_lg_crcv_t *lg_crcv, *q; in coap_cancel_observe() local 419 LL_FOREACH_SAFE(session->lg_crcv, lg_crcv, q) { in coap_cancel_observe() 420 if (lg_crcv->observe_set) { in coap_cancel_observe() 421 if ((!token && !lg_crcv->app_token->length) || (token && in coap_cancel_observe() 422 … coap_binary_equal(token, lg_crcv->app_token))) { in coap_cancel_observe() 429 int using_q_block1 = coap_get_block_b(session, &lg_crcv->pdu, in coap_cancel_observe() 432 coap_bin_const_t *otoken = lg_crcv->obs_token ? in coap_cancel_observe() 433 lg_crcv->obs_token[0] ? in coap_cancel_observe() 434 lg_crcv->obs_token[0] : in coap_cancel_observe() 435 (coap_bin_const_t *)lg_crcv->app_token : in coap_cancel_observe() [all …]
|
D | coap_net.c | 1042 coap_lg_crcv_t *lg_crcv = NULL; in coap_send() local 1312 LL_FOREACH(session->lg_crcv, lg_crcv) { in coap_send() 1313 if (coap_binary_equal(&pdu->actual_token, lg_crcv->app_token)) { in coap_send() 1320 len = coap_encode_var_safe8(buf, sizeof(lg_crcv->state_token), in coap_send() 1321 lg_crcv->state_token); in coap_send() 1322 if (pdu->code == COAP_REQUEST_CODE_FETCH && lg_crcv->obs_token && in coap_send() 1323 lg_crcv->obs_token[0]) { in coap_send() 1324 memcpy(buf, lg_crcv->obs_token[0]->s, lg_crcv->obs_token[0]->length); in coap_send() 1325 len = lg_crcv->obs_token[0]->length; in coap_send() 1328 lg_crcv->initial = 1; in coap_send() [all …]
|
D | coap_session.c | 600 coap_lg_crcv_t *lg_crcv, *etmp; in coap_session_mfree() local 603 LL_FOREACH_SAFE(session->lg_crcv, lg_crcv, etmp) { in coap_session_mfree() 604 if (lg_crcv->observe_set && session->no_observe_cancel == 0) { in coap_session_mfree() 606 if (coap_cancel_observe(session, lg_crcv->app_token, COAP_MESSAGE_NON)) { in coap_session_mfree() 619 LL_DELETE(session->lg_crcv, lg_crcv); in coap_session_mfree() 620 coap_block_delete_lg_crcv(session, lg_crcv); in coap_session_mfree() 1009 if (!sent_nack && session->lg_crcv) { in coap_session_disconnected() 1011 session->context->nack_handler(session, &session->lg_crcv->pdu, reason, in coap_session_disconnected() 1012 session->lg_crcv->pdu.mid); in coap_session_disconnected() 1061 LL_FOREACH_SAFE(session->lg_crcv, cq, etmp) { in coap_session_disconnected() [all …]
|
D | coap_io.c | 1565 if (s->lg_crcv) { 1824 if (s->lg_crcv)
|
/third_party/libcoap/include/coap3/ |
D | coap_block_internal.h | 216 coap_lg_crcv_t *lg_crcv); 313 coap_lg_crcv_t *lg_crcv,
|
D | coap_session_internal.h | 98 coap_lg_crcv_t *lg_crcv; /**< Client list of expected large receives */ member
|