Searched refs:new_port (Results 1 – 3 of 3) sorted by relevance
229 sepol_port_t *new_port = NULL; in hidden_def() local230 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()
86 extern u_int16_t *set_port __P((struct sockaddr *addr, u_int16_t new_port));
1172 set_port (struct sockaddr *addr, u_int16_t new_port) in set_port() argument1179 *port_ptr = htons(new_port); in set_port()