Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_bad/sys/shm/
Dshmpipe.c204 struct sockaddr_un sock_un; in sp_writer_create() local
223 sock_un.sun_family = AF_UNIX; in sp_writer_create()
224 strncpy (sock_un.sun_path, path, sizeof (sock_un.sun_path) - 1); in sp_writer_create()
226 while (bind (self->main_socket, (struct sockaddr *) &sock_un, in sp_writer_create()
234 snprintf (sock_un.sun_path, sizeof (sock_un.sun_path), "%s.%d", path, i); in sp_writer_create()
238 self->socket_path = strdup (sock_un.sun_path); in sp_writer_create()
774 struct sockaddr_un sock_un; in sp_client_open() local
792 sock_un.sun_family = AF_UNIX; in sp_client_open()
793 strncpy (sock_un.sun_path, path, sizeof (sock_un.sun_path) - 1); in sp_client_open()
795 if (connect (self->main_socket, (struct sockaddr *) &sock_un, in sp_client_open()