Searched refs:str_sock (Results 1 – 2 of 2) sorted by relevance
169 port->str_sock = -1; in lsock_open_port()225 if (port->str_sock >= 0) in lsock_close_port()226 (void)close(port->str_sock); in lsock_close_port()304 if ((p->str_sock = socket(PF_LOCAL, SOCK_STREAM, 0)) < 0) { in lsock_init_port()315 if (bind(p->str_sock, (struct sockaddr *)&sa, sizeof(sa))) { in lsock_init_port()317 close(p->str_sock); in lsock_init_port()318 p->str_sock = -1; in lsock_init_port()322 close(p->str_sock); in lsock_init_port()323 p->str_sock = -1; in lsock_init_port()329 if (listen(p->str_sock, 10) == -1) { in lsock_init_port()[all …]
53 int str_sock; /* stream socket */ member