Lines Matching refs:option
625 coap_option *option = (coap_option *)(node->data); in new_option_node() local
627 COAP_OPTION_KEY(*option) = key; in new_option_node()
628 COAP_OPTION_LENGTH(*option) = length; in new_option_node()
629 memcpy(COAP_OPTION_DATA(*option), data, length); in new_option_node()
717 coap_option *option = (coap_option *)(item->data); in clone_option() local
720 option->length); in clone_option()
722 memcpy(node->data, option, in clone_option()
723 sizeof(coap_option) + option->length); in clone_option()
1118 coap_list_t *option; in add_options() local
1120 for (option = optlist; option; option = option->next ) { in add_options()
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()