• Home
  • Raw
  • Download

Lines Matching refs:max_opt

55   pdu->max_opt = 0;  in coap_pdu_clear()
217 pdu->max_opt = old_pdu->max_opt; in coap_pdu_duplicate()
352 pdu->max_opt = 0; in coap_add_token()
509 pdu->max_opt -= decode_this.delta; in coap_remove_option()
573 if (number >= pdu->max_opt) in coap_insert_option()
708 if (number == pdu->max_opt) { in coap_add_option_internal()
729 if (number < pdu->max_opt) { in coap_add_option_internal()
734 optsize = coap_opt_encode_size(number - pdu->max_opt, len); in coap_add_option_internal()
751 number - pdu->max_opt, data, len); in coap_add_option_internal()
758 pdu->max_opt = number; in coap_add_option_internal()
888 next_option_safe(coap_opt_t **optp, size_t *length, uint16_t *max_opt) { in next_option_safe() argument
902 if (*max_opt + option.delta > COAP_MAX_OPT) { in next_option_safe()
905 *max_opt += option.delta; in next_option_safe()
1053 switch (pdu->max_opt) { in coap_pdu_parse_opt_csm()
1067 if (pdu->max_opt & 0x01) in coap_pdu_parse_opt_csm()
1073 switch (pdu->max_opt) { in coap_pdu_parse_opt_csm()
1079 if (pdu->max_opt & 0x01) in coap_pdu_parse_opt_csm()
1084 switch (pdu->max_opt) { in coap_pdu_parse_opt_csm()
1094 if (pdu->max_opt & 0x01) in coap_pdu_parse_opt_csm()
1099 switch (pdu->max_opt) { in coap_pdu_parse_opt_csm()
1105 if (pdu->max_opt & 0x01) in coap_pdu_parse_opt_csm()
1121 switch (pdu->max_opt) { in coap_pdu_parse_opt_base()
1274 pdu->max_opt = 0; in coap_pdu_parse_opt()
1288 size_t optsize = next_option_safe(&opt, &length, &pdu->max_opt); in coap_pdu_parse_opt()
1303 (int)(opt_last - pdu->token - pdu->e_token_length), pdu->max_opt, in coap_pdu_parse_opt()
1325 pdu->max_opt = 0; in coap_pdu_parse_opt()
1332 size_t optsize = next_option_safe(&opt, &length, &pdu->max_opt); in coap_pdu_parse_opt()