Home
last modified time | relevance | path

Searched full:transport (Results 1 – 25 of 917) sorted by relevance

12345678910>>...37

/linux/net/sctp/
H A Dtransport.c11 * 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()
88 /* Allocate and initialize a new transport. */
93 struct sctp_transport *transport; in sctp_transport_new() local
95 transport = kzalloc_obj(*transport, gfp); in sctp_transport_new()
96 if (!transport) in sctp_transport_new()
99 sctp_transport_init(net, transport, addr, gfp); in sctp_transport_new()
101 SCTP_DBG_OBJCNT_INC(transport); in sctp_transport_new()
[all …]
H A Doutqueue.c45 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 Dsm_sideeffect.c102 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 timer_container_of(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 in sctp_generate_t3_rtx_event()
368 struct sctp_transport *transport = timer_container_of(transport, t, sctp_generate_heartbeat_event() local
414 struct sctp_transport *transport = sctp_generate_proto_unreach_event() local
449 struct sctp_transport *transport = sctp_generate_reconf_event() local
486 struct sctp_transport *transport = timer_container_of(transport, t, sctp_generate_probe_event() local
558 sctp_do_8_2_transport_strike(struct sctp_cmd_seq * commands,struct sctp_association * asoc,struct sctp_transport * transport,int is_hb) sctp_do_8_2_transport_strike() argument
[all...]
H A Dassociola.c206 /* 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 …]
/linux/net/sunrpc/
H A Dxprtsock.c5 * Client-side transport implementation for sockets.
16 * IP socket transport implementation, (C) 2005 Chuck Lever <cel@netapp.com>
65 static void xs_reset_srcport(struct sock_xprt *transport);
66 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
548 xs_read_header(struct sock_xprt *transport, struct xdr_buf *buf) in xs_read_header() argument
550 if (!transport->recv.copied) { in xs_read_header()
551 if (buf->head[0].iov_len >= transport->recv.offset) in xs_read_header()
553 &transport->recv.xid, in xs_read_header()
[all …]
H A Dxprt.c16 * transport's wait list. At the same time, if a reply is expected,
20 * pending requests for that transport. If a matching XID is found, the
38 * Transport switch API copyright (C) 2005, Chuck Lever <cel@netapp.com>
91 * xprt_register_transport - register a transport implementation
92 * @transport: transport to register
94 * If a transport implementation is loaded as a kernel module, it can
98 * 0: transport successfully registered
99 * -EEXIST: transport already registered
100 * -EINVAL: transport module being unloaded
102 int xprt_register_transport(struct xprt_class *transport) in xprt_register_transport() argument
[all …]
/linux/drivers/firmware/arm_scmi/transports/
H A DKconfig2 menu "SCMI Transport Drivers"
7 This declares whether at least one SCMI transport has been configured.
9 configured transport.
14 This declares whether a shared memory based transport for SCMI is
20 This declares whether a message passing based transport for SCMI is
24 tristate "SCMI transport based on Mailbox"
30 Enable mailbox based transport for SCMI.
33 transport based on mailboxes, answer Y.
38 tristate "SCMI transport based on SMC"
44 Enable SMC based transport for SCMI.
[all …]
/linux/include/net/9p/
H A Dtransport.h3 * Transport Definition
25 * struct p9_trans_module - transport module interface
27 * @name: the human-readable name of the transport
28 * @maxsize: transport provided maximum packet size
29 * @pooled_rbuffers: currently only set for RDMA transport which pulls the
33 * @def: set if this transport should be considered the default
34 * @supports_vmalloc: set if this transport can work with vmalloc'd buffers
37 * @create: member function to create a new connection on this transport
38 * @close: member function to discard a connection on this transport
39 * @request: member function to issue a request to the transport
[all …]
/linux/Documentation/hid/
H A Dhid-transport.rst2 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 …]
/linux/include/uapi/linux/
H A Dvsockmon.h15 * | 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 …]
/linux/drivers/net/mctp/
H A DKconfig7 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
30 tristate "MCTP SMBus/I2C transport"
37 Provides a driver to access MCTP devices over SMBus/I2C transport,
42 tristate "MCTP I3C transport"
45 Provides a driver to access MCTP devices over I3C transport,
54 Common protocol handling functions for MCTP-over-USB transport
56 transport driver
[all …]
/linux/drivers/firmware/arm_scmi/
H A Dmsg.c16 * 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 …]
/linux/net/vmw_vsock/
H A DKconfig30 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 Daf_vsock.c127 * to any transport that is not compatible with local mode. There is no
130 * a different transport that *does* support local mode. For
201 /* Transport used for host->guest communication */
203 /* Transport used for guest->host communication */
205 /* Transport used for DGRAM communication */
207 /* Transport used for local communication */
444 * @transport: transport receiving the packet in vsock_remove_sock()
447 * Return: true if the packet arrived on the socket's assigned transport and in vsock_remove_sock()
454 * transport in vsock_for_each_connected_socket()
451 vsock_for_each_connected_socket(struct vsock_transport * transport,void (* fn)(struct sock * sk)) vsock_for_each_connected_socket() argument
686 vsock_registered_transport_cid(const struct vsock_transport ** transport) vsock_registered_transport_cid() argument
1311 const struct vsock_transport *transport; vsock_poll() local
1404 const struct vsock_transport *transport; vsock_dgram_sendmsg() local
1642 const struct vsock_transport *transport = vsk->transport; vsock_transport_cancel_pkt() local
1678 const struct vsock_transport *transport; vsock_connect() local
1967 vsock_update_buffer_size(struct vsock_sock * vsk,const struct vsock_transport * transport,u64 val) vsock_update_buffer_size() argument
1992 const struct vsock_transport *transport; vsock_connectible_setsockopt() local
2161 const struct vsock_transport *transport; vsock_connectible_sendmsg() local
2324 const struct vsock_transport *transport; vsock_connectible_wait_data() local
2389 const struct vsock_transport *transport; __vsock_stream_recvmsg() local
2467 const struct vsock_transport *transport; __vsock_seqpacket_recvmsg() local
2520 const struct vsock_transport *transport; __vsock_connectible_recvmsg() local
2600 const struct vsock_transport *transport; vsock_set_rcvlowat() local
[all...]
/linux/net/rxrpc/
H A Dpeer_object.c2 /* RxRPC remote transport endpoint record management
42 hash_key += srx->transport.family; in rxrpc_peer_hash_key()
44 switch (srx->transport.family) { in rxrpc_peer_hash_key()
46 hash_key += (u16 __force)srx->transport.sin.sin_port; in rxrpc_peer_hash_key()
47 size = sizeof(srx->transport.sin.sin_addr); in rxrpc_peer_hash_key()
48 p = (u16 *)&srx->transport.sin.sin_addr; in rxrpc_peer_hash_key()
52 hash_key += (u16 __force)srx->transport.sin.sin_port; in rxrpc_peer_hash_key()
53 size = sizeof(srx->transport.sin6.sin6_addr); in rxrpc_peer_hash_key()
54 p = (u16 *)&srx->transport.sin6.sin6_addr; in rxrpc_peer_hash_key()
58 WARN(1, "AF_RXRPC: Unsupported transport address family\n"); in rxrpc_peer_hash_key()
[all …]
H A Dlocal_object.c66 (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 in rxrpc_local_cmp_key()
[all...]
H A Dutils.c23 srx->transport_len = sizeof(srx->transport.sin); in rxrpc_extract_addr_from_skb()
24 srx->transport.sin.sin_family = AF_INET; in rxrpc_extract_addr_from_skb()
25 srx->transport.sin.sin_port = udp_hdr(skb)->source; in rxrpc_extract_addr_from_skb()
26 srx->transport.sin.sin_addr.s_addr = ip_hdr(skb)->saddr; in rxrpc_extract_addr_from_skb()
32 srx->transport_len = sizeof(srx->transport.sin6); in rxrpc_extract_addr_from_skb()
33 srx->transport.sin6.sin6_family = AF_INET6; in rxrpc_extract_addr_from_skb()
34 srx->transport.sin6.sin6_port = udp_hdr(skb)->source; in rxrpc_extract_addr_from_skb()
35 srx->transport.sin6.sin6_addr = ipv6_hdr(skb)->saddr; in rxrpc_extract_addr_from_skb()
/linux/Documentation/ABI/testing/
H A Ddebugfs-scmi22 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 …]
H A Ddebugfs-scmi-raw42 the reception path. (if transport is polling capable)
59 asynchronous command. (if transport is polling capable)
111 backend SCMI server for instance <n> through the <m> transport
120 has been associated with this transport channel in the DT
124 exist only if the transport is configured to have more than
135 backend SCMI server for instance <n> through the <m> transport
147 has been associated with this transport channel in the DT
151 exist only if the transport is configured to have more than
163 backend SCMI server for instance <n> through the <m> transport
165 (if transport is polling capable)
[all …]
/linux/include/linux/
H A Dnvme-fc-driver.h24 * 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 …]
/linux/net/9p/
H A DKconfig23 tristate "9P FD Transport"
30 tristate "9P Virtio Transport"
38 tristate "9P Xen Transport"
40 This builds support for a transport for 9pfs between
44 tristate "9P USB Gadget Transport"
49 This builds support for a transport for 9pfs over
54 tristate "9P RDMA Transport (Experimental)"
56 This builds support for an RDMA transport.
/linux/Documentation/driver-api/surface_aggregator/
H A Dinternal.rst63 Lower-level packet transport is implemented in the *packet transport layer
66 the packet transport logic and handles things like packet validation, packet
70 Above this sits the *request transport layer (RTL)*. This layer is centered
97 Packet Transport Layer
100 The packet transport layer is represented via |ssh_ptl| and is structured
107 managed by the packet transport layer, which is essentially the lowest layer
114 transport layer, as well as a reference to the buffer containing the data to
126 submitted to the packet transport layer, the ``complete()`` callback is
156 packet transport layer. It is a priority queue, with priority of the
160 All packets to be transmitted by the transport layer must be submitted to
[all …]
/linux/arch/s390/include/asm/
H A Dscsw.h64 * struct tm_scsw - transport-mode subchannel status word
138 * @tm: transport-mode SCSW
225 * scsw_is_tm - check for transport mode scsw
228 * Return non-zero if the specified scsw is a transport mode scsw, zero
241 * whether it is a transport mode or command mode scsw.
256 * whether it is a transport mode or command mode scsw.
271 * whether it is a transport mode or command mode scsw.
286 * whether it is a transport mode or command mode scsw.
301 * whether it is a transport mode or command mode scsw.
316 * whether it is a transport mode or command mode scsw.
[all …]
/linux/include/uapi/scsi/
H A Dscsi_netlink.h3 * SCSI Transport Netlink Interface
4 * Used for the posting of outbound SCSI transport events
18 /* Single Netlink Message type to send all SCSI Transport messages */
21 /* SCSI Transport Broadcast Groups */
30 __u8 transport; member
42 /* scsi_nl_hdr->transport value */
47 /* Transport-based scsi_nl_hdr->msgtype values are defined in each transport */
102 (hdr)->transport = t; \
/linux/drivers/scsi/
H A Dscsi_transport_iscsi.c3 * iSCSI transport class definitions
325 struct iscsi_transport *t = iface->transport; \
446 struct iscsi_transport *t = iface->transport; in iscsi_iface_attr_is_visible()
745 iscsi_create_iface(struct Scsi_Host *shost, struct iscsi_transport *transport, in iscsi_create_iface() argument
755 iface->transport = transport; in iscsi_create_iface()
814 struct iscsi_transport *t = fnode_sess->transport; \
914 struct iscsi_transport *t = fnode_sess->transport; in iscsi_flashnode_sess_attr_is_visible()
1027 struct iscsi_transport *t = fnode_conn->transport; \
1115 struct iscsi_transport *t = fnode_conn->transport; in iscsi_flashnode_conn_attr_is_visible()
1224 * @transport: pointer to transport data
[all …]

12345678910>>...37