Lines Matching refs:peer

176 	list_for_each_entry(t, &asoc->peer.transport_addr_list, transports)
583 if (!asoc->peer.asconf_capable)
586 if (asoc->peer.addip_disabled_mask & SCTP_PARAM_ADD_IP)
594 * do not send the asconf chunk to its peer, but continue with
644 &asoc->peer.transport_addr_list, transports) {
647 trans->ssthresh = asoc->peer.i.a_rwnd;
787 if (!asoc->peer.asconf_capable)
790 if (asoc->peer.addip_disabled_mask & SCTP_PARAM_DEL_IP)
798 * If so, do not send the asconf chunk to its peer, but
893 list_for_each_entry(transport, &asoc->peer.transport_addr_list,
976 * endpoint to send the appropriate message to the peer to change the
1214 if (asoc->peer.port != ntohs(daddr->v4.sin_port))
1239 inet_sk(sk)->inet_dport = htons(asoc->peer.port);
1286 * allows a caller to specify multiple addresses at which a peer can be
1294 * the peer uses for the resulting association. If the caller wants to
1295 * find out the set of peer addresses, it must use sctp_getpaddrs() to
1573 * and receive data from its peer.
1725 daddr->v4.sin_port = htons(asoc->peer.port);
1736 daddr->v6.sin6_port = htons(asoc->peer.port);
2290 * Applications can enable or disable heartbeats for any peer address of
2575 list_for_each_entry(t, &asoc->peer.transport_addr_list,
2600 list_for_each_entry(t, &asoc->peer.transport_addr_list,
2685 list_for_each_entry(trans, &asoc->peer.transport_addr_list,
2725 list_for_each_entry(trans, &asoc->peer.transport_addr_list,
3015 * Requests that the local SCTP stack use the enclosed peer address as
3017 * association peer's addresses.
3138 * greater than the sum of the retransmission value of the peer.
3165 list_for_each_entry(peer_addr, &asoc->peer.transport_addr_list,
3307 * Requests that the peer mark the enclosed address as the association
3334 if (!asoc->peer.asconf_capable)
3337 if (asoc->peer.addip_disabled_mask & SCTP_PARAM_SET_PRIMARY)
3368 pr_debug("%s: we set peer primary addr primitively\n", __func__);
3392 * reading messages from the peer. This is especially helpful in the
3396 * received messages from the peer and does not effect the value that is
3479 * invoked to help free up rwnd space for the peer. Setting this to a
3599 * endpoint requires the peer to use.
3912 list_for_each_entry(trans, &asoc->peer.transport_addr_list,
4484 list_for_each_entry(t, &asoc->peer.transport_addr_list,
4538 list_for_each_entry(t, &asoc->peer.transport_addr_list, transports) {
5191 info->sctpi_penddata = sctp_tsnmap_pending(&asoc->peer.tsn_map);
5201 info->sctpi_peer_rwnd = asoc->peer.rwnd;
5204 mask = asoc->peer.intl_capable << 1;
5205 mask = (mask | asoc->peer.ecn_capable) << 1;
5206 mask = (mask | asoc->peer.ipv4_address) << 1;
5207 mask = (mask | asoc->peer.ipv6_address) << 1;
5208 mask = (mask | asoc->peer.reconf_capable) << 1;
5209 mask = (mask | asoc->peer.asconf_capable) << 1;
5210 mask = (mask | asoc->peer.prsctp_capable) << 1;
5211 mask = (mask | asoc->peer.auth_capable);
5213 mask = asoc->peer.sack_needed << 1;
5214 mask = (mask | asoc->peer.sack_generation) << 1;
5215 mask = (mask | asoc->peer.zero_window_announced);
5233 prim = asoc->peer.primary_path;
5282 t->asoc->peer.primary_path == t)
5404 * association, including association state, peer receiver window size,
5436 transport = asoc->peer.primary_path;
5440 status.sstat_rwnd = asoc->peer.rwnd;
5443 status.sstat_penddata = sctp_tsnmap_pending(&asoc->peer.tsn_map);
5483 * Applications can retrieve information about a specific peer address
5655 sp->pf->to_sk_daddr(&asoc->peer.primary_addr, sock->sk);
5780 * Applications can enable or disable heartbeats for any peer address of
6168 list_for_each_entry(from, &asoc->peer.transport_addr_list,
6340 * Requests that the local SCTP stack use the enclosed peer address as
6342 * association peer's addresses.
6363 if (!asoc->peer.primary_path)
6366 memcpy(&prim.ssp_addr, &asoc->peer.primary_path->ipaddr,
6367 asoc->peer.primary_path->af_specific->sockaddr_len);
6601 * greater than the sum of the retransmission value of the peer.
6632 assocparams.sasoc_peer_rwnd = asoc->peer.rwnd;
6636 list_for_each(pos, &asoc->peer.transport_addr_list) {
6943 if (!asoc->peer.auth_capable)
6981 if (!asoc->peer.auth_capable)
6984 ch = asoc->peer.peer_chunks;
7028 if (!asoc->peer.auth_capable)
7346 params.assoc_value = asoc ? asoc->peer.prsctp_capable
7554 params.assoc_value = asoc ? asoc->peer.reconf_capable
7713 params.assoc_value = asoc ? asoc->peer.intl_capable
7807 params.assoc_value = asoc ? asoc->peer.asconf_capable
7846 params.assoc_value = asoc ? asoc->peer.auth_capable
7885 params.assoc_value = asoc ? asoc->peer.ecn_capable
9483 newinet->inet_dport = htons(asoc->peer.port);