Lines Matching refs:tmp_node
19 ocontext_t *tmp_node = NULL;
23 tmp_node = (ocontext_t *) calloc(1, sizeof(ocontext_t));
24 if (!tmp_node)
39 memcpy(&tmp_node->u.node.addr, addr_buf, addr_bsize);
40 memcpy(&tmp_node->u.node.mask, mask_buf, mask_bsize);
43 memcpy(tmp_node->u.node6.addr, addr_buf, addr_bsize);
44 memcpy(tmp_node->u.node6.mask, mask_buf, mask_bsize);
59 context_cpy(&tmp_node->context[0], tmp_con);
64 *node = tmp_node;
71 if (tmp_node != NULL) {
72 context_destroy(&tmp_node->context[0]);
73 free(tmp_node);