Lines Matching defs:node
515 coap_optlist_t *node;
524 node = coap_malloc_type(COAP_OPTLIST, sizeof(coap_optlist_t) + length);
526 if (node) {
527 memset(node, 0, (sizeof(coap_optlist_t) + length));
528 node->number = number;
529 node->length = length;
530 node->data = (uint8_t *)&node[1];
531 memcpy(node->data, data, length);
536 return node;
571 coap_insert_optlist(coap_optlist_t **head, coap_optlist_t *node) {
572 if (!node) {
577 LL_APPEND((*head), node);
580 return node != NULL;
584 coap_internal_delete(coap_optlist_t *node) {
585 if (node) {
586 coap_free_type(COAP_OPTLIST, node);