Searched refs:next_option (Results 1 – 4 of 4) sorted by relevance
317 coap_opt_t *next_option = NULL; in coap_remove_option() local337 next_option = coap_option_next(&opt_iter); in coap_remove_option()338 if (next_option) { in coap_remove_option()339 if (!coap_opt_parse(next_option, in coap_remove_option()340 pdu->used_size - (next_option - pdu->token), in coap_remove_option()346 next_option[0] = (next_option[0] & 0x0f) + (coap_opt_t)(opt_delta << 4); in coap_remove_option()350 next_option -= 1; in coap_remove_option()351 next_option[0] = (next_option[1] & 0x0f) + (13 << 4); in coap_remove_option()352 next_option[1] = (coap_opt_t)(opt_delta - 13); in coap_remove_option()356 next_option[1] = (coap_opt_t)(opt_delta - 13); in coap_remove_option()[all …]
123 oi->next_option = pdu->token + pdu->token_length; in coap_option_iterator_init()124 if (pdu->token + pdu->used_size <= oi->next_option) { in coap_option_iterator_init()143 !oi->next_option || *oi->next_option == COAP_PAYLOAD_START) { in opt_finished()166 current_opt = oi->next_option; in coap_option_next()170 optsize = coap_opt_parse(oi->next_option, oi->length, &option); in coap_option_next()174 oi->next_option += optsize; in coap_option_next()
175 coap_opt_t *next_option; /**< pointer to the unparsed next option */ member
212 next_option to detect erroneous use in old code