Home
last modified time | relevance | path

Searched refs:port_low (Results 1 – 12 of 12) sorted by relevance

/external/selinux/libsepol/cil/test/unit/
Dtest_cil_post.c213 aportcon->port_low = 15; in test_cil_post_portcon_compare_atotal_greater_btotal()
216 bportcon->port_low = 10; in test_cil_post_portcon_compare_atotal_greater_btotal()
230 aportcon->port_low = 5; in test_cil_post_portcon_compare_btotal_greater_atotal()
233 bportcon->port_low = 11; in test_cil_post_portcon_compare_btotal_greater_atotal()
247 aportcon->port_low = 30; in test_cil_post_portcon_compare_aportlow_greater_bportlow()
250 bportcon->port_low = 17; in test_cil_post_portcon_compare_aportlow_greater_bportlow()
264 aportcon->port_low = 5; in test_cil_post_portcon_compare_bportlow_greater_aportlow()
267 bportcon->port_low = 17; in test_cil_post_portcon_compare_bportlow_greater_aportlow()
281 aportcon->port_low = 17; in test_cil_post_portcon_compare_equal()
284 bportcon->port_low = 17; in test_cil_post_portcon_compare_equal()
/external/selinux/secilc/docs/
Dcil_xen_statements.md55 (ioportcon port|(port_low port_high) context_id)
71 <p><code>(port_low port_high)</code></p></td>
Dcil_network_labeling_statements.md162 (portcon protocol port|(port_low port_high) context_id)
182 <p><code>(port_low port_high)</code></p></td>
/external/selinux/libsepol/cil/src/
Dcil_post.c163 rc = (aportcon->port_high - aportcon->port_low) in cil_post_portcon_compare()
164 - (bportcon->port_high - bportcon->port_low); in cil_post_portcon_compare()
166 if (aportcon->port_low < bportcon->port_low) { in cil_post_portcon_compare()
168 } else if (bportcon->port_low < aportcon->port_low) { in cil_post_portcon_compare()
Dcil_policy.c1732 if (portcon->port_low == portcon->port_high) { in cil_portcons_to_policy()
1733 fprintf(out, "%d ", portcon->port_low); in cil_portcons_to_policy()
1735 fprintf(out, "%d-%d ", portcon->port_low, portcon->port_high); in cil_portcons_to_policy()
Dcil_internal.h742 uint32_t port_low; member
Dcil_copy_ast.c1215 new->port_low = orig->port_low; in cil_copy_portcon()
Dcil_tree.c1422 cil_log(CIL_INFO, " (%d %d)", portcon->port_low, portcon->port_high); in cil_tree_print_node()
Dcil_build_ast.c4300 rc = cil_fill_integer(parse_current->next->next->cl_head, &portcon->port_low, 10); in cil_gen_portcon()
4316 rc = cil_fill_integer(parse_current->next->next, &portcon->port_low, 10); in cil_gen_portcon()
4321 portcon->port_high = portcon->port_low; in cil_gen_portcon()
Dcil.c2262 (*portcon)->port_low = 0; in cil_portcon_init()
Dcil_binary.c3247 new_ocon->u.port.low_port = cil_portcon->port_low; in cil_portcon_to_policydb()
/external/iptables/extensions/
Dlibxt_conntrack.c789 u_int16_t port_low, u_int16_t port_high) in conntrack_dump_ports() argument
791 if (port_high == 0 || port_low == port_high) in conntrack_dump_ports()
792 printf(" %s%s %u", prefix, opt, port_low); in conntrack_dump_ports()
794 printf(" %s%s %u:%u", prefix, opt, port_low, port_high); in conntrack_dump_ports()