Searched refs:coap_option (Results 1 – 3 of 3) sorted by relevance
118 coap_option *o1, *o2; in order_opts()123 o1 = (coap_option *)(((coap_list_t *)a)->data); in order_opts()124 o2 = (coap_option *)(((coap_list_t *)b)->data); in order_opts()159 coap_option *o = (coap_option *)(opt->data); in coap_new_request()202 coap_option *o = (coap_option *)(option->data); in clear_obs()223 coap_option *o = (coap_option *)(option->data); in clear_obs()383 coap_option *o = (coap_option *)(option->data); in message_handler()447 coap_option *o = (coap_option *)(option->data); in message_handler()579 node = coap_malloc(sizeof(coap_list_t) + sizeof(coap_option) + length); in new_option_node()582 coap_option *option; in new_option_node()[all …]
217 } coap_option; typedef221 #define COAP_OPTION_DATA(option) ((unsigned char *)&(option) + sizeof(coap_option))252 #define COAP_OPTION(node) ((coap_option *)(node)->options)
622 node = coap_malloc(sizeof(coap_list_t) + sizeof(coap_option) + length); in new_option_node()625 coap_option *option = (coap_option *)(node->data); in new_option_node()717 coap_option *option = (coap_option *)(item->data); in clone_option()719 node = coap_malloc(sizeof(coap_list_t) + sizeof(coap_option) + in clone_option()723 sizeof(coap_option) + option->length); in clone_option()1121 switch (COAP_OPTION_KEY(*(coap_option *)option->data)) { in add_options()1128 COAP_OPTION_KEY(*(coap_option *)option->data), in add_options()1129 COAP_OPTION_LENGTH(*(coap_option *)option->data), in add_options()1130 COAP_OPTION_DATA(*(coap_option *)option->data)); in add_options()1140 coap_option *o1, *o2; in order_opts()[all …]