Lines Matching refs:portcon
1749 struct cil_portcon *portcon;
1752 portcon = portcons->array[i];
1753 fprintf(out, "portcon ");
1754 if (portcon->proto == CIL_PROTOCOL_UDP) {
1756 } else if (portcon->proto == CIL_PROTOCOL_TCP) {
1758 } else if (portcon->proto == CIL_PROTOCOL_DCCP) {
1760 } else if (portcon->proto == CIL_PROTOCOL_SCTP) {
1763 if (portcon->port_low == portcon->port_high) {
1764 fprintf(out, "%d ", portcon->port_low);
1766 fprintf(out, "%d-%d ", portcon->port_low, portcon->port_high);
1768 cil_context_to_policy(out, portcon->context, mls);
1974 cil_portcons_to_policy(out, db->portcon, db->mls);