Lines Matching refs:lg_xmit
1213 coap_lg_xmit_t *lg_xmit; in coap_send() local
1215 LL_FOREACH(session->lg_xmit, lg_xmit) { in coap_send()
1216 if (COAP_PDU_IS_REQUEST(&lg_xmit->pdu) && in coap_send()
1217 lg_xmit->b.b1.app_token && in coap_send()
1218 coap_binary_equal(&pdu->actual_token, lg_xmit->b.b1.app_token)) { in coap_send()
1220 coap_remove_option(&lg_xmit->pdu, COAP_OPTION_Q_BLOCK2); in coap_send()
1221 coap_update_option(&lg_xmit->pdu, COAP_OPTION_BLOCK2, in coap_send()
1237 coap_lg_xmit_t *lg_xmit; in coap_send() local
1239 LL_FOREACH(session->lg_xmit, lg_xmit) { in coap_send()
1240 if (COAP_PDU_IS_REQUEST(&lg_xmit->pdu) && in coap_send()
1241 lg_xmit->b.b1.app_token && in coap_send()
1242 coap_binary_equal(&pdu->actual_token, lg_xmit->b.b1.app_token)) { in coap_send()
1244 coap_remove_option(&lg_xmit->pdu, COAP_OPTION_Q_BLOCK1); in coap_send()
1245 coap_update_option(&lg_xmit->pdu, COAP_OPTION_BLOCK1, in coap_send()
1252 lg_xmit->option = COAP_OPTION_BLOCK1; in coap_send()
1279 coap_lg_xmit_t *lg_xmit; in coap_send() local
1281 LL_FOREACH(session->lg_xmit, lg_xmit) { in coap_send()
1282 if (lg_xmit->pdu.code == COAP_REQUEST_CODE_FETCH && in coap_send()
1283 lg_xmit->b.b1.app_token && in coap_send()
1284 coap_binary_equal(&pdu->actual_token, lg_xmit->b.b1.app_token)) { in coap_send()
1286 lg_xmit->pdu.type = COAP_MESSAGE_CON; in coap_send()
1305 coap_lg_xmit_t *lg_xmit = NULL; in coap_send() local
1307 if (!session->lg_xmit && have_block1) { in coap_send()
1342 if (have_block1 && session->lg_xmit) { in coap_send()
1343 LL_FOREACH(session->lg_xmit, lg_xmit) { in coap_send()
1344 if (COAP_PDU_IS_REQUEST(&lg_xmit->pdu) && in coap_send()
1345 lg_xmit->b.b1.app_token && in coap_send()
1346 coap_binary_equal(&pdu->actual_token, lg_xmit->b.b1.app_token)) { in coap_send()
1351 lg_crcv = coap_block_new_lg_crcv(session, pdu, lg_xmit); in coap_send()
1356 if (lg_xmit) { in coap_send()
1358 lg_xmit->b.b1.state_token = lg_crcv->state_token; in coap_send()
3669 coap_send_q_blocks(session, sent->pdu->lg_xmit, block, in coap_dispatch()
3952 if (s->lg_xmit) in coap_can_exit()
3961 if (s->lg_xmit) in coap_can_exit()