Home
last modified time | relevance | path

Searched refs:new_port (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libsepol/src/
Dport_record.c229 sepol_port_t *new_port = NULL; in hidden_def() local
230 if (sepol_port_create(handle, &new_port) < 0) in hidden_def()
233 new_port->low = port->low; in hidden_def()
234 new_port->high = port->high; in hidden_def()
235 new_port->proto = port->proto; in hidden_def()
238 (sepol_context_clone(handle, port->con, &new_port->con) < 0)) in hidden_def()
241 *port_ptr = new_port; in hidden_def()
246 sepol_port_free(new_port); in hidden_def()
/external/ipsec-tools/src/racoon/
Dsockmisc.h86 extern u_int16_t *set_port __P((struct sockaddr *addr, u_int16_t new_port));
Dsockmisc.c1172 set_port (struct sockaddr *addr, u_int16_t new_port) in set_port() argument
1179 *port_ptr = htons(new_port); in set_port()