Home
last modified time | relevance | path

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

/openbmc/qemu/contrib/ivshmem-server/
H A Divshmem-server.c255 ivshmem_server_init(IvshmemServer *server, const char *unix_sock_path, in ivshmem_server_init() argument
265 ret = snprintf(server->unix_sock_path, sizeof(server->unix_sock_path), in ivshmem_server_init()
266 "%s", unix_sock_path); in ivshmem_server_init()
267 if (ret < 0 || ret >= sizeof(server->unix_sock_path)) { in ivshmem_server_init()
320 server->unix_sock_path); in ivshmem_server_start()
332 server->unix_sock_path); in ivshmem_server_start()
375 unlink(server->unix_sock_path); in ivshmem_server_close()
H A Divshmem-server.h63 char unix_sock_path[PATH_MAX]; /**< path to unix socket */ member
89 ivshmem_server_init(IvshmemServer *server, const char *unix_sock_path,
/openbmc/qemu/contrib/ivshmem-client/
H A Dmain.c18 const char *unix_sock_path; member
56 args->unix_sock_path = optarg; in ivshmem_client_parse_args()
193 .unix_sock_path = IVSHMEM_CLIENT_DEFAULT_UNIX_SOCK_PATH, in main()
213 if (ivshmem_client_init(&client, args.unix_sock_path, in main()
H A Divshmem-client.c144 ivshmem_client_init(IvshmemClient *client, const char *unix_sock_path, in ivshmem_client_init() argument
153 ret = snprintf(client->unix_sock_path, sizeof(client->unix_sock_path), in ivshmem_client_init()
154 "%s", unix_sock_path); in ivshmem_client_init()
156 if (ret < 0 || ret >= sizeof(client->unix_sock_path)) { in ivshmem_client_init()
186 client->unix_sock_path); in ivshmem_client_connect()
197 client->unix_sock_path); in ivshmem_client_connect()
H A Divshmem-client.h70 char unix_sock_path[PATH_MAX]; /**< path to unix sock */ member
96 int ivshmem_client_init(IvshmemClient *client, const char *unix_sock_path,