Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/include/sepol/
Dport_record.h13 typedef struct sepol_port sepol_port_t; typedef
22 extern int sepol_port_compare(const sepol_port_t * port,
25 extern int sepol_port_compare2(const sepol_port_t * port,
26 const sepol_port_t * port2);
36 const sepol_port_t * port,
42 extern int sepol_port_get_proto(const sepol_port_t * port);
44 extern void sepol_port_set_proto(sepol_port_t * port, int proto);
49 extern int sepol_port_get_low(const sepol_port_t * port);
51 extern int sepol_port_get_high(const sepol_port_t * port);
53 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,
/third_party/selinux/libsepol/src/
Dport_record.c61 const sepol_port_t * port, in sepol_port_key_extract()
83 int sepol_port_compare(const sepol_port_t * port, const sepol_port_key_t * key) in sepol_port_compare()
109 int sepol_port_compare2(const sepol_port_t * port, const sepol_port_t * port2) in sepol_port_compare2()
136 int sepol_port_get_low(const sepol_port_t * port) in sepol_port_get_low()
143 int sepol_port_get_high(const sepol_port_t * port) in sepol_port_get_high()
150 void sepol_port_set_port(sepol_port_t * port, int port_num) in sepol_port_set_port()
157 void sepol_port_set_range(sepol_port_t * port, int low, int high) in sepol_port_set_range()
166 int sepol_port_get_proto(const sepol_port_t * port) in sepol_port_get_proto()
191 void sepol_port_set_proto(sepol_port_t * port, int proto) in sepol_port_set_proto()
199 int sepol_port_create(sepol_handle_t * handle, sepol_port_t ** port) in sepol_port_create()
[all …]
Dports.c57 ocontext_t ** port, const sepol_port_t * data) in port_from_record()
116 ocontext_t * port, sepol_port_t ** record) in port_to_record()
126 sepol_port_t *tmp_record = NULL; in port_to_record()
215 const sepol_port_key_t * key, sepol_port_t ** response) in sepol_port_query()
255 const sepol_port_key_t * key, const sepol_port_t * data) in sepol_port_modify()
291 int (*fn) (const sepol_port_t * port, in sepol_port_iterate()
297 sepol_port_t *port = NULL; in sepol_port_iterate()