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