Home
last modified time | relevance | path

Searched full:client (Results 1 – 25 of 1694) sorted by relevance

12345678910>>...68

/openbmc/qemu/contrib/ivshmem-client/
H A Divshmem-client.c15 #include "ivshmem-client.h"
18 #define IVSHMEM_CLIENT_DEBUG(client, fmt, ...) do { \ argument
19 if ((client)->verbose) { \
26 ivshmem_client_read_one_msg(IvshmemClient *client, int64_t *index, int *fd) in ivshmem_client_read_one_msg() argument
46 ret = recvmsg(client->sock_fd, &msg, 0); in ivshmem_client_read_one_msg()
48 IVSHMEM_CLIENT_DEBUG(client, "cannot read message: %s\n", in ivshmem_client_read_one_msg()
53 IVSHMEM_CLIENT_DEBUG(client, "lost connection to server\n"); in ivshmem_client_read_one_msg()
75 * client is freed */
77 ivshmem_client_free_peer(IvshmemClient *client, IvshmemClientPeer *peer) in ivshmem_client_free_peer() argument
81 QTAILQ_REMOVE(&client->peer_list, peer, next); in ivshmem_client_free_peer()
[all …]
H A Divshmem-client.h13 * This file provides helper to implement an ivshmem client. It is used
15 * guest. QEMU also implements an ivshmem client similar to this one, they both
18 * A standalone ivshmem client based on this file is provided for debug/test
28 * Maximum number of notification vectors supported by the client
35 * Each time a client connects to an ivshmem server, it is advertised to
37 * client receives a notification, it creates a IvshmemClientPeer
41 * client in (IvshmemClient)->local.
57 const IvshmemClient *client,
62 * Structure describing an ivshmem client
64 * This structure stores all information related to our client: the name
[all …]
H A Dmain.c11 #include "ivshmem-client.h"
78 ivshmem_client_handle_stdin_command(IvshmemClient *client) in ivshmem_client_handle_stdin_command() argument
103 ivshmem_client_dump(client); in ivshmem_client_handle_stdin_command()
105 ivshmem_client_notify_broadcast(client); in ivshmem_client_handle_stdin_command()
107 peer = ivshmem_client_search_peer(client, peer_id); in ivshmem_client_handle_stdin_command()
112 ivshmem_client_notify(client, peer, vector); in ivshmem_client_handle_stdin_command()
114 peer = ivshmem_client_search_peer(client, peer_id); in ivshmem_client_handle_stdin_command()
119 ivshmem_client_notify_all_vects(client, peer); in ivshmem_client_handle_stdin_command()
133 ivshmem_client_poll_events(IvshmemClient *client) in ivshmem_client_poll_events() argument
144 ivshmem_client_get_fds(client, &fds, &maxfd); in ivshmem_client_poll_events()
[all …]
/openbmc/qemu/block/
H A Dnfs.c75 NFSClient *client; member
190 static void nfs_set_events(NFSClient *client) in nfs_set_events() argument
192 int ev = nfs_which_events(client->context); in nfs_set_events()
193 if (ev != client->events) { in nfs_set_events()
194 aio_set_fd_handler(client->aio_context, nfs_get_fd(client->context), in nfs_set_events()
197 NULL, NULL, client); in nfs_set_events()
200 client->events = ev; in nfs_set_events()
205 NFSClient *client = arg; in nfs_process_read() local
207 qemu_mutex_lock(&client->mutex); in nfs_process_read()
208 nfs_service(client->context, POLLIN); in nfs_process_read()
[all …]
/openbmc/obmc-console/
H A Dsocket-handler.c40 struct client { struct
54 struct client **clients; argument
68 static void client_close(struct client *client) in client_close() argument
70 struct socket_handler *sh = client->sh; in client_close()
73 close(client->fd); in client_close()
74 if (client->poller) { in client_close()
75 console_poller_unregister(sh->console, client->poller); in client_close()
78 if (client->rbc) { in client_close()
79 ringbuffer_consumer_unregister(client->rbc); in client_close()
83 if (sh->clients[idx] == client) { in client_close()
[all …]
H A Dconsole-client.c70 static enum process_rc process_ssh_tty(struct console_client *client, in process_ssh_tty() argument
73 struct ssh_esc_state *esc_state = &client->esc_state.ssh; in process_ssh_tty()
92 rc = write_buf_to_fd(client->console_sd, out_buf, in process_ssh_tty()
107 rc = write_buf_to_fd(client->console_sd, out_buf, in process_ssh_tty()
112 static enum process_rc process_str_tty(struct console_client *client, in process_str_tty() argument
115 struct str_esc_state *esc_state = &client->esc_state.str; in process_str_tty()
133 if (write_buf_to_fd(client->console_sd, buf, i) < 0) { in process_str_tty()
139 static enum process_rc process_tty(struct console_client *client) in process_tty() argument
144 len = read(client->fd_in, buf, sizeof(buf)); in process_tty()
152 switch (client->esc_type) { in process_tty()
[all …]
/openbmc/openbmc/poky/bitbake/lib/hashserv/
H A Dtests.py74 def cleanup_client(client): argument
75 client.close()
77 client = create_client(server_address, username=username, password=password)
78 self.addCleanup(cleanup_client, client)
80 return client
101 self.client = self.start_client(self.server_address)
103 def assertClientGetHash(self, client, taskhash, unihash): argument
104 result = client.get_unihash(self.METHOD, taskhash)
108 with self.auth_client(user) as client:
109 info = client.get_user()
[all …]
/openbmc/openbmc-test-automation/openpower/ext_interfaces/
H A Dtest_client_identifier.robot3 Documentation Test client identifier feature on BMC.
25 [Documentation] Create a session with client id and verify client id is same.
32 EXTERNAL-CLIENT-01 False
33 EXTERNAL-CLIENT-02 False
37 [Documentation] Create a session with client id and verify client id is same after the reboot.
43 EXTERNAL-CLIENT-01 True
47 [Documentation] Create a multiple session with client id and verify client id is same.
53 EXTERNAL-CLIENT-01,EXTERNAL-CLIENT-02 False
57 …[Documentation] Create a multiple session with client id and verify client id is same after the r…
63 EXTERNAL-CLIENT-01,EXTERNAL-CLIENT-02 True
[all …]
/openbmc/sdbusplus/include/sdbusplus/async/
H A Dclient.hpp8 namespace client namespace
16 /** An aggregation class of sdbusplus::async::proxy-based client types.
26 class client : class
28 public Types<client<S, P, Preserved, Types...>,
32 using Self = client<S, P, Preserved, Types...>;
40 constexpr client() = delete;
42 explicit client(sdbusplus::async::context& ctx)
46 explicit client(sdbusplus::async::context& ctx) in client() function in sdbusplus::async::client::client
52 explicit client(sdbusplus::async::context& ctx, Proxy p) in client() function in sdbusplus::async::client::client
61 return client<true, P, Preserved, Types...>(ctx, proxy.service(s)); in service()
[all …]
/openbmc/phosphor-snmp/
H A Dsnmp_client.hpp2 #include "xyz/openbmc_project/Network/Client/server.hpp"
21 sdbusplus::xyz::openbmc_project::Network::server::Client,
26 /** @class Client
27 * @brief represents the snmp client configuration
29 * xyz.openbmc_project.Network.Client Dbus interface.
31 class Client : public Ifaces class
34 Client() = delete;
35 Client(const Client&) = delete;
36 Client& operator=(const Client&) = delete;
37 Client(Client&&) = delete;
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/pidgin/libotr/
H A D0001-tests-Include-missing-sys-socket.h-header.patch7 | ../../../../libotr-4.1.1/tests/regression/client/client.c:979:21: error: use of undeclared identi…
8 | ../../../../libotr-4.1.1/tests/regression/client/client.c:979:30: error: use of undeclared identi…
9 | ../../../../libotr-4.1.1/tests/regression/client/client.c:986:20: error: use of undeclared identi…
14 tests/regression/client/client.c | 1 +
17 diff --git a/tests/regression/client/client.c b/tests/regression/client/client.c
19 --- a/tests/regression/client/client.c
20 +++ b/tests/regression/client/client.c
/openbmc/qemu/docs/interop/
H A Dbarrier.rst1 Barrier client protocol
4 QEMU's ``input-barrier`` device implements the client end of
13 Message format between the server and client is in two parts:
19 command. The first command between the server and the client
32 server -> client
36 Say hello to client
46 client ->server
52 ``minor`` = protocol major version number supported by client
54 ``major`` = protocol minor version number supported by client
56 ``name`` = client name
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/freeradius/files/
H A D0012-raddb-certs-Makefile-fix-the-existed-certificate-err.patch9 …a.key -cert ca.pem -in client.csr -key 'whatever' -out client.crt -extensions xpclient_ext -extfi…
10 Using configuration from ./client.cnf
20 make: *** [Makefile:128: client.crt] Error 1
44 @@ -117,7 +117,7 @@ client.csr client.key: client.cnf
45 chmod g+r client.key
47 client.crt: ca.key ca.pem client.csr
48 …key -cert ca.pem -in client.csr -key $(PASSWORD_CA) -out client.crt -extensions xpclient_ext -ext…
49client.crt ] || $(OPENSSL) ca -batch -keyfile ca.key -cert ca.pem -in client.csr -key $(PASSWORD_…
51 client.p12: client.crt
52 …$(OPENSSL) pkcs12 -export -in client.crt -inkey client.key -out client.p12 -passin pass:$(PASSWOR…
H A D0013-raddb-certs-Makefile-fix-the-occasional-verification.patch35 @@ -59,7 +59,7 @@ passwords.mk: server.cnf ca.cnf client.cnf inner-server.cnf
91 client.csr client.key: client.cnf
92 - $(OPENSSL) req -new -out client.csr -keyout client.key -config ./client.cnf
93 + @[ -f client.csr ] || $(OPENSSL) req -new -out client.csr -keyout client.key -config ./client.cnf
94 chmod g+r client.key
96 client.crt: ca.key ca.pem client.csr
97client.crt ] || $(OPENSSL) ca -batch -keyfile ca.key -cert ca.pem -in client.csr -key $(PASSWORD_…
99 client.p12: client.crt
100 - $(OPENSSL) pkcs12 -export -in client.crt -inkey client.key -out client.p12 -passin pass:$(PASSWO…
101 + @[ -f client.p12 ] || $(OPENSSL) pkcs12 -export -in client.crt -inkey client.key -out client.p12 …
[all …]
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-connectivity/geary/geary/
H A D0001-application-client.vala-hardcode-some-paths.patch4 Subject: [PATCH] application-client.vala: hardcode some paths
7 https://gitlab.gnome.org/GNOME/geary/-/blob/main/src/client/application/application-client.vala?ref…
8 https://gitlab.gnome.org/GNOME/geary/-/blob/main/src/client/application/application-client.vala?ref…
11 WARNING: geary-46.0-r0 do_package_qa: QA Issue: File /usr/lib/geary/libgeary-client-46.0.so in pack…
12 WARNING: geary-46.0-r0 do_package_qa: QA Issue: File /usr/lib/geary/.debug/libgeary-client-46.0.so …
18 src/client/application/application-client.vala | 4 ++--
21 diff --git a/src/client/application/application-client.vala b/src/client/application/application-cl…
23 --- a/src/client/application/application-client.vala
24 +++ b/src/client/application/application-client.vala
25 @@ -39,9 +39,9 @@ public class Application.Client : Gtk.Application {
/openbmc/phosphor-snmp/test/
H A Dtest_snmp_client.cpp43 Client client(bus, objPath.c_str(), manager, "1.1.1.1", 202); in TEST_F() local
44 EXPECT_EQ(client.transportProtocol(), in TEST_F()
45 sdbusplus::server::xyz::openbmc_project::network::Client:: in TEST_F()
47 EXPECT_EQ(client.address(), "1.1.1.1"); in TEST_F()
48 EXPECT_EQ(client.port(), 202); in TEST_F()
49 client.address("2.2.2.2"); in TEST_F()
50 EXPECT_EQ(client.address(), "2.2.2.2"); in TEST_F()
51 client.port(404); in TEST_F()
52 EXPECT_EQ(client.port(), 404); in TEST_F()
59 Client client(bus, objPath.c_str(), manager, "1.1.1.1", 202); in TEST_F() local
[all …]
/openbmc/openbmc/poky/meta/recipes-connectivity/connman/connman-gnome/
H A Dconnman-gnome-fix-dbus-interface-name.patch13 common/connman-client.c | 24 ++++++++++++------------
14 common/connman-client.h | 4 ++--
19 diff --git a/common/connman-client.c b/common/connman-client.c
21 --- a/common/connman-client.c
22 +++ b/common/connman-client.c
23 @@ -289,7 +289,7 @@ gboolean connman_client_set_ipv4(ConnmanClient *client, const gchar *device,
32 @@ -317,7 +317,7 @@ void connman_client_set_powered(ConnmanClient *client, const gchar *device,
41 @@ -325,7 +325,7 @@ void connman_client_set_powered(ConnmanClient *client, const gchar *device,
44 void connman_client_scan(ConnmanClient *client, const gchar *device,
48 ConnmanClientPrivate *priv = CONNMAN_CLIENT_GET_PRIVATE(client);
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/boinc/boinc-client/
H A D0001-scripts-Do-not-check-for-files-on-build-host.patch16 client/scripts/Makefile.am | 10 +++++-----
19 diff --git a/client/scripts/Makefile.am b/client/scripts/Makefile.am
21 --- a/client/scripts/Makefile.am
22 +++ b/client/scripts/Makefile.am
26 chmod +x boinc-client
30 $(INSTALL) -b boinc-client $(DESTDIR)$(sysconfdir)/init.d/boinc-client ; \
35 $(INSTALL_DATA) boinc-client.service $(DESTDIR)/usr/lib/systemd/system/boinc-client.service ; \
39 $(INSTALL_DATA) boinc-client.service $(DESTDIR)/lib/systemd/system/boinc-client.service ; \
44 $(INSTALL_DATA) $(srcdir)/boinc-client.conf $(DESTDIR)$(sysconfdir)/sysconfig/boinc-client ; \
48 $(INSTALL_DATA) $(srcdir)/boinc-client.conf $(DESTDIR)$(sysconfdir)/default/boinc-client ; \
/openbmc/sdbusplus/tools/sdbusplus/templates/
H A Dinterface.client.hpp.mako2 #include <sdbusplus/async/client.hpp>
12 namespace sdbusplus::client::${interface.cppNamespace()}
18 template <typename Client, typename Proxy>
22 /** Alias class so we can use the client in both a client_t aggregation
28 template <typename Client = void, typename Proxy = void>
30 public std::conditional_t<std::is_void_v<Client>,
32 details::${interface.classname}<Client, Proxy>>
36 std::conditional_t<std::is_void_v<Client>,
38 details::${interface.classname}<Client, Proxy>>(
46 template <typename Client, typename Proxy>
[all …]
/openbmc/qemu/tests/qtest/
H A Dvirtio-9p-test.c17 #include "libqos/virtio-9p-client.h"
60 tversion({ .client = obj }); in fs_version()
66 tattach({ .client = obj }); in fs_attach()
82 tattach({ .client = v9p }); in fs_walk()
84 .client = v9p, .fid = 0, .newfid = 1, in fs_walk()
117 tattach({ .client = v9p }); in fs_readdir()
119 .client = v9p, .fid = 0, .newfid = 1, in fs_readdir()
125 .client = v9p, .fid = 1, .flags = O_DIRECTORY, .rlopen.qid = &qid in fs_readdir()
132 .client = v9p, .fid = 1, .offset = 0, .count = P9_MAX_SIZE - 11, in fs_readdir()
174 tattach({ .client = v9p }); in do_readdir_split()
[all …]
/openbmc/openbmc/poky/meta/recipes-multimedia/pulseaudio/pulseaudio/
H A D0001-client-conf-Add-allow-autospawn-for-root.patch4 Subject: [PATCH] client-conf: Add allow-autospawn-for-root
19 man/pulse-client.conf.5.xml.in | 9 +++++++++
20 src/pulse/client-conf.c | 1 +
21 src/pulse/client-conf.h | 1 +
22 src/pulse/client.conf.in | 1 +
26 diff --git a/man/pulse-client.conf.5.xml.in b/man/pulse-client.conf.5.xml.in
28 --- a/man/pulse-client.conf.5.xml.in
29 +++ b/man/pulse-client.conf.5.xml.in
46 diff --git a/src/pulse/client-conf.c b/src/pulse/client-conf.c
48 --- a/src/pulse/client-conf.c
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DRegisteredClient.v1_1_2.json40 …"Configure": "The registered client performs update, create, and delete operations on the resource…
41 "Monitor": "The registered client only performs read operations on this service."
47 "description": "A resource managed by a client.",
48 …n": "This object shall contain information about a resource managed by a client. The managed reso…
65 …ther the subordinate resources of the managed resource are also managed by the registered client.",
66 … by the `ManagedResourceURI` property are also managed by the registered client. If not specified…
74 … "description": "The URI of the resource or resource collection managed by the registered client.",
76 …stered client. When the URI references a resource collection, all members of the resource collect…
84 …"description": "Indicates whether the registered client expects to have exclusive access to the ma…
85 …"longDescription": "This property shall indicate whether the registered client expects to have exc…
[all …]
/openbmc/openbmc/poky/bitbake/bin/
H A Dbitbake-hashclient57 def handle_get(args, client): argument
58 result = client.get_taskhash(args.method, args.taskhash, all_properties=True)
65 def handle_get_outhash(args, client): argument
66 result = client.get_outhash(args.method, args.outhash, args.taskhash)
73 def handle_stats(args, client): argument
75 s = client.reset_stats()
77 s = client.get_stats()
81 def handle_stress(args, client): argument
88 with hashserv.create_client(args.address) as client:
95 l = client.get_unihash(METHOD, taskhash.hexdigest())
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/uw-imap/
H A Duw-imap_2007f.bb1 SUMMARY = "UW c-client library for mail protocols"
34 HEADERS = "src/c-client/*.h src/osdep/unix/*.h c-client/auths.c c-client/linkage.c c-client/linkage…
42 install -d ${D}${includedir}/c-client
43 install ${HEADERS} ${D}${includedir}/c-client
45 install c-client/c-client.a ${D}${libdir}/libc-client.a
48 RPROVIDES:${PN} = "libc-client"
49 RREPLACES:${PN} = "libc-client"
50 RCONFLICTS:${PN} = "libc-client"
/openbmc/qemu/python/qemu/utils/
H A Dqemu_ga_client.py2 QEMU Guest Agent Client
14 $ qemu-ga-client --address=/tmp/qga.sock <command> [args...]
19 $ qemu-ga-client <command> [args...]
23 $ qemu-ga-client cat /etc/resolv.conf
26 $ qemu-ga-client fsfreeze status
28 $ qemu-ga-client fsfreeze freeze
189 def _cmd_cat(client: QemuGuestAgentClient, args: Sequence[str]) -> None:
194 print(client.read(args[0]))
197 def _cmd_fsfreeze(client: QemuGuestAgentClient, args: Sequence[str]) -> None:
208 ret = client.fsfreeze(cmd)
[all …]

12345678910>>...68