Lines Matching defs:new
50 /* Initialize a new association from provided memory. */
120 /* Initialize the maximum number of new data packets that can be sent
216 * [We implement this by telling a new association that it
284 /* Allocate and initialize a new association */
443 * user wants to use this new path.
452 * destination address, on the data structure for the new
666 * If not and the current association PMTU is higher than the new
667 * peer's PMTU, reset the association PMTU to the new peer's PMTU.
791 * Select and update the new active and retran paths.
853 /* Select new active and retran paths. */
1070 /* This routine moves an association from its old sk to a new sk. */
1089 /* Get a reference to the new endpoint. */
1093 /* Get a reference to the new sock. */
1097 /* Add the association to the new endpoint's list of associations. */
1103 struct sctp_association *new)
1108 /* Copy in new parameters of peer. */
1109 asoc->c = new->c;
1110 asoc->peer.rwnd = new->peer.rwnd;
1111 asoc->peer.sack_needed = new->peer.sack_needed;
1112 asoc->peer.auth_capable = new->peer.auth_capable;
1113 asoc->peer.i = new->peer.i;
1119 /* Remove any peer addresses not present in the new association. */
1122 if (!sctp_assoc_lookup_paddr(new, &trans->ipaddr)) {
1137 asoc->next_tsn = new->next_tsn;
1138 asoc->ctsn_ack_point = new->ctsn_ack_point;
1139 asoc->adv_peer_ack_point = new->adv_peer_ack_point;
1159 /* Add any peer addresses from the new association. */
1160 list_for_each_entry(trans, &new->peer.transport_addr_list,
1170 sctp_stream_update(&asoc->stream, &new->stream);
1172 /* get a new assoc id if we don't have one yet. */
1177 /* SCTP-AUTH: Save the peer parameters from the new associations
1181 asoc->peer.peer_random = new->peer.peer_random;
1182 new->peer.peer_random = NULL;
1185 asoc->peer.peer_chunks = new->peer.peer_chunks;
1186 new->peer.peer_chunks = NULL;
1189 asoc->peer.peer_hmacs = new->peer.peer_hmacs;
1190 new->peer.peer_hmacs = NULL;
1308 pr_debug("%s: association:%p updated new path to addr:%pISpc\n",