Home
last modified time | relevance | path

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

/external/selinux/libsemanage/src/
Dport_record.c156 semanage_port_t ** port_ptr) in hidden_def()
159 return sepol_port_create(handle->sepolh, port_ptr); in hidden_def()
166 semanage_port_t ** port_ptr) in hidden_def()
169 return sepol_port_clone(handle->sepolh, port, port_ptr); in hidden_def()
/external/selinux/libsemanage/include/semanage/
Dport_record.h62 semanage_port_t ** port_ptr);
66 semanage_port_t ** port_ptr);
/external/selinux/libsepol/include/sepol/
Dport_record.h61 extern int sepol_port_create(sepol_handle_t * handle, sepol_port_t ** port_ptr);
65 sepol_port_t ** port_ptr);
/external/ipsec-tools/src/racoon/
Dsockmisc.c1150 u_int16_t *port_ptr; in get_port_ptr() local
1157 port_ptr = &(((struct sockaddr_in *)addr)->sin_port); in get_port_ptr()
1160 port_ptr = &(((struct sockaddr_in6 *)addr)->sin6_port); in get_port_ptr()
1168 return port_ptr; in get_port_ptr()
1174 u_int16_t *port_ptr; in set_port() local
1176 port_ptr = get_port_ptr (addr); in set_port()
1178 if (port_ptr) in set_port()
1179 *port_ptr = htons(new_port); in set_port()
1181 return port_ptr; in set_port()
/external/selinux/libsepol/src/
Dport_record.c226 const sepol_port_t * port, sepol_port_t ** port_ptr) in hidden_def()
241 *port_ptr = new_port; in hidden_def()