/openbmc/linux/net/sctp/ |
H A D | transport.c | 11 * This module provides the abstraction for an SCTP transport representing 12 * a remote transport address. For local transport addresses, we just use 39 /* Initialize a new transport from provided memory. */ 55 * given destination transport address, set RTO to the protocol in sctp_transport_init() 90 /* Allocate and initialize a new transport. */ 95 struct sctp_transport *transport; in sctp_transport_new() local 97 transport = kzalloc(sizeof(*transport), gfp); in sctp_transport_new() 98 if (!transport) in sctp_transport_new() 101 if (!sctp_transport_init(net, transport, addr, gfp)) in sctp_transport_new() 104 SCTP_DBG_OBJCNT_INC(transport); in sctp_transport_new() [all …]
|
H A D | outqueue.c | 45 struct sctp_transport *transport, 52 struct sctp_transport *transport, 101 struct sctp_transport *transport, in sctp_cacc_skip_3_1_d() argument 104 if (count_of_newacks >= 2 && transport != primary) in sctp_cacc_skip_3_1_d() 116 static inline int sctp_cacc_skip_3_1_f(struct sctp_transport *transport, in sctp_cacc_skip_3_1_f() argument 120 (transport && !transport->cacc.cacc_saw_newack)) in sctp_cacc_skip_3_1_f() 133 struct sctp_transport *transport, in sctp_cacc_skip_3_1() argument 137 if (sctp_cacc_skip_3_1_d(primary, transport, count_of_newacks)) in sctp_cacc_skip_3_1() 139 if (sctp_cacc_skip_3_1_f(transport, count_of_newacks)) in sctp_cacc_skip_3_1() 176 struct sctp_transport *transport, in sctp_cacc_skip() argument [all …]
|
H A D | sm_sideeffect.c | 102 struct sctp_transport *transport; in sctp_do_ecn_ecne_work() local 104 /* Find which transport's congestion variables in sctp_do_ecn_ecne_work() 107 transport = sctp_assoc_lookup_tsn(asoc, lowest_tsn); in sctp_do_ecn_ecne_work() 110 if (transport) in sctp_do_ecn_ecne_work() 111 sctp_transport_lower_cwnd(transport, in sctp_do_ecn_ecne_work() 179 * SACK delay for the last transport in sctp_gen_sack() 233 struct sctp_transport *transport = in sctp_generate_t3_rtx_event() local 234 from_timer(transport, t, T3_rtx_timer); in sctp_generate_t3_rtx_event() 235 struct sctp_association *asoc = transport->asoc; in sctp_generate_t3_rtx_event() 247 if (!mod_timer(&transport->T3_rtx_timer, jiffies + (HZ/20))) in sctp_generate_t3_rtx_event() [all …]
|
H A D | associola.c | 206 /* Make an empty list of remote transport addresses. */ in sctp_association_init() 317 struct sctp_transport *transport; in sctp_association_free() local 375 /* Release the transport structures. */ in sctp_association_free() 377 transport = list_entry(pos, struct sctp_transport, transports); in sctp_association_free() 379 sctp_unhash_transport(transport); in sctp_association_free() 380 sctp_transport_free(transport); in sctp_association_free() 424 struct sctp_transport *transport) in sctp_assoc_set_primary() argument 432 asoc->peer.primary_path != transport) in sctp_assoc_set_primary() 435 asoc->peer.primary_path = transport; in sctp_assoc_set_primary() 436 sctp_ulpevent_notify_peer_addr_change(transport, in sctp_assoc_set_primary() [all …]
|
/openbmc/linux/net/sunrpc/ |
H A D | xprtsock.c | 5 * Client-side transport implementation for sockets. 16 * IP socket transport implementation, (C) 2005 Chuck Lever <cel@netapp.com> 65 static void xs_set_srcport(struct sock_xprt *transport, struct socket *sock); 181 * transport connection with the server. Some servers like to drop a TCP 188 * TCP idle timeout; client drops the transport socket if it is idle 528 xs_read_header(struct sock_xprt *transport, struct xdr_buf *buf) in xs_read_header() argument 530 if (!transport->recv.copied) { in xs_read_header() 531 if (buf->head[0].iov_len >= transport->recv.offset) in xs_read_header() 533 &transport->recv.xid, in xs_read_header() 534 transport->recv.offset); in xs_read_header() [all …]
|
/openbmc/linux/drivers/firmware/arm_scmi/ |
H A D | Kconfig | 61 This declares whether at least one SCMI transport has been configured. 63 configured transport. 68 This declares whether a shared memory based transport for SCMI is 74 This declares whether a message passing based transport for SCMI is 78 bool "SCMI transport based on Mailbox" 84 Enable mailbox based transport for SCMI. 87 transport based on mailboxes, answer Y. 90 bool "SCMI transport based on OP-TEE service" 97 This enables the OP-TEE service based transport for SCMI. 100 transport based on OP-TEE SCMI service, answer Y. [all …]
|
H A D | msg.c | 16 * struct scmi_msg_payld - Transport SDU layout 27 * msg_command_size() - Actual size of transport SDU for command. 31 * Return: transport SDU size. 39 * msg_response_size() - Maximum size of transport SDU for response. 43 * Return: transport SDU size. 51 * msg_tx_prepare() - Set up transport SDU for command. 53 * @msg: transport SDU for command 64 * msg_read_header() - Read SCMI header from transport SDU. 66 * @msg: transport SDU 76 * msg_fetch_response() - Fetch response SCMI payload from transport SDU. [all …]
|
/openbmc/libpldm/include/libpldm/ |
H A D | transport.h | 19 * @pre The pldm transport instance must be initialised; otherwise, 23 * @param[in] transport - Wait until this transport instance is ready 28 * @return 0 if a timeout occurs, 1 if the transport becomes ready, PLDM_REQUESTER_INVALID_SETUP if 29 * transport is NULL, or PLDM_REQUESTER_POLL_FAIL on failure. 31 int pldm_transport_poll(struct pldm_transport *transport, int timeout); 37 * @pre The pldm transport instance must be initialised; otherwise, 38 * PLDM_REQUESTER_INVALID_SETUP is returned. If the transport requires a 39 * TID to transport specific identifier mapping, this must already be set 42 * @param[in] ctx - pldm transport instance 53 pldm_requester_rc_t pldm_transport_send_msg(struct pldm_transport *transport, [all …]
|
/openbmc/linux/include/net/9p/ |
H A D | transport.h | 3 * Transport Definition 18 * struct p9_trans_module - transport module interface 20 * @name: the human-readable name of the transport 21 * @maxsize: transport provided maximum packet size 22 * @pooled_rbuffers: currently only set for RDMA transport which pulls the 26 * @def: set if this transport should be considered the default 27 * @create: member function to create a new connection on this transport 28 * @close: member function to discard a connection on this transport 29 * @request: member function to issue a request to the transport 34 * This is the basic API for a transport module which is registered by the [all …]
|
/openbmc/libpldm/src/transport/ |
H A D | transport.c | 3 #include "transport.h" 5 #include <libpldm/transport.h> 36 int pldm_transport_poll(struct pldm_transport *transport, int timeout) in pldm_transport_poll() argument 40 if (!transport) { in pldm_transport_poll() 44 /* If polling isn't supported then always indicate the transport is ready */ in pldm_transport_poll() 45 if (!transport->init_pollfd) { in pldm_transport_poll() 49 rc = transport->init_pollfd(transport, &pollfd); in pldm_transport_poll() 64 pldm_requester_rc_t pldm_transport_send_msg(struct pldm_transport *transport, in pldm_transport_send_msg() argument 69 if (!transport || !pldm_msg) { in pldm_transport_send_msg() 77 return transport->send(transport, tid, pldm_msg, msg_len); in pldm_transport_send_msg() [all …]
|
H A D | transport.h | 10 * @brief Generic PLDM transport struct 12 * @var name - name of the transport 13 * @var version - version of transport to use 14 * @var recv - pointer to the transport specific function to receive a message 15 * @var send - pointer to the transport specific function to send a message 16 * @var init_pollfd - pointer to the transport specific init_pollfd function 21 pldm_requester_rc_t (*recv)(struct pldm_transport *transport, 24 pldm_requester_rc_t (*send)(struct pldm_transport *transport, 27 int (*init_pollfd)(struct pldm_transport *transport,
|
/openbmc/linux/Documentation/hid/ |
H A D | hid-transport.rst | 2 HID I/O Transport Drivers 5 The HID subsystem is independent of the underlying transport driver. Initially, 7 provided new transport drivers. The kernel includes at least support for USB, 15 drivers on top of it. The transport drivers are responsible for raw data 16 transport and device setup/management. HID core is responsible for 31 | Transport Driver | | Transport Driver | 50 - Transport: USB-HID, I2C-HID, BT-HIDP 53 interest to HID device drivers. Transport drivers do not need to know the 60 transport drivers. Transport drivers use this to find any suitable HID device. 61 They allocate HID device objects and register them with HID core. Transport [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | vsockmon.h | 15 * | transport header | 22 * The vsockmon header is a transport-independent description of the packet. 23 * It duplicates some of the information from the transport header so that 24 * no transport-specific knowledge is necessary to process packets. 26 * The transport header is useful for low-level transport-specific packet 27 * analysis. Transport type is given in af_vsockmon_hdr->transport and 28 * transport header length is given in af_vsockmon_hdr->len. 31 * transport header. Other ops do not have a payload. 40 __le16 transport; /* enum af_vsockmon_transport */ member 41 __le16 len; /* Transport header length */ [all …]
|
/openbmc/linux/arch/um/drivers/ |
H A D | Kconfig | 132 hardware devices, this choice and the following transport options 143 enable at least one of the following transport options to actually 147 bool "Ethertap transport (obsolete)" 150 The Ethertap User-Mode Linux network transport allows a single 167 NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please 173 bool "TUN/TAP transport (obsolete)" 176 The UML TUN/TAP network transport allows a UML instance to exchange 181 To use this transport, your host kernel must have support for TUN/TAP 184 NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please 190 bool "SLIP transport (obsolete)" [all …]
|
/openbmc/linux/drivers/base/ |
H A D | transport_class.c | 3 * transport_class.c - implementation of generic transport classes 10 * or more tranport classes for performing transport specific 11 * services. Transport specific services are things that the generic 14 * Thus, the HBA's use the routines exported by the transport classes 15 * to perform these functions. The transport classes export certain 18 * Note: because not every HBA will care about every transport 21 * transport class<-----attribute container<----class device 26 * transport class is framed entirely in terms of generic devices to 38 * transport_class_register - register an initial transport class 40 * @tclass: a pointer to the transport class structure to be initialised [all …]
|
/openbmc/linux/net/vmw_vsock/ |
H A D | Kconfig | 30 tristate "Virtual Sockets loopback transport" 35 This module implements a loopback transport for Virtual Sockets, 42 tristate "VMware VMCI transport for Virtual Sockets" 45 This module implements a VMCI transport for Virtual Sockets. 47 Enable this transport if your Virtual Machine runs on a VMware 54 tristate "virtio transport for Virtual Sockets" 58 This module implements a virtio transport for Virtual Sockets. 60 Enable this transport if your Virtual Machine host supports Virtual 74 tristate "Hyper-V transport for Virtual Sockets" 77 This module implements a Hyper-V transport for Virtual Sockets. [all …]
|
H A D | af_vsock.c | 141 /* Transport used for host->guest communication */ 143 /* Transport used for guest->host communication */ 145 /* Transport used for DGRAM communication */ 147 /* Transport used for local communication */ 344 void vsock_for_each_connected_socket(struct vsock_transport *transport, in vsock_for_each_connected_socket() argument 355 if (vsk->transport != transport) in vsock_for_each_connected_socket() 421 if (!vsk->transport) in vsock_deassign_transport() 424 vsk->transport->destruct(vsk); in vsock_deassign_transport() 425 module_put(vsk->transport->module); in vsock_deassign_transport() 426 vsk->transport = NULL; in vsock_deassign_transport() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | debugfs-scmi | 22 What: /sys/kernel/debug/scmi/<n>/transport/type 26 Description: A string representing the type of transport configured for this 30 What: /sys/kernel/debug/scmi/<n>/transport/is_atomic 34 Description: A boolean stating if the transport configured on the underlying 38 What: /sys/kernel/debug/scmi/<n>/transport/max_rx_timeout_ms 43 for the currently configured SCMI transport for instance <n>. 46 What: /sys/kernel/debug/scmi/<n>/transport/max_msg_size 51 configured SCMI transport for instance <n>. 54 What: /sys/kernel/debug/scmi/<n>/transport/tx_max_msg 59 the currently configured SCMI transport for instance <n> on the [all …]
|
/openbmc/linux/net/rxrpc/ |
H A D | peer_object.c | 2 /* RxRPC remote transport endpoint record management 40 hash_key += srx->transport.family; in rxrpc_peer_hash_key() 42 switch (srx->transport.family) { in rxrpc_peer_hash_key() 44 hash_key += (u16 __force)srx->transport.sin.sin_port; in rxrpc_peer_hash_key() 45 size = sizeof(srx->transport.sin.sin_addr); in rxrpc_peer_hash_key() 46 p = (u16 *)&srx->transport.sin.sin_addr; in rxrpc_peer_hash_key() 50 hash_key += (u16 __force)srx->transport.sin.sin_port; in rxrpc_peer_hash_key() 51 size = sizeof(srx->transport.sin6.sin6_addr); in rxrpc_peer_hash_key() 52 p = (u16 *)&srx->transport.sin6.sin6_addr; in rxrpc_peer_hash_key() 56 WARN(1, "AF_RXRPC: Unsupported transport address family\n"); in rxrpc_peer_hash_key() [all …]
|
H A D | local_object.c | 66 (local->srx.transport.family - srx->transport.family)); in rxrpc_local_cmp_key() 70 switch (srx->transport.family) { in rxrpc_local_cmp_key() 72 /* If the choice of UDP port is left up to the transport, then in rxrpc_local_cmp_key() 75 return ((u16 __force)local->srx.transport.sin.sin_port - in rxrpc_local_cmp_key() 76 (u16 __force)srx->transport.sin.sin_port) ?: in rxrpc_local_cmp_key() 77 memcmp(&local->srx.transport.sin.sin_addr, in rxrpc_local_cmp_key() 78 &srx->transport.sin.sin_addr, in rxrpc_local_cmp_key() 82 /* If the choice of UDP6 port is left up to the transport, then in rxrpc_local_cmp_key() 85 return ((u16 __force)local->srx.transport.sin6.sin6_port - in rxrpc_local_cmp_key() 86 (u16 __force)srx->transport.sin6.sin6_port) ?: in rxrpc_local_cmp_key() [all …]
|
/openbmc/libpldm/include/libpldm/transport/ |
H A D | af-mctp.h | 15 /* Init the transport backend */ 18 /* Destroy the transport backend */ 21 /* Get the core pldm transport struct */ 32 /* Inserts a TID-to-EID mapping into the transport's device map */ 36 /* Removes a TID-to-EID mapping from the transport's device map */ 41 * @brief Allow the transport to receive requests from remote endpoints 43 * @param[in] transport - The transport instance on which to listen for requests 45 * in which case the transport is bound to all available 54 int pldm_transport_af_mctp_bind(struct pldm_transport_af_mctp *transport,
|
/openbmc/libpldm/tests/transport/ |
H A D | meson.build | 2 'transport/transport', 3 'transport/send_recv_one', 4 'transport/send_recv_timeout', 5 'transport/send_recv_unwanted', 6 'transport/send_recv_wrong_command_code', 7 'transport/send_recv_wrong_pldm_type',
|
/openbmc/linux/include/linux/ |
H A D | nvme-fc-driver.h | 24 * struct nvmefc_ls_req - Request structure passed from the transport 27 * Used by nvme-fc transport (host) to send LS's such as 30 * Used by the nvmet-fc transport (controller) to send 70 * struct nvmefc_ls_rsp - Structure passed from the transport to the LLDD 73 * and is given to the transport via the xxx_rcv_ls_req() 74 * transport routine. As such, the structure represents the 77 * Used by the LLDD to pass the nvmet-fc transport (controller) 80 * Used by the LLDD to pass the nvme-fc transport (host) 86 * or nvme-fc layer via the xxx_rcv_ls_req() transport routines. 93 * address of the structure back to the transport LS rsp done() routine, [all …]
|
/openbmc/linux/drivers/net/mctp/ |
H A D | Kconfig | 7 tristate "MCTP serial transport" 13 MCTP Serial Transport Binding". By attaching the ldisc to a serial 14 device, we get a new net device to transport MCTP packets. 17 serial as their transport. It can also be used as an easy way to 25 tristate "MCTP SMBus/I2C transport" 32 Provides a driver to access MCTP devices over SMBus/I2C transport, 37 tristate "MCTP I3C transport" 40 Provides a driver to access MCTP devices over I3C transport,
|
/openbmc/qemu/python/qemu/qmp/ |
H A D | util.py | 43 transport = cast( # type: ignore[redundant-cast] 44 asyncio.WriteTransport, writer.transport 48 low, high = transport.get_write_buffer_limits() # type: ignore 49 transport.set_write_buffer_limits(0, 0) 53 transport.set_write_buffer_limits(high, low) 118 transport = writer.transport 119 assert isinstance(transport, asyncio.WriteTransport) 120 return transport.is_closing() 134 transport = writer.transport 135 assert isinstance(transport, asyncio.WriteTransport) [all …]
|