Searched refs:main_socket (Results 1 – 1 of 1) sorted by relevance
/third_party/gstreamer/gstplugins_bad/sys/shm/ |
D | shmpipe.c | 129 int main_socket; member 209 self->main_socket = socket (PF_UNIX, SOCK_STREAM, 0); in sp_writer_create() 212 if (self->main_socket < 0) in sp_writer_create() 216 flags = fcntl (self->main_socket, F_GETFL, 0); in sp_writer_create() 220 if (fcntl (self->main_socket, F_SETFL, flags | O_NONBLOCK | FD_CLOEXEC) < 0) in sp_writer_create() 226 while (bind (self->main_socket, (struct sockaddr *) &sock_un, in sp_writer_create() 244 if (listen (self->main_socket, LISTEN_BACKLOG) < 0) in sp_writer_create() 435 if (self->main_socket >= 0) { in sp_writer_close() 436 shutdown (self->main_socket, SHUT_RDWR); in sp_writer_close() 437 close (self->main_socket); in sp_writer_close() [all …]
|