Home
last modified time | relevance | path

Searched +full:socket +full:- +full:based (Results 1 – 25 of 204) sorted by relevance

123456789

/openbmc/docs/designs/mctp/
H A Dmctp-userspace.md20 provides a socket-based interface for other processes to send and receive
24 handling local MCTP-stack configuration, like local EID assignments.
30 2. one or more binding implementations (eg, MCTP-over-serial), which interact
33 3. an interface to handler applications over a unix-domain socket.
38 - an "upper" messaging transmit/receive interface, for tx/rx of a full message
41 - a "lower" hardware binding for transmit/receive of individual packets,
45 The lower interface would be plugged in to one of a number of hardware-specific
47 tree, but others can be plugged-in too, perhaps where the physical layer
48 implementation does not make sense to include in the platform-agnostic library.
56 for the library should also allow this re-use; a dual Apache & GPLv2+ licence
[all …]
H A Dmctp-kernel.md1 # OpenBMC in-kernel MCTP
8 This document describes a kernel-based implementation of MCTP infrastructure,
9 providing a sockets-based API for MCTP communication within an OpenBMC-based
14 - The MCTP messaging API should be an obvious application of the existing POSIX
15 socket interface
17 - Configuration should be simple for a straightforward MCTP endpoint: a single
20 - Infrastructure should be flexible enough to allow for more complex MCTP
22 - each MCTP network (as defined by section 3.2.31 of DSP0236) may consist of
25 - multiple distinct (ie., non-bridged) networks, possibly containing
28 - multiple local EIDs on a single interface, and
[all …]
/openbmc/qemu/docs/system/devices/
H A Dnet.rst4 -----------------
10 devices or the non-privileged user mode network stack), or to other
12 socket host network backend).
25 packages QEMU. By default these are found at ``/etc/qemu-ifup`` and
26 ``/etc/qemu-ifdown`` and are called appropriately when QEMU wants to
29 If QEMU is being run as a non-privileged user you may need properly
43 TAP-Win32. But it is not included in standard QEMU for Windows, so you
50 By using the option ``-net user`` (default configuration if no ``-net``
55 guest (10.0.2.15) <------> Firewall/DHCP server <-----> Internet
58 ----> DNS server (10.0.2.3)
[all …]
H A Dvhost-user.rst3 vhost-user back ends
4 --------------------
6 vhost-user back ends are way to service the request of VirtIO devices
10 vhost-user device
15 a ``chardev`` option which specifies the ID of the ``--chardev``
16 device that connects via a socket to the vhost-user *daemon*.
18 Each device will have an virtio-mmio and virtio-pci variant. See your
21 .. list-table:: vhost-user devices
23 :header-rows: 1
25 * - Device
[all …]
/openbmc/u-boot/arch/sandbox/include/asm/
H A Deth-raw-os.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 * struct eth_sandbox_raw_priv - raw socket session
17 * sd: socket descriptor - the open socket during a session
20 * device: struct sockaddr_ll - the host interface packets move to/from
22 * local_bindsd: socket descriptor to prevent the kernel from sending
40 char *if_name; /* Null-terminated name ("eth0", etc.) */
50 * ifname - the interface name on the host to check
52 * returns - 0 if real interface, 1 if local, negative if error
57 * Look up the name of the interface based on the ifindex populated in priv.
59 * Overwrite the host_ifname member in priv based on looking up host_ifindex
[all …]
/openbmc/qemu/backends/
H A Dspdm-socket.c1 /* SPDX-License-Identifier: BSD-3-Clause */
3 * QEMU SPDM socket support
5 * This is based on:
6 …* https://github.com/DMTF/spdm-emu/blob/07c0a838bcc1c6207c656ac75885c0603e344b6f/spdm_emu/spdm_emu…
7 * but has been re-written to match QEMU style
14 #include "system/spdm-socket.h"
17 static bool read_bytes(const int socket, uint8_t *buffer, in read_bytes() argument
24 result = recv(socket, buffer + number_received, in read_bytes()
25 number_of_bytes - number_received, 0); in read_bytes()
34 static bool read_data32(const int socket, uint32_t *data) in read_data32() argument
[all …]
/openbmc/qemu/docs/system/s390x/
H A Dcpu-topology.rst1 .. _cpu-topology-s390x:
8 tree-shaped hierarchy.
10 The socket container has one or more CPU entries.
13 - CPU type
14 - entitlement
15 - dedication
17 Each bit set in the bitmap correspond to a core-id of a vCPU with matching
23 monitor polarization changes, see ``docs/devel/s390-cpu-topology.rst``.
26 -------------
31 The s390x host needs to use a Linux kernel v6.0 or newer (which provides the so-called
[all …]
/openbmc/qemu/python/qemu/machine/
H A Dqtest.py5 offer a connection to QEMU's qtest protocol socket, and a qtest-enabled
15 # the COPYING file in the top-level directory.
17 # Based on qmp.py.
21 import socket
37 QEMUQtestProtocol implements a connection to a qtest socket.
39 :param address: QEMU address, can be either a unix socket path (string)
42 :param sock: An existing socket can be provided as an alternative to
44 :param server: server mode, listens on the socket. Only meaningful
46 socket.
48 :raise socket.error: on socket connection errors
[all …]
/openbmc/obmc-console/
H A DCHANGELOG.md5 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
11 - Added
12 - Changed
13 - Deprecated
14 - Removed
15 - Fixed
16 - Security
22 1. config: Added support for the `aspeed-uart-routing` configuration key
23 2. config: Added support for the `ringbuffer-size` configuration key
26 More details can be found [in the documentation](docs/mux-support.md).
[all …]
/openbmc/qemu/subprojects/libvhost-user/
H A Dlink-test.c3 * probably based off libvhost-user-glib instead.
7 #include "libvhost-user.h"
37 int socket = 0; in main() local
40 rc = vu_init(&dev, max_queues, socket, panic, NULL, set_watch, remove_watch, &iface); in main()
/openbmc/boost-dbus/include/dbus/detail/
H A Dwatch_timeout.hpp28 boost::asio::generic::stream_protocol::socket &socket = in operator ()() local
29 *static_cast<boost::asio::generic::stream_protocol::socket *>(data); in operator ()()
31 watch_toggled(dbus_watch, &socket.get_io_service()); in operator ()()
41 auto socket = in watch_toggled() local
42 static_cast<boost::asio::generic::stream_protocol::socket *>(watch_data); in watch_toggled()
45 socket->async_read_some(boost::asio::null_buffers(), in watch_toggled()
49 socket->async_write_some(boost::asio::null_buffers(), in watch_toggled()
53 socket->cancel(); in watch_toggled()
66 if (fd == -1) in add_watch()
67 // socket based watches in add_watch()
[all …]
/openbmc/qemu/python/qemu/utils/
H A Dqom.py4 usage: qom [-h] {set,get,list,tree,fuse} ...
9 -h, --help show this help message and exit
28 # See the COPYING file in the top-level directory.
30 # Based on ./scripts/qmp/qom-[set|get|tree|list]
50 QOM Command - Set a property to a given value.
52 usage: qom-set [-h] [--socket SOCKET] <path>.<property> <value>
61 -h, --help show this help message and exit
62 --socket SOCKET, -s SOCKET
63 QMP socket path or address (addr:port). May also be
70 def configure_parser(cls, parser: argparse.ArgumentParser) -> None:
[all …]
H A Dqom_common.py13 # See the COPYING file in the top-level directory.
15 # Based on ./scripts/qmp/qom-[set|get|tree|list]
36 Represents the return type from e.g. qom-list.
47 def make(cls, value: Dict[str, Any]) -> 'ObjectPropertyInfo':
52 assert value.keys() <= {'name', 'type', 'description', 'default-value'}
55 value.get('default-value'))
58 def child(self) -> bool:
63 def link(self) -> bool:
70 Represents a property return from e.g. qom-tree-get
78 def make(cls, value: Dict[str, Any]) -> 'ObjectPropertyValue':
[all …]
/openbmc/qemu/docs/system/i386/
H A Dnitro-enclave.rst1 'nitro-enclave' virtual machine (``nitro-enclave``)
4 ``nitro-enclave`` is a machine type which emulates an *AWS nitro enclave*
8 no persistent storage and no external networking. The enclave VMs are based
9 on Firecracker microvm with a vhost-vsock device for communication with the
15 In QEMU, ``nitro-enclave`` is a machine type based on ``microvm`` similar to how
19 device emulation is done using vhost-user-vsock which means another process that
20 can do the userspace emulation, like `vhost-device-vsock`_ from rust-vmm crate,
21 must be run alongside nitro-enclave for the vsock communication to work.
23 ``libcbor`` and ``gnutls`` are required dependencies for nitro-enclave machine
26 .. _AWS nitro enclaves: https://docs.aws.amazon.com/enclaves/latest/user/nitro-enclave.html
[all …]
/openbmc/qemu/hw/9pfs/
H A D9p-util-darwin.c5 * See the COPYING file in the top-level directory.
11 #include "qemu/error-report.h"
12 #include "9p-util.h"
20 if (fd == -1) { in fgetxattrat_nofollow()
21 return -1; in fgetxattrat_nofollow()
34 if (fd == -1) { in flistxattrat_nofollow()
35 return -1; in flistxattrat_nofollow()
47 if (fd == -1) { in fremovexattrat_nofollow()
48 return -1; in fremovexattrat_nofollow()
60 if (fd == -1) { in fsetxattrat_nofollow()
[all …]
/openbmc/phosphor-net-ipmid/
H A Dmessage_handler.hpp63 /** @brief Set socket channel in session object */
68 * The SOL payload is flattened and sent out on the socket
70 * @param[in] input - SOL Payload
80 * @param[in] netfn - Net function.
81 * @param[in] cmd - Command.
82 * @param[in] input - Command request data.
97 * Read the data on the socket, get the parser based on the Session
120 * socket
122 * @param[in] outMessage - Outgoing Message
130 * which is flattened and sent out on the socket
[all …]
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-platform-init/
H A Dampere_platform_init.sh4 # shellcheck source=meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-platform-init/mtmitche…
5 # shellcheck source=meta-ampere/meta-common/recipes-ampere/platform/ampere-utils/utils-lib.sh
7 source /usr/sbin/utils-lib.sh
9 function socket-based-fan-conf-update() {
10 echo "Checking phosphor-fan configurations based on CPU 1 presence..."
11 …fanControlConfDir="/usr/share/phosphor-fan-presence/control/com.ampere.Hardware.Chassis.Model.MtMi…
24 if [ -f "$fanControlConfDir/$refConf" ]; then
36 board_id=$(i2cget -y -a 0 0x20 0x0 b)
57 # P0[7] -> GPI[1] and P0[6] -> GPI[0]
60 if [[ $md_id_7_6_5_4 -gt 8 ]]; then
[all …]
/openbmc/qemu/tests/qtest/migration/
H A Dcpr-tests.c4 * Copyright (c) 2016-2018 Red Hat, Inc. and/or its affiliates
5 * based on the vhost-user-test.c that is:
9 * See the COPYING file in the top-level directory.
16 #include "migration/migration-qmp.h"
17 #include "migration/migration-util.h"
24 migrate_set_parameter_str(from, "mode", "cpr-reboot"); in migrate_hook_start_mode_reboot()
25 migrate_set_parameter_str(to, "mode", "cpr-reboot"); in migrate_hook_start_mode_reboot()
49 migrate_set_parameter_str(from, "mode", "cpr-transfer"); in test_mode_transfer_start()
54 * cpr-transfer mode cannot use the target monitor prior to starting the
65 const char *opts = "-machine aux-ram-share=on -nodefaults"; in test_mode_transfer_common()
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Control/Service/
H A DSocketAttributes.interface.yaml2 This interface defines the attributes of services which support socket-based
5 service-config-manager will implement this interface for network services
6 like bmcweb and phosphor-ipmi-net and allow the port number to be
10 - name: Port
/openbmc/google-misc/subprojects/ncsid/doc/
H A Dncsid_internals.md1 # NC-SId Internals
3 **NOTE**: This documents describes the internal architecture of NC-SId daemon.
11 - **NC-SId Core**. These are new components implemented in NC-SId.
13 - **Hardware**. External hardware components, in this case, the NIC.
15 - **EC**. This is the code borrowed from EC. The three state machines are pretty
18 - **External Components**. These are external services/daemons NC-SIs interacts
25 In the NIC — NC-SId interactions, NIC acts as a server, replying to NC-SId
26 requests and NC-SId itself acts as a client, sending those requests. Thus, there
27 is no state in NIC (server), but there is a state in NC-SId (client).
31 NC-SId reuses the state machines from EC. They are treated like black boxes.
[all …]
/openbmc/u-boot/drivers/tee/optee/
H A Doptee_msg_supplicant.h1 /* SPDX-License-Identifier: BSD-2-Clause */
3 * Copyright (c) 2016-2018, Linaro Limited
10 * This file is based on
11 * https://github.com/OP-TEE/optee_os/blob/master/core/include/optee_msg_supplicant.h
161 * Socket commands
173 * Open socket
181 * [out] param[3].u.value.a socket handle (32-bit)
186 * Close socket
190 * [in] param[0].u.value.c socket handle
203 * Send data on socket
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Inventory/Item/
H A DCpu.interface.yaml4 - name: Socket
7 Processor Socket designation on MotherBoard.
9 - name: Family
15 - name: EffectiveFamily
22 - name: EffectiveModel
28 - name: Id
31 This Processor ID field contains processor-specific information that
36 - name: MaxSpeedInMhz
40 - name: Characteristics
43 The set of boolean flags for processor's capability, such as 64-bit
[all …]
/openbmc/u-boot/arch/sandbox/cpu/
H A Deth-raw-os.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2015-2018 National Instruments
4 * Copyright (c) 2015-2018 Joe Hershberger <joe.hershberger@ni.com>
7 #include <asm/eth-raw-os.h>
20 #include <sys/socket.h>
41 int fd = socket(AF_INET, SOCK_DGRAM, 0); in sandbox_eth_raw_os_is_local()
46 return -errno; in sandbox_eth_raw_os_is_local()
51 ret = -errno; in sandbox_eth_raw_os_is_local()
62 if (!if_indextoname(priv->host_ifindex, priv->host_ifname)) in sandbox_eth_raw_os_idx_to_name()
63 return -errno; in sandbox_eth_raw_os_idx_to_name()
[all …]
/openbmc/phosphor-net-ipmid/sol/
H A Dsol_manager.hpp23 constexpr char CONSOLE_SOCKET_PATH[] = "\0obmc-console.default";
24 constexpr size_t CONSOLE_SOCKET_PATH_LEN = sizeof(CONSOLE_SOCKET_PATH) - 1;
139 * Character Accumulate Interval is 5 ms increments, 1-based value. The
161 * 1-based. 0 = no retries after packet is transmitted. Packet will be
174 * is 10 ms increments, 1-based value. The parameter value is
201 * @param[in] payloadInstance - SOL payload instance.
202 * @param[in] sessionID - BMC session ID.
213 * @param[in] payloadInstance - SOL payload instance
222 * @param[in] payloadInstance - SOL payload instance.
232 return *(iter->second); in getContext()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/systemd/
H A Dsystemd.inc6 capabilities, uses socket and D-Bus activation for starting services, \
7 offers on-demand starting of daemons, keeps track of processes using \
10 elaborate transactional dependency-based service control logic. It can \
11 work as a drop-in replacement for sysvinit."
13 LICENSE = "GPL-2.0-only & LGPL-2.1-or-later"
14 LICENSE:libsystemd = "LGPL-2.1-or-later"
19 SRCBRANCH = "v257-stable"

123456789