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()
36 int semanage_port_compare2(const semanage_port_t * port, in hidden_def()
37 const semanage_port_t * port2) in hidden_def()
45 hidden int semanage_port_compare2_qsort(const semanage_port_t ** port, in hidden_def()
46 const semanage_port_t ** port2) in hidden_def()
61 const semanage_port_t * port, in semanage_port_key_extract()
79 int semanage_port_get_proto(const semanage_port_t * port) in hidden_def()
87 void semanage_port_set_proto(semanage_port_t * port, int proto) in hidden_def()
[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()
79 semanage_port_t **ports = NULL; in hidden_def()
86 qsort(ports, nports, sizeof(semanage_port_t *), in hidden_def()
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.h48 hidden int semanage_port_compare2_qsort(const semanage_port_t ** port,
49 const semanage_port_t ** port2);
Dsemanageswig_python.i401 %typemap(in, numinputs=0) semanage_port_t ***(semanage_port_t **temp=NULL) {
407 semanage_port_t*** records,
424 %typemap(in, numinputs=0) semanage_port_t **(semanage_port_t *temp=NULL) {
428 %typemap(argout) semanage_port_t ** {
Dports_file.c24 semanage_port_t * port, FILE * str) in port_print()
62 parse_info_t * info, semanage_port_t * port) in port_parse()
/external/selinux/libsemanage/tests/
Dtest_port.c128 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()
155 semanage_port_t *port; in get_port_key_nth()
173 semanage_port_t *port; in add_local_port()
200 semanage_port_t *port = NULL; in helper_port_compare()
235 semanage_port_t *port1 = NULL; in helper_port_compare2()
236 semanage_port_t *port2 = NULL; in helper_port_compare2()
288 semanage_port_t *port = NULL; in test_port_key_extract()
308 semanage_port_t *port = NULL; in helper_port_get_set_proto()
[all …]