Lines Matching defs:transport
76 struct sctp_transport *transport,
267 /* Look up the transport from an address and an assoc id. If both address and
278 struct sctp_transport *transport;
285 &transport);
297 return transport;
765 struct sctp_transport *transport;
894 list_for_each_entry(transport, &asoc->peer.transport_addr_list,
896 sctp_transport_route(transport, NULL,
1172 struct sctp_transport *transport;
1193 asoc = sctp_endpoint_lookup_assoc(ep, daddr, &transport);
1198 err = sctp_connect_new_asoc(ep, daddr, NULL, &transport);
1201 asoc = transport->asoc;
1793 struct sctp_transport *transport,
1832 err = sctp_wait_for_sndbuf(asoc, transport, &timeo, msg_len);
1871 chunk->transport = transport;
1947 struct sctp_transport *transport = NULL;
1998 asoc = sctp_endpoint_lookup_assoc(ep, daddr, &transport);
2006 &transport);
2010 asoc = transport->asoc;
2015 transport = NULL;
2032 err = sctp_sendmsg_to_asoc(asoc, msg, msg_len, transport, sinfo);
2650 * no transport is found, then the request is invalid.
2668 /* Heartbeat demand can only be sent on a transport or
2683 * transport.
3173 * one path/transport. We do this because path
4459 * no transport is found, then the request is invalid.
4482 * each transport.
4513 * no transport is found, then the request is invalid.
4536 * each transport.
5341 struct sctp_transport *transport;
5346 transport = sctp_addrs_lookup_transport(net, laddr, paddr, dif, dif);
5347 if (!transport) {
5351 ep = transport->asoc->ep;
5353 sctp_transport_put(transport);
5359 err = cb(ep, transport, p);
5361 sctp_transport_put(transport);
5420 struct sctp_transport *transport;
5442 transport = asoc->peer.primary_path;
5453 status.sstat_primary.spinfo_assoc_id = sctp_assoc2id(transport->asoc);
5454 memcpy(&status.sstat_primary.spinfo_address, &transport->ipaddr,
5455 transport->af_specific->sockaddr_len);
5459 status.sstat_primary.spinfo_state = transport->state;
5460 status.sstat_primary.spinfo_cwnd = transport->cwnd;
5461 status.sstat_primary.spinfo_srtt = transport->srtt;
5462 status.sstat_primary.spinfo_rto = jiffies_to_msecs(transport->rto);
5463 status.sstat_primary.spinfo_mtu = transport->pathmtu;
5499 struct sctp_transport *transport;
5513 transport = sctp_addr_id2transport(sk, &pinfo.spinfo_address,
5515 if (!transport) {
5520 if (transport->state == SCTP_PF &&
5521 transport->asoc->pf_expose == SCTP_PF_EXPOSE_DISABLE) {
5526 pinfo.spinfo_assoc_id = sctp_assoc2id(transport->asoc);
5527 pinfo.spinfo_state = transport->state;
5528 pinfo.spinfo_cwnd = transport->cwnd;
5529 pinfo.spinfo_srtt = transport->srtt;
5530 pinfo.spinfo_rto = jiffies_to_msecs(transport->rto);
5531 pinfo.spinfo_mtu = transport->pathmtu;
5937 * no transport is found, then the request is invalid.
5943 pr_debug("%s: failed no transport\n", __func__);
5960 /* Fetch transport values. */
7962 * no transport is found, then the request is invalid.
7968 pr_debug("%s: failed no transport\n", __func__);
8022 * no transport is found, then the request is invalid.
8028 pr_debug("%s: failed no transport\n", __func__);
9220 struct sctp_transport *transport,
9231 /* Increment the transport and association's refcnt. */
9232 if (transport)
9233 sctp_transport_hold(transport);
9242 if ((!*timeo_p) || (transport && transport->dead))
9267 /* Release the transport and association's refcnt. */
9268 if (transport)
9269 sctp_transport_put(transport);