Searched refs:next_option (Results 1 – 5 of 5) sorted by relevance
432 coap_opt_t *next_option = NULL; in coap_remove_option() local452 next_option = coap_option_next(&opt_iter); in coap_remove_option()453 if (next_option) { in coap_remove_option()454 if (!coap_opt_parse(next_option, in coap_remove_option()455 pdu->used_size - (next_option - pdu->token), in coap_remove_option()461 next_option[0] = (next_option[0] & 0x0f) + (coap_opt_t)(opt_delta << 4); in coap_remove_option()464 next_option -= 1; in coap_remove_option()465 next_option[0] = (next_option[1] & 0x0f) + (13 << 4); in coap_remove_option()466 next_option[1] = (coap_opt_t)(opt_delta - 13); in coap_remove_option()469 next_option[1] = (coap_opt_t)(opt_delta - 13); in coap_remove_option()[all …]
125 oi->next_option = pdu->token + pdu->e_token_length; in coap_option_iterator_init()126 if (pdu->token + pdu->used_size <= oi->next_option) { in coap_option_iterator_init()145 !oi->next_option || *oi->next_option == COAP_PAYLOAD_START) { in opt_finished()167 current_opt = oi->next_option; in coap_option_next()173 optsize = coap_opt_parse(oi->next_option, oi->length, &option); in coap_option_next()177 oi->next_option += optsize; in coap_option_next()
1388 if (opt_iter.length > 0 && opt_iter.next_option && in coap_oscore_decrypt_pdu()1389 opt_iter.next_option[0] == COAP_PAYLOAD_START) { in coap_oscore_decrypt_pdu()1390 plain_pdu->data = &opt_iter.next_option[1]; in coap_oscore_decrypt_pdu()1527 if (opt_iter.length > 0 && opt_iter.next_option && in coap_oscore_decrypt_pdu()1528 opt_iter.next_option[0] == COAP_PAYLOAD_START) { in coap_oscore_decrypt_pdu()1529 plain_pdu->data = &opt_iter.next_option[1]; in coap_oscore_decrypt_pdu()
173 coap_opt_t *next_option; /**< pointer to the unparsed next option */ member
288 next_option to detect erroneous use in old code