Home
last modified time | relevance | path

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

12345678910

/linux/net/sctp/
H A Dtransport.c93 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()
103 return transport; in sctp_transport_new()
109 void sctp_transport_free(struct sctp_transport *transport) in sctp_transport_free() argument
111 transport->dead = 1; in sctp_transport_free()
114 if (timer_delete(&transport->hb_timer)) in sctp_transport_free()
115 sctp_transport_put(transport); in sctp_transport_free()
[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
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 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->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 …]
H A 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 …]
H A Dassociola.c317 struct sctp_transport *transport; in sctp_association_free() local
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()
440 memcpy(&asoc->peer.primary_addr, &transport->ipaddr, in sctp_assoc_set_primary()
446 if ((transport->state == SCTP_ACTIVE) || in sctp_assoc_set_primary()
[all …]
H A Dendpointola.c274 struct sctp_transport **transport) in sctp_endpoint_lookup_assoc() argument
279 *transport = NULL; in sctp_endpoint_lookup_assoc()
292 *transport = t; in sctp_endpoint_lookup_assoc()
334 struct sctp_transport *transport; in sctp_endpoint_bh_rcv() local
389 &transport); in sctp_endpoint_bh_rcv()
391 chunk->transport = transport; in sctp_endpoint_bh_rcv()
402 asoc->peer.last_data_from = chunk->transport; in sctp_endpoint_bh_rcv()
409 if (chunk->transport) in sctp_endpoint_bh_rcv()
410 chunk->transport->last_time_heard = ktime_get(); in sctp_endpoint_bh_rcv()
H A Dinput.c94 struct sctp_transport *transport = NULL; in sctp_rcv() local
156 * IP address of an SCTP transport address must be a routable in sctp_rcv()
158 * IP broadcast addresses cannot be used in an SCTP transport in sctp_rcv()
165 asoc = __sctp_rcv_lookup(net, skb, &src, &dest, &transport, dif, sdif); in sctp_rcv()
212 chunk->transport = transport; in sctp_rcv()
249 if (transport) in sctp_rcv()
250 sctp_transport_put(transport); in sctp_rcv()
263 if (transport) in sctp_rcv()
264 sctp_transport_put(transport); in sctp_rcv()
471 struct sctp_transport *transport = NULL; sctp_err_lookup() local
613 struct sctp_transport *transport; sctp_v4_err() local
944 struct sctp_transport *transport; sctp_hash_transport() local
1096 struct sctp_transport *transport; sctp_has_association() local
[all...]
/linux/net/sunrpc/
H A Dxprtsock.c65 static void xs_reset_srcport(struct sock_xprt *transport);
66 static void xs_set_srcport(struct sock_xprt *transport, struct socket *sock);
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()
554 transport->recv.offset); in xs_read_header()
555 transport->recv.copied = transport->recv.offset; in xs_read_header()
560 xs_read_stream_request_done(struct sock_xprt *transport) in xs_read_stream_request_done() argument
562 return transport->recv.fraghdr & cpu_to_be32(RPC_LAST_STREAM_FRAGMENT); in xs_read_stream_request_done()
[all …]
/linux/drivers/firmware/arm_scmi/transports/
H A DKconfig7 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.
47 transport based on SMC, answer Y.
[all …]
/linux/net/vmw_vsock/
H A Daf_vsock.c451 void vsock_for_each_connected_socket(struct vsock_transport *transport, in vsock_for_each_connected_socket() argument
462 if (vsk->transport != transport) in vsock_for_each_connected_socket()
543 if (!vsk->transport) in vsock_deassign_transport()
546 vsk->transport->destruct(vsk); in vsock_deassign_transport()
547 module_put(vsk->transport->module); in vsock_deassign_transport()
548 vsk->transport = NULL; in vsock_deassign_transport()
620 if (vsk->transport && vsk->transport == new_transport) { in vsock_assign_transport()
639 if (vsk->transport) { in vsock_assign_transport()
646 vsk->transport->release(vsk); in vsock_assign_transport()
673 vsk->transport = new_transport; in vsock_assign_transport()
[all …]
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 …]
/linux/net/rxrpc/
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()
H A Dpeer_object.c42 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()
89 (peer->srx.transport.family - srx->transport.family)); in rxrpc_peer_cmp_key()
93 switch (srx->transport.family) { in rxrpc_peer_cmp_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 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 …]
/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/drivers/net/mctp/
H A DKconfig7 tristate "MCTP serial transport"
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
58 This will be automatically enabled by the transport driver.
[all …]
/linux/drivers/scsi/
H A 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/tools/testing/selftests/net/
H A Dl2tp.sh230 tmpl proto esp mode transport
234 tmpl proto esp mode transport
238 tmpl proto esp mode transport
242 tmpl proto esp mode transport
247 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f 128 mode transport
252 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f 128 mode transport
257 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f 128 mode transport
262 0x0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f 128 mode transport
269 tmpl proto esp mode transport
273 tmpl proto esp mode transport
[all …]
/linux/Documentation/hid/
H A Dhid-transport.rst5 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
60 transport drivers. Transport drivers use this to find any suitable HID device.
63 aware of which transport drivers are available and is not interested in it. It
72 device failures. Once transport drivers detect unplug or failure events, they
84 On the other hand, synchronous channels can be implemented by the transport
88 required on asynchronous channels, a transport-driver must implement that via
91 HID core requires transport drivers to follow a given design. A Transport
[all …]
/linux/net/rds/
H A 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/drivers/target/
H A Dtarget_core_tmr.c150 if (dev->transport->tmr_notify) in core_tmr_abort_task()
151 dev->transport->tmr_notify(dev, TMR_ABORT_TASK, in core_tmr_abort_task()
166 if (dev->transport->tmr_notify) in core_tmr_abort_task()
167 dev->transport->tmr_notify(dev, TMR_ABORT_TASK, &aborted_list); in core_tmr_abort_task()
336 if (dev->transport->tmr_notify) in core_tmr_drain_state_list()
337 dev->transport->tmr_notify(dev, preempt_and_abort_list ? in core_tmr_drain_state_list()
403 dev->transport->name, tas); in core_tmr_lun_reset()
427 dev->transport->name); in core_tmr_lun_reset()
/linux/drivers/hid/surface-hid/
H A DKconfig6 tristate "HID transport driver for Surface System Aggregator Module"
13 This driver provides support for the HID transport protocol provided
24 tristate "HID keyboard transport driver for Surface System Aggregator Module"
29 This driver provides support for the HID transport protocol provided
/linux/drivers/firmware/arm_scmi/
H A DMakefile8 scmi-transport-$(CONFIG_ARM_SCMI_HAVE_SHMEM) = shmem.o
9 scmi-transport-$(CONFIG_ARM_SCMI_HAVE_MSG) += msg.o
12 scmi-module-objs := $(scmi-driver-y) $(scmi-protocols-y) $(scmi-transport-y)

12345678910