Lines Matching refs:portcon
1284 struct cil_portcon *portcon = node->data; in cil_write_ast_node() local
1286 if (portcon->proto == CIL_PROTOCOL_UDP) in cil_write_ast_node()
1288 else if (portcon->proto == CIL_PROTOCOL_TCP) in cil_write_ast_node()
1290 else if (portcon->proto == CIL_PROTOCOL_DCCP) in cil_write_ast_node()
1292 else if (portcon->proto == CIL_PROTOCOL_SCTP) in cil_write_ast_node()
1296 if (portcon->port_low == portcon->port_high) in cil_write_ast_node()
1297 fprintf(out, "%d ", portcon->port_low); in cil_write_ast_node()
1299 fprintf(out, "(%d %d) ", portcon->port_low, portcon->port_high); in cil_write_ast_node()
1300 if (portcon->context) in cil_write_ast_node()
1301 write_context(out, portcon->context, CIL_TRUE); in cil_write_ast_node()
1303 fprintf(out, "%s", portcon->context_str); in cil_write_ast_node()