Lines Matching defs:transport

206 	/* Make an empty list of remote transport addresses.  */
317 struct sctp_transport *transport;
375 /* Release the transport structures. */
377 transport = list_entry(pos, struct sctp_transport, transports);
379 sctp_unhash_transport(transport);
380 sctp_transport_free(transport);
424 struct sctp_transport *transport)
432 asoc->peer.primary_path != transport)
435 asoc->peer.primary_path = transport;
436 sctp_ulpevent_notify_peer_addr_change(transport,
440 memcpy(&asoc->peer.primary_addr, &transport->ipaddr,
446 if ((transport->state == SCTP_ACTIVE) ||
447 (transport->state == SCTP_UNKNOWN))
448 asoc->peer.active_path = transport;
467 if (transport->cacc.changeover_active)
468 transport->cacc.cycling_changeover = changeover;
473 transport->cacc.changeover_active = changeover;
478 transport->cacc.next_tsn_at_change = asoc->next_tsn;
481 /* Remove a transport from an association. */
485 struct sctp_transport *transport;
500 /* Remove this peer from the transport hashtable */
503 /* Get the first transport of asoc. */
505 transport = list_entry(pos, struct sctp_transport, transports);
509 sctp_assoc_set_primary(asoc, transport);
511 asoc->peer.active_path = transport;
513 asoc->peer.retran_path = transport;
515 asoc->peer.last_data_from = transport;
518 asoc->strreset_chunk->transport == peer) {
519 asoc->strreset_chunk->transport = transport;
520 sctp_transport_reset_reconf_timer(transport);
523 /* If we remove the transport an INIT was last sent to, set it to
526 * transport, maintaining the cycle.
531 /* If we remove the transport an SHUTDOWN was last sent to, set it
534 * transport, maintaining the cycle.
539 /* If we remove the transport an ASCONF was last sent to, set it to
543 asoc->addip_last_asconf->transport == peer)
544 asoc->addip_last_asconf->transport = NULL;
552 /* Reset the transport of each chunk on this list */
555 ch->transport = NULL;
573 if (ch->transport == peer)
574 ch->transport = NULL;
582 /* Add a transport address to an association. */
662 /* Initialize the pmtu of the transport. */
665 /* If this is the first transport addr on this association,
704 /* Set the transport's RTO.initial value */
711 /* Add this peer into the transport hashtable */
719 /* Attach the remote transport to our asoc. */
739 /* Lookup a transport by address. */
766 /* if the current transport is not the primary one, delete it */
772 /* Engage in transport control operations.
773 * Mark the transport up or down and send a notification to the user.
777 struct sctp_transport *transport,
784 /* Record the transition on the transport. */
791 if (transport->state == SCTP_PF &&
794 else if (transport->state == SCTP_UNCONFIRMED &&
798 transport->state = SCTP_ACTIVE;
799 sctp_transport_pl_reset(transport);
803 /* If the transport was never confirmed, do not transition it
807 if (transport->state != SCTP_UNCONFIRMED) {
808 transport->state = SCTP_INACTIVE;
809 sctp_transport_pl_reset(transport);
812 sctp_transport_dst_release(transport);
818 transport->state = SCTP_PF;
833 sctp_ulpevent_notify_peer_addr_change(transport,
903 * Find which transport this TSN was sent on.
910 struct sctp_transport *transport;
922 * The general strategy is to search each transport's transmitted
923 * list. Return which transport this TSN lives on.
943 list_for_each_entry(transport, &asoc->peer.transport_addr_list,
946 if (transport == active)
948 list_for_each_entry(chunk, &transport->transmitted,
951 match = transport;
1022 asoc->peer.last_data_from = chunk->transport;
1030 if (chunk->transport)
1031 chunk->transport->last_time_heard = ktime_get();
1184 * inactive destination transport address, before reporting
1186 * the data to an alternate active destination transport
1203 * transport with state SCTP_ACTIVE exists, round-robin through
1245 /* First, try a score-based selection if both transport states
1307 /* Keep track of the best PF transport from our
1331 * destination transport address (and possibly source transport
1333 * bump the most recently used transport.]
1349 /* If we failed to find a usable transport, just camp on the
1406 * transports. This routine is called when a transport's PMTU has changed.