Home
last modified time | relevance | path

Searched refs:sepol_port_t (Results 1 – 5 of 5) sorted by relevance

/external/selinux/libsepol/include/sepol/
Dport_record.h13 typedef struct sepol_port sepol_port_t; typedef
21 extern int sepol_port_compare(const sepol_port_t * port,
24 extern int sepol_port_compare2(const sepol_port_t * port,
25 const sepol_port_t * port2);
35 const sepol_port_t * port,
41 extern int sepol_port_get_proto(const sepol_port_t * port);
43 extern void sepol_port_set_proto(sepol_port_t * port, int proto);
48 extern int sepol_port_get_low(const sepol_port_t * port);
50 extern int sepol_port_get_high(const sepol_port_t * port);
52 extern void sepol_port_set_port(sepol_port_t * port, int port_num);
[all …]
Dports.h25 sepol_port_t ** response);
31 const sepol_port_t * data);
41 int (*fn) (const sepol_port_t * port,
/external/selinux/libsepol/src/
Dport_record.c63 const sepol_port_t * port, in hidden_def()
85 int sepol_port_compare(const sepol_port_t * port, const sepol_port_key_t * key) in sepol_port_compare()
111 int sepol_port_compare2(const sepol_port_t * port, const sepol_port_t * port2) in sepol_port_compare2()
138 int sepol_port_get_low(const sepol_port_t * port) in sepol_port_get_low()
146 int sepol_port_get_high(const sepol_port_t * port) in hidden_def()
154 void sepol_port_set_port(sepol_port_t * port, int port_num) in hidden_def()
161 void sepol_port_set_range(sepol_port_t * port, int low, int high) in sepol_port_set_range()
171 int sepol_port_get_proto(const sepol_port_t * port) in hidden_def()
196 void sepol_port_set_proto(sepol_port_t * port, int proto) in hidden_def()
205 int sepol_port_create(sepol_handle_t * handle, sepol_port_t ** port) in hidden_def()
[all …]
Dports.c50 ocontext_t ** port, const sepol_port_t * data) in port_from_record()
109 ocontext_t * port, sepol_port_t ** record) in port_to_record()
119 sepol_port_t *tmp_record = NULL; in port_to_record()
208 const sepol_port_key_t * key, sepol_port_t ** response) in sepol_port_query()
248 const sepol_port_key_t * key, const sepol_port_t * data) in sepol_port_modify()
284 int (*fn) (const sepol_port_t * port, in sepol_port_iterate()
290 sepol_port_t *port = NULL; in sepol_port_iterate()
/external/selinux/libsemanage/src/
Dport_record.c13 typedef sepol_port_t semanage_port_t;