Lines Matching refs:rwnd
163 asoc->rwnd = SCTP_DEFAULT_MINWINDOW; in sctp_association_init()
165 asoc->rwnd = sk->sk_rcvbuf/2; in sctp_association_init()
167 asoc->a_rwnd = asoc->rwnd; in sctp_association_init()
170 asoc->peer.rwnd = SCTP_DEFAULT_MAXWINDOW; in sctp_association_init()
1110 asoc->peer.rwnd = new->peer.rwnd; in sctp_assoc_update()
1457 if ((asoc->rwnd > asoc->a_rwnd) && in sctp_peer_needs_update()
1458 ((asoc->rwnd - asoc->a_rwnd) >= max_t(__u32, in sctp_peer_needs_update()
1479 asoc->rwnd += (len - asoc->rwnd_over); in sctp_assoc_rwnd_increase()
1483 asoc->rwnd += len; in sctp_assoc_rwnd_increase()
1493 asoc->rwnd += change; in sctp_assoc_rwnd_increase()
1498 __func__, asoc, len, asoc->rwnd, asoc->rwnd_over, in sctp_assoc_rwnd_increase()
1507 asoc->a_rwnd = asoc->rwnd; in sctp_assoc_rwnd_increase()
1510 "a_rwnd:%u\n", __func__, asoc, asoc->rwnd, in sctp_assoc_rwnd_increase()
1534 if (unlikely(!asoc->rwnd || asoc->rwnd_over)) in sctp_assoc_rwnd_decrease()
1537 asoc->rwnd, asoc->rwnd_over); in sctp_assoc_rwnd_decrease()
1552 if (asoc->rwnd >= len) { in sctp_assoc_rwnd_decrease()
1553 asoc->rwnd -= len; in sctp_assoc_rwnd_decrease()
1555 asoc->rwnd_press += asoc->rwnd; in sctp_assoc_rwnd_decrease()
1556 asoc->rwnd = 0; in sctp_assoc_rwnd_decrease()
1559 asoc->rwnd_over += len - asoc->rwnd; in sctp_assoc_rwnd_decrease()
1560 asoc->rwnd = 0; in sctp_assoc_rwnd_decrease()
1564 __func__, asoc, len, asoc->rwnd, asoc->rwnd_over, in sctp_assoc_rwnd_decrease()