Home
last modified time | relevance | path

Searched refs:transport (Results 1 – 25 of 322) sorted by relevance

12345678910>>...13

/linux-6.6.21/net/sctp/
Dtransport.c95 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()
106 return transport; in sctp_transport_new()
109 kfree(transport); in sctp_transport_new()
118 void sctp_transport_free(struct sctp_transport *transport) in sctp_transport_free() argument
121 if (del_timer(&transport->hb_timer)) in sctp_transport_free()
122 sctp_transport_put(transport); in sctp_transport_free()
[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
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()
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()
248 sctp_transport_hold(transport); in sctp_generate_t3_rtx_event()
257 transport, GFP_ATOMIC); in sctp_generate_t3_rtx_event()
[all …]
Doutput.c76 struct sctp_transport *tp = packet->transport; in sctp_packet_config()
145 struct sctp_transport *transport, in sctp_packet_init() argument
148 pr_debug("%s: packet:%p transport:%p\n", __func__, packet, transport); in sctp_packet_init()
150 packet->transport = transport; in sctp_packet_init()
219 struct sctp_transport *t = pkt->transport; in sctp_packet_bundle_pad()
235 chunk->transport = t; in sctp_packet_bundle_pad()
244 struct sctp_association *asoc = pkt->transport->asoc; in sctp_packet_bundle_auth()
292 asoc = pkt->transport->asoc; in sctp_packet_bundle_sack()
299 if (pkt->transport->sack_generation != in sctp_packet_bundle_sack()
300 pkt->transport->asoc->peer.sack_generation) in sctp_packet_bundle_sack()
[all …]
Dassociola.c316 struct sctp_transport *transport; in sctp_association_free() local
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()
439 memcpy(&asoc->peer.primary_addr, &transport->ipaddr, in sctp_assoc_set_primary()
445 if ((transport->state == SCTP_ACTIVE) || in sctp_assoc_set_primary()
[all …]
Dproc.c115 struct sctp_transport *transport; in sctp_seq_dump_remote_addrs() local
120 list_for_each_entry_rcu(transport, &assoc->peer.transport_addr_list, in sctp_seq_dump_remote_addrs()
122 addr = &transport->ipaddr; in sctp_seq_dump_remote_addrs()
217 struct sctp_transport *transport = v; in sctp_transport_seq_stop() local
219 sctp_transport_put(transport); in sctp_transport_seq_stop()
230 struct sctp_transport *transport = v; in sctp_transport_seq_next() local
232 sctp_transport_put(transport); in sctp_transport_seq_next()
243 struct sctp_transport *transport; in sctp_assocs_seq_show() local
257 transport = (struct sctp_transport *)v; in sctp_assocs_seq_show()
258 assoc = transport->asoc; in sctp_assocs_seq_show()
[all …]
Dendpointola.c273 struct sctp_transport **transport) in sctp_endpoint_lookup_assoc() argument
278 *transport = NULL; in sctp_endpoint_lookup_assoc()
291 *transport = t; in sctp_endpoint_lookup_assoc()
333 struct sctp_transport *transport; in sctp_endpoint_bh_rcv() local
384 &transport); in sctp_endpoint_bh_rcv()
386 chunk->transport = transport; in sctp_endpoint_bh_rcv()
397 asoc->peer.last_data_from = chunk->transport; in sctp_endpoint_bh_rcv()
404 if (chunk->transport) in sctp_endpoint_bh_rcv()
405 chunk->transport->last_time_heard = ktime_get(); in sctp_endpoint_bh_rcv()
/linux-6.6.21/net/sunrpc/
Dxprtsock.c65 static void xs_set_srcport(struct sock_xprt *transport, struct socket *sock);
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()
535 transport->recv.copied = transport->recv.offset; in xs_read_header()
540 xs_read_stream_request_done(struct sock_xprt *transport) in xs_read_stream_request_done() argument
542 return transport->recv.fraghdr & cpu_to_be32(RPC_LAST_STREAM_FRAGMENT); in xs_read_stream_request_done()
546 xs_read_stream_check_eor(struct sock_xprt *transport, in xs_read_stream_check_eor() argument
[all …]
/linux-6.6.21/net/vmw_vsock/
Daf_vsock.c342 void vsock_for_each_connected_socket(struct vsock_transport *transport, in vsock_for_each_connected_socket() argument
353 if (vsk->transport != transport) in vsock_for_each_connected_socket()
419 if (!vsk->transport) in vsock_deassign_transport()
422 vsk->transport->destruct(vsk); in vsock_deassign_transport()
423 module_put(vsk->transport->module); in vsock_deassign_transport()
424 vsk->transport = NULL; in vsock_deassign_transport()
479 if (vsk->transport) { in vsock_assign_transport()
480 if (vsk->transport == new_transport) in vsock_assign_transport()
489 vsk->transport->release(vsk); in vsock_assign_transport()
513 vsk->transport = new_transport; in vsock_assign_transport()
[all …]
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 …]
/linux-6.6.21/net/rxrpc/
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()
Dpeer_object.c40 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()
87 (peer->srx.transport.family - srx->transport.family)); in rxrpc_peer_cmp_key()
91 switch (srx->transport.family) { in rxrpc_peer_cmp_key()
[all …]
Dpeer_event.c39 srx->transport.family = local->srx.transport.family; in rxrpc_lookup_peer_local_rcu()
44 switch (srx->transport.family) { in rxrpc_lookup_peer_local_rcu()
46 srx->transport_len = sizeof(srx->transport.sin); in rxrpc_lookup_peer_local_rcu()
47 srx->transport.family = AF_INET; in rxrpc_lookup_peer_local_rcu()
48 srx->transport.sin.sin_port = serr->port; in rxrpc_lookup_peer_local_rcu()
51 memcpy(&srx->transport.sin.sin_addr, in rxrpc_lookup_peer_local_rcu()
56 memcpy(&srx->transport.sin.sin_addr, in rxrpc_lookup_peer_local_rcu()
61 memcpy(&srx->transport.sin.sin_addr, &ip_hdr(skb)->saddr, in rxrpc_lookup_peer_local_rcu()
71 srx->transport.sin6.sin6_port = serr->port; in rxrpc_lookup_peer_local_rcu()
72 memcpy(&srx->transport.sin6.sin6_addr, in rxrpc_lookup_peer_local_rcu()
[all …]
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()
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()
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()
87 memcmp(&local->srx.transport.sin6.sin6_addr, in rxrpc_local_cmp_key()
88 &srx->transport.sin6.sin6_addr, in rxrpc_local_cmp_key()
[all …]
/linux-6.6.21/drivers/firmware/arm_scmi/
DKconfig61 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 …]
DMakefile7 scmi-transport-$(CONFIG_ARM_SCMI_HAVE_SHMEM) = shmem.o
8 scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_MAILBOX) += mailbox.o
9 scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_SMC) += smc.o
10 scmi-transport-$(CONFIG_ARM_SCMI_HAVE_MSG) += msg.o
11 scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_VIRTIO) += virtio.o
12 scmi-transport-$(CONFIG_ARM_SCMI_TRANSPORT_OPTEE) += optee.o
14 scmi-module-objs := $(scmi-driver-y) $(scmi-protocols-y) $(scmi-transport-y)
/linux-6.6.21/Documentation/ABI/testing/
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 …]
/linux-6.6.21/arch/um/drivers/
Dnet_kern.c370 struct transport *transport, gfp_t gfp_mask) in eth_configure() argument
377 size = transport->private_size + sizeof(struct uml_net_private); in eth_configure()
431 (*transport->kern->init)(dev, init); in eth_configure()
438 .max_packet = transport->user->max_packet, in eth_configure()
439 .protocol = transport->kern->protocol, in eth_configure()
440 .open = transport->user->open, in eth_configure()
441 .close = transport->user->close, in eth_configure()
442 .remove = transport->user->remove, in eth_configure()
443 .read = transport->kern->read, in eth_configure()
444 .write = transport->kern->write, in eth_configure()
[all …]
/linux-6.6.21/drivers/scsi/
Dscsi_transport_iscsi.c325 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()
1235 struct iscsi_transport *transport, in iscsi_create_flashnode_sess() argument
1245 fnode_sess->transport = transport; in iscsi_create_flashnode_sess()
[all …]
/linux-6.6.21/fs/afs/
Daddr_list.c52 srx->transport_len = sizeof(srx->transport.sin6); in afs_alloc_addrlist()
53 srx->transport.sin6.sin6_family = AF_INET6; in afs_alloc_addrlist()
54 srx->transport.sin6.sin6_port = htons(port); in afs_alloc_addrlist()
284 struct sockaddr_in *a = &alist->addrs[i].transport.sin; in afs_merge_fs_addr4()
304 srx->transport_len = sizeof(srx->transport.sin); in afs_merge_fs_addr4()
305 srx->transport.sin.sin_family = AF_INET; in afs_merge_fs_addr4()
306 srx->transport.sin.sin_port = htons(port); in afs_merge_fs_addr4()
307 srx->transport.sin.sin_addr.s_addr = xdr; in afs_merge_fs_addr4()
324 struct sockaddr_in6 *a = &alist->addrs[i].transport.sin6; in afs_merge_fs_addr6()
344 srx->transport_len = sizeof(srx->transport.sin6); in afs_merge_fs_addr6()
[all …]
/linux-6.6.21/tools/testing/selftests/net/
Dl2tp.sh236 tmpl proto esp mode transport
240 tmpl proto esp mode transport
244 tmpl proto esp mode transport
248 tmpl proto esp mode transport
253 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f 128 mode transport
258 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f 128 mode transport
263 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f 128 mode transport
268 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f 128 mode transport
275 tmpl proto esp mode transport
279 tmpl proto esp mode transport
[all …]
/linux-6.6.21/drivers/misc/ti-st/
DKconfig3 # TI's shared transport line discipline and the protocol
6 menu "Texas Instruments shared transport line discipline"
8 tristate "Shared transport core driver"
13 This enables the shared transport core driver for TI
/linux-6.6.21/drivers/net/caif/
DKconfig7 bool "CAIF transport drivers"
15 tristate "CAIF TTY transport driver"
19 The CAIF TTY transport driver is a Line Discipline (ldisc)
24 tristate "CAIF virtio transport driver"
/linux-6.6.21/net/rds/
DKconfig14 Allow RDS to use Infiniband as a transport.
15 This transport supports RDMA operations.
22 Allow RDS to use TCP as a transport.
23 This transport does not support RDMA operations.
/linux-6.6.21/Documentation/driver-api/
Dscsi.rst233 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
266 In addition to the basic SCSI core objects this transport class
281 SATA transport class
[all …]

12345678910>>...13