Lines Matching refs:sock
514 int sock;
521 sock = g_io_channel_unix_get_fd(session->io);
537 return try_send(sock, session->buf, sizeof(single) + len);
558 if (!try_send(sock, session->buf, session->omtu))
586 if (!try_send(sock, session->buf, to_copy + sizeof(cont)))
605 int sock;
610 sock = g_io_channel_unix_get_fd(stream->io);
612 shutdown(sock, SHUT_RDWR);
3076 gboolean avdtp_stream_get_transport(struct avdtp_stream *stream, int *sock,
3083 if (sock)
3084 *sock = g_io_channel_unix_get_fd(stream->io);