Home
last modified time | relevance | path

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

12345678910>>...43

/Linux-v5.10/net/sctp/
Dtransport.c12 * 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()
89 /* Allocate and initialize a new transport. */
94 struct sctp_transport *transport; in sctp_transport_new() local
96 transport = kzalloc(sizeof(*transport), gfp); in sctp_transport_new()
97 if (!transport) in sctp_transport_new()
100 if (!sctp_transport_init(net, transport, addr, gfp)) in sctp_transport_new()
103 SCTP_DBG_OBJCNT_INC(transport); in sctp_transport_new()
105 return transport; in sctp_transport_new()
[all …]
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 …]
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 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 …]
Dassociola.c202 /* Make an empty list of remote transport addresses. */ in sctp_association_init()
316 struct sctp_transport *transport; in sctp_association_free() local
374 /* Release the transport structures. */ in sctp_association_free()
376 transport = list_entry(pos, struct sctp_transport, transports); in sctp_association_free()
378 sctp_unhash_transport(transport); in sctp_association_free()
379 sctp_transport_free(transport); in sctp_association_free()
423 struct sctp_transport *transport) in sctp_assoc_set_primary() argument
431 asoc->peer.primary_path != transport) in sctp_assoc_set_primary()
434 asoc->peer.primary_path = transport; in sctp_assoc_set_primary()
435 sctp_ulpevent_notify_peer_addr_change(transport, in sctp_assoc_set_primary()
[all …]
/Linux-v5.10/net/sunrpc/
Dxprtsock.c5 * Client-side transport implementation for sockets.
16 * IP socket transport implementation, (C) 2005 Chuck Lever <cel@netapp.com>
179 * transport connection with the server. Some servers like to drop a TCP
186 * TCP idle timeout; client drops the transport socket if it is idle
469 xs_read_header(struct sock_xprt *transport, struct xdr_buf *buf) in xs_read_header() argument
471 if (!transport->recv.copied) { in xs_read_header()
472 if (buf->head[0].iov_len >= transport->recv.offset) in xs_read_header()
474 &transport->recv.xid, in xs_read_header()
475 transport->recv.offset); in xs_read_header()
476 transport->recv.copied = transport->recv.offset; in xs_read_header()
[all …]
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>
87 * xprt_register_transport - register a transport implementation
88 * @transport: transport to register
90 * If a transport implementation is loaded as a kernel module, it can
94 * 0: transport successfully registered
95 * -EEXIST: transport already registered
96 * -EINVAL: transport module being unloaded
98 int xprt_register_transport(struct xprt_class *transport) in xprt_register_transport() argument
[all …]
/Linux-v5.10/include/net/9p/
Dtransport.h3 * include/net/9p/transport.h
5 * 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 * @def: set if this transport should be considered the default
23 * @create: member function to create a new connection on this transport
24 * @close: member function to discard a connection on this transport
25 * @request: member function to issue a request to the transport
30 * This is the basic API for a transport module which is registered by the
[all …]
/Linux-v5.10/Documentation/hid/
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 of raw data
16 transport and device setup/management. HID core is responsible of
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-v5.10/include/uapi/linux/
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-v5.10/drivers/base/
Dtransport_class.c3 * 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 …]
/Linux-v5.10/arch/um/drivers/
DKconfig135 hardware devices, this choice and the following transport options
146 enable at least one of the following transport options to actually
150 bool "Ethertap transport (obsolete)"
153 The Ethertap User-Mode Linux network transport allows a single
170 NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
176 bool "TUN/TAP transport (obsolete)"
179 The UML TUN/TAP network transport allows a UML instance to exchange
184 To use this transport, your host kernel must have support for TUN/TAP
187 NOTE: THIS TRANSPORT IS DEPRECATED AND WILL BE REMOVED SOON!!! Please
193 bool "SLIP transport (obsolete)"
[all …]
/Linux-v5.10/net/vmw_vsock/
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 …]
Daf_vsock.c133 /* Transport used for host->guest communication */
135 /* Transport used for guest->host communication */
137 /* Transport used for DGRAM communication */
139 /* Transport used for local communication */
408 if (!vsk->transport) in vsock_deassign_transport()
411 vsk->transport->destruct(vsk); in vsock_deassign_transport()
412 module_put(vsk->transport->module); in vsock_deassign_transport()
413 vsk->transport = NULL; in vsock_deassign_transport()
416 /* Assign a transport to a socket and call the .init transport callback.
421 * The vsk->remote_addr is used to decide which transport to use:
[all …]
/Linux-v5.10/net/rxrpc/
Dpeer_object.c2 /* 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 …]
Dlocal_object.c41 (local->srx.transport.family - srx->transport.family)); in rxrpc_local_cmp_key()
45 switch (srx->transport.family) { in rxrpc_local_cmp_key()
47 /* If the choice of UDP port is left up to the transport, then in rxrpc_local_cmp_key()
50 return ((u16 __force)local->srx.transport.sin.sin_port - in rxrpc_local_cmp_key()
51 (u16 __force)srx->transport.sin.sin_port) ?: in rxrpc_local_cmp_key()
52 memcmp(&local->srx.transport.sin.sin_addr, in rxrpc_local_cmp_key()
53 &srx->transport.sin.sin_addr, in rxrpc_local_cmp_key()
57 /* If the choice of UDP6 port is left up to the transport, then in rxrpc_local_cmp_key()
60 return ((u16 __force)local->srx.transport.sin6.sin6_port - in rxrpc_local_cmp_key()
61 (u16 __force)srx->transport.sin6.sin6_port) ?: in rxrpc_local_cmp_key()
[all …]
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-v5.10/include/linux/
Dnvme-fc-driver.h23 * struct nvmefc_ls_req - Request structure passed from the transport
26 * Used by nvme-fc transport (host) to send LS's such as
29 * Used by the nvmet-fc transport (controller) to send
69 * struct nvmefc_ls_rsp - Structure passed from the transport to the LLDD
72 * and is given to the transport via the xxx_rcv_ls_req()
73 * transport routine. As such, the structure represents the
76 * Used by the LLDD to pass the nvmet-fc transport (controller)
79 * Used by the LLDD to pass the nvme-fc transport (host)
85 * or nvme-fc layer via the xxx_rcv_ls_req() transport routines.
92 * address of the structure back to the transport LS rsp done() routine,
[all …]
/Linux-v5.10/Documentation/networking/
Drds.rst23 to N*N if you use a connection-oriented socket transport like TCP.
39 transport has to be IP-based. In fact, RDS over IB uses a
56 This is needed because binding also selects a transport and
57 attaches it to the socket. Once bound, the transport assignment
60 doesn't move to a different transport.
96 transport, if one has not already been selected via the
158 …fd, SOL_RDS, SO_RDS_TRANSPORT, (int *)&transport ..), getsockopt(fd, SOL_RDS, SO_RDS_TRANSPORT, (i…
160 encapsulating transport to be used for RDS packets on the
166 set SO_RDS_TRANSPORT on a socket for which the transport has
244 RDS's IB transport uses a credit-based mechanism to verify that
[all …]
/Linux-v5.10/arch/s390/include/asm/
Dscsw.h63 * struct tm_scsw - transport-mode subchannel status word
137 * @tm: transport-mode SCSW
219 * scsw_is_tm - check for transport mode scsw
222 * Return non-zero if the specified scsw is a transport mode scsw, zero
235 * whether it is a transport mode or command mode scsw.
250 * whether it is a transport mode or command mode scsw.
265 * whether it is a transport mode or command mode scsw.
280 * whether it is a transport mode or command mode scsw.
295 * whether it is a transport mode or command mode scsw.
310 * whether it is a transport mode or command mode scsw.
[all …]
Dfcx.h23 * struct tcw - Transport Control Word (TCW)
26 * @tccbl: Transport-Command-Control-Block Length
31 * @tsb: Transport-Status-Block Address
32 * @tccb: Transport-Command-Control-Block Address
65 * struct tidaw - Transport-Indirect-Addressing Word (TIDAW)
80 * struct tsa_iostat - I/O-Status Transport-Status Area (IO-Stat TSA)
98 * struct tsa_ddpcs - Device-Detected-Program-Check Transport-Status Area (DDPC TSA)
115 * struct tsa_intrg - Interrogate Transport-Status Area (Intrg. TSA)
152 * struct tsb - Transport-Status Block (TSB)
159 * @tsa: Transport-Status-Area
[all …]
/Linux-v5.10/include/uapi/scsi/
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-v5.10/Documentation/driver-api/
Dscsi.rst229 Transport classes
232 Transport classes are service libraries for drivers in the SCSI lower
233 layer, which expose transport attributes in sysfs.
235 Fibre Channel transport
238 The file drivers/scsi/scsi_transport_fc.c defines transport attributes
244 iSCSI transport class
247 The file drivers/scsi/scsi_transport_iscsi.c defines transport
254 Serial Attached SCSI (SAS) transport class
257 The file drivers/scsi/scsi_transport_sas.c defines transport
261 The SAS transport class contains common code to deal with SAS HBAs, an
[all …]
/Linux-v5.10/include/net/
Daf_vsock.h30 const struct vsock_transport *transport; member
73 /* Private to transport. */
81 /**** TRANSPORT ****/
84 u64 data1; /* Transport-defined. */
85 u64 data2; /* Transport-defined. */
90 u64 data1; /* Transport-defined. */
91 u64 data2; /* Transport-defined. */
94 /* Transport features flags */
95 /* Transport provides host->guest communication */
97 /* Transport provides guest->host communication */
[all …]
/Linux-v5.10/drivers/scsi/
Dscsi_transport_iscsi.c3 * iSCSI transport class definitions
317 struct iscsi_transport *t = iface->transport; \
438 struct iscsi_transport *t = iface->transport; in iscsi_iface_attr_is_visible()
759 iscsi_create_iface(struct Scsi_Host *shost, struct iscsi_transport *transport, in iscsi_create_iface() argument
769 iface->transport = transport; in iscsi_create_iface()
829 struct iscsi_transport *t = fnode_sess->transport; \
929 struct iscsi_transport *t = fnode_sess->transport; in iscsi_flashnode_sess_attr_is_visible()
1042 struct iscsi_transport *t = fnode_conn->transport; \
1130 struct iscsi_transport *t = fnode_conn->transport; in iscsi_flashnode_conn_attr_is_visible()
1239 * @transport: pointer to transport data
[all …]
/Linux-v5.10/net/9p/
Dmod.c22 #include <net/9p/transport.h>
57 * Dynamic Transport Registration Routines
65 * v9fs_register_trans - register a new transport with 9p
66 * @m: structure describing the transport module and entry points
78 * v9fs_unregister_trans - unregister a 9p transport
79 * @m: the transport to remove
91 * v9fs_get_trans_by_name - get transport with the matching name
92 * @s: string identifying transport
114 * v9fs_get_default_trans - get the default transport
144 * @m: transport to put

12345678910>>...43