Searched refs:tmp_port (Results 1 – 2 of 2) sorted by relevance
46 ocontext_t *tmp_port = NULL; in port_from_record() local54 tmp_port = (ocontext_t *) calloc(1, sizeof(ocontext_t)); in port_from_record()55 if (!tmp_port) in port_from_record()62 tmp_port->u.port.protocol = tmp_proto; in port_from_record()65 tmp_port->u.port.low_port = low; in port_from_record()66 tmp_port->u.port.high_port = high; in port_from_record()67 if (tmp_port->u.port.low_port > tmp_port->u.port.high_port) { in port_from_record()69 tmp_port->u.port.low_port, tmp_port->u.port.high_port); in port_from_record()77 context_cpy(&tmp_port->context[0], tmp_con); in port_from_record()82 *port = tmp_port; in port_from_record()[all …]
206 sepol_port_t *tmp_port = (sepol_port_t *) malloc(sizeof(sepol_port_t)); in hidden_def() local208 if (!tmp_port) { in hidden_def()213 tmp_port->low = 0; in hidden_def()214 tmp_port->high = 0; in hidden_def()215 tmp_port->proto = SEPOL_PROTO_UDP; in hidden_def()216 tmp_port->con = NULL; in hidden_def()217 *port = tmp_port; in hidden_def()