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/iptables/extensions/
Dlibxt_conntrack.c781 u_int16_t port_low, u_int16_t port_high) in conntrack_dump_ports() argument
783 if (port_high == 0 || port_low == port_high) in conntrack_dump_ports()
784 printf(" %s%s %u", prefix, opt, port_low); in conntrack_dump_ports()
786 printf(" %s%s %u:%u", prefix, opt, port_low, port_high); in conntrack_dump_ports()
/external/selinux/libsepol/cil/src/
Dcil_post.c265 rc = (aportcon->port_high - aportcon->port_low) in cil_post_portcon_compare()
266 - (bportcon->port_high - bportcon->port_low); in cil_post_portcon_compare()
268 if (aportcon->port_low < bportcon->port_low) { in cil_post_portcon_compare()
270 } else if (bportcon->port_low < aportcon->port_low) { in cil_post_portcon_compare()
Dcil_policy.c1760 if (portcon->port_low == portcon->port_high) { in cil_portcons_to_policy()
1761 fprintf(out, "%d ", portcon->port_low); in cil_portcons_to_policy()
1763 fprintf(out, "%d-%d ", portcon->port_low, portcon->port_high); in cil_portcons_to_policy()
Dcil_internal.h759 uint32_t port_low; member
Dcil_copy_ast.c1260 new->port_low = orig->port_low; in cil_copy_portcon()
Dcil_tree.c1442 cil_log(CIL_INFO, " (%d %d)", portcon->port_low, portcon->port_high); in cil_tree_print_node()
Dcil_build_ast.c4419 rc = cil_fill_integer(parse_current->next->next->cl_head, &portcon->port_low, 10); in cil_gen_portcon()
4435 rc = cil_fill_integer(parse_current->next->next, &portcon->port_low, 10); in cil_gen_portcon()
4440 portcon->port_high = portcon->port_low; in cil_gen_portcon()
Dcil.c2469 (*portcon)->port_low = 0; in cil_portcon_init()
Dcil_binary.c3217 new_ocon->u.port.low_port = cil_portcon->port_low; in cil_portcon_to_policydb()