Home
last modified time | relevance | path

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

12345678910>>...12

/linux/net/sctp/
H A 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 …]
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 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 …]
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 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 …]
H A 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()
H A Dinput.c94 struct sctp_transport *transport = NULL; in sctp_rcv() local
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()
280 struct sctp_transport *t = chunk->transport; in sctp_backlog_rcv()
350 struct sctp_transport *t = chunk->transport; in sctp_add_backlog()
471 struct sctp_transport *transport = NULL; in sctp_err_lookup() 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);
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()
[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.c345 void vsock_for_each_connected_socket(struct vsock_transport *transport, in vsock_for_each_connected_socket()
356 if (vsk->transport != transport) in vsock_for_each_connected_socket()
422 if (!vsk->transport) in vsock_deassign_transport()
425 vsk->transport->destruct(vsk); in vsock_deassign_transport()
426 module_put(vsk->transport->module); in vsock_deassign_transport()
427 vsk->transport = NULL;
430 /* Assign a transport to a socket and call the .init transport callback.
435 * The vsk->remote_addr is used to decide which transport t
343 vsock_for_each_connected_socket(struct vsock_transport * transport,void (* fn)(struct sock * sk)) vsock_for_each_connected_socket() argument
1071 const struct vsock_transport *transport; vsock_poll() local
1158 const struct vsock_transport *transport; vsock_dgram_sendmsg() local
1374 const struct vsock_transport *transport = vsk->transport; vsock_transport_cancel_pkt() local
1410 const struct vsock_transport *transport; vsock_connect() local
1684 vsock_update_buffer_size(struct vsock_sock * vsk,const struct vsock_transport * transport,u64 val) vsock_update_buffer_size() argument
1709 const struct vsock_transport *transport; vsock_connectible_setsockopt() local
1881 const struct vsock_transport *transport; vsock_connectible_sendmsg() local
2044 const struct vsock_transport *transport; vsock_connectible_wait_data() local
2109 const struct vsock_transport *transport; __vsock_stream_recvmsg() local
2187 const struct vsock_transport *transport; __vsock_seqpacket_recvmsg() local
2240 const struct vsock_transport *transport; __vsock_connectible_recvmsg() local
2320 const struct vsock_transport *transport; vsock_set_rcvlowat() local
[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 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 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_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 …]
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()
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/arch/um/drivers/
H A 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/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 …]
/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/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,
/linux/Documentation/driver-api/
H A Dscsi.rst232 layer, which expose transport attributes in sysfs.
234 Fibre Channel transport
237 The file drivers/scsi/scsi_transport_fc.c defines transport attributes
243 iSCSI transport class
246 The file drivers/scsi/scsi_transport_iscsi.c defines transport
253 Serial Attached SCSI (SAS) transport class
256 The file drivers/scsi/scsi_transport_sas.c defines transport
260 The SAS transport class contains common code to deal with SAS HBAs, an
265 In addition to the basic SCSI core objects this transport class
280 SATA transport class
[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/drivers/net/caif/
H A 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/Documentation/networking/
H A 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 …]

12345678910>>...12