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