Searched refs:str_sock (Results 1 – 2 of 2) sorted by relevance
168 port->str_sock = -1; in lsock_open_port()224 if (port->str_sock >= 0) in lsock_close_port()225 (void)close(port->str_sock); in lsock_close_port()303 if ((p->str_sock = socket(PF_LOCAL, SOCK_STREAM, 0)) < 0) { in lsock_init_port()314 if (bind(p->str_sock, (struct sockaddr *)&sa, sizeof(sa))) { in lsock_init_port()316 close(p->str_sock); in lsock_init_port()317 p->str_sock = -1; in lsock_init_port()321 close(p->str_sock); in lsock_init_port()322 p->str_sock = -1; in lsock_init_port()328 if (listen(p->str_sock, 10) == -1) { in lsock_init_port()[all …]
53 int str_sock; /* stream socket */ member