Home
last modified time | relevance | path

Searched refs:semanage_port_t (Results 1 – 11 of 11) sorted by relevance

/external/selinux/libsemanage/include/semanage/
Dport_record.h12 typedef struct semanage_port semanage_port_t; typedef
23 extern int semanage_port_compare(const semanage_port_t * port,
26 extern int semanage_port_compare2(const semanage_port_t * port,
27 const semanage_port_t * port2);
34 const semanage_port_t * port,
40 extern int semanage_port_get_proto(const semanage_port_t * port);
42 extern void semanage_port_set_proto(semanage_port_t * port, int proto);
47 extern int semanage_port_get_low(const semanage_port_t * port);
49 extern int semanage_port_get_high(const semanage_port_t * port);
51 extern void semanage_port_set_port(semanage_port_t * port, int port_num);
[all …]
Dports_local.h11 const semanage_port_t * data);
18 semanage_port_t ** response);
28 int (*handler) (const semanage_port_t *
33 semanage_port_t *** records,
Dports_policy.h11 semanage_port_t ** response);
20 int (*handler) (const semanage_port_t * record,
25 semanage_port_t *** records, unsigned int *count);
/external/selinux/libsemanage/src/
Dport_record.c13 typedef sepol_port_t semanage_port_t; typedef
18 typedef semanage_port_t record_t;
27 int semanage_port_compare(const semanage_port_t * port, in semanage_port_compare()
35 int semanage_port_compare2(const semanage_port_t * port, in semanage_port_compare2()
36 const semanage_port_t * port2) in semanage_port_compare2()
43 int semanage_port_compare2_qsort(const semanage_port_t ** port, in semanage_port_compare2_qsort()
44 const semanage_port_t ** port2) in semanage_port_compare2_qsort()
59 const semanage_port_t * port, in semanage_port_key_extract()
75 int semanage_port_get_proto(const semanage_port_t * port) in semanage_port_get_proto()
82 void semanage_port_set_proto(semanage_port_t * port, int proto) in semanage_port_set_proto()
[all …]
Dports_local.c17 const semanage_port_t * data) in semanage_port_modify_local()
34 semanage_port_t ** response) in semanage_port_query_local()
58 int (*handler) (const semanage_port_t * record, in semanage_port_iterate_local()
67 semanage_port_t *** records, unsigned int *count) in semanage_port_list_local()
78 semanage_port_t **ports = NULL; in semanage_port_validate_local()
85 qsort(ports, nports, sizeof(semanage_port_t *), in semanage_port_validate_local()
Dports_policy.c15 semanage_port_t ** response) in semanage_port_query()
38 int (*handler) (const semanage_port_t * record, in semanage_port_iterate()
47 semanage_port_t *** records, unsigned int *count) in semanage_port_list()
Dsemanageswig_ruby.i180 %typemap(in, numinputs=0) semanage_port_t ***(semanage_port_t **temp=NULL) {
184 %typemap(in, numinputs=0) semanage_port_t **(semanage_port_t *temp=NULL) {
188 %typemap(argout) semanage_port_t ** {
Dport_internal.h29 int semanage_port_compare2_qsort(const semanage_port_t ** port,
30 const semanage_port_t ** port2);
Dsemanageswig_python.i399 %typemap(in, numinputs=0) semanage_port_t ***(semanage_port_t **temp=NULL) {
405 semanage_port_t*** records,
422 %typemap(in, numinputs=0) semanage_port_t **(semanage_port_t *temp=NULL) {
426 %typemap(argout) semanage_port_t ** {
Dports_file.c23 semanage_port_t * port, FILE * str) in port_print()
61 parse_info_t * info, semanage_port_t * port) in port_parse()
/external/selinux/libsemanage/tests/
Dtest_port.c128 static semanage_port_t *get_port_nth(int idx) in get_port_nth()
131 semanage_port_t **records; in get_port_nth()
132 semanage_port_t *port; in get_port_nth()
157 semanage_port_t *port; in get_port_key_nth()
178 semanage_port_t *port; in add_local_port()
211 semanage_port_t *port = NULL; in helper_port_compare()
246 semanage_port_t *port1 = NULL; in helper_port_compare2()
247 semanage_port_t *port2 = NULL; in helper_port_compare2()
299 semanage_port_t *port = NULL; in test_port_key_extract()
319 semanage_port_t *port = NULL; in helper_port_get_set_proto()
[all …]