Lines Matching refs:tmp_port
60 ocontext_t *tmp_port = NULL; in port_from_record() local
68 tmp_port = (ocontext_t *) calloc(1, sizeof(ocontext_t)); in port_from_record()
69 if (!tmp_port) in port_from_record()
76 tmp_port->u.port.protocol = tmp_proto; in port_from_record()
79 tmp_port->u.port.low_port = low; in port_from_record()
80 tmp_port->u.port.high_port = high; in port_from_record()
81 if (tmp_port->u.port.low_port > tmp_port->u.port.high_port) { in port_from_record()
83 tmp_port->u.port.low_port, tmp_port->u.port.high_port); in port_from_record()
91 context_cpy(&tmp_port->context[0], tmp_con); in port_from_record()
96 *port = tmp_port; in port_from_record()
103 if (tmp_port != NULL) { in port_from_record()
104 context_destroy(&tmp_port->context[0]); in port_from_record()
105 free(tmp_port); in port_from_record()