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()
1458 if ((asoc->rwnd > asoc->a_rwnd) && in sctp_peer_needs_update()
1459 ((asoc->rwnd - asoc->a_rwnd) >= max_t(__u32, in sctp_peer_needs_update()
1480 asoc->rwnd += (len - asoc->rwnd_over); in sctp_assoc_rwnd_increase()
1484 asoc->rwnd += len; in sctp_assoc_rwnd_increase()
1494 asoc->rwnd += change; in sctp_assoc_rwnd_increase()
1499 __func__, asoc, len, asoc->rwnd, asoc->rwnd_over, in sctp_assoc_rwnd_increase()
1508 asoc->a_rwnd = asoc->rwnd; in sctp_assoc_rwnd_increase()
1511 "a_rwnd:%u\n", __func__, asoc, asoc->rwnd, in sctp_assoc_rwnd_increase()
1535 if (unlikely(!asoc->rwnd || asoc->rwnd_over)) in sctp_assoc_rwnd_decrease()
1538 asoc->rwnd, asoc->rwnd_over); in sctp_assoc_rwnd_decrease()
1553 if (asoc->rwnd >= len) { in sctp_assoc_rwnd_decrease()
1554 asoc->rwnd -= len; in sctp_assoc_rwnd_decrease()
1556 asoc->rwnd_press += asoc->rwnd; in sctp_assoc_rwnd_decrease()
1557 asoc->rwnd = 0; in sctp_assoc_rwnd_decrease()
1560 asoc->rwnd_over += len - asoc->rwnd; in sctp_assoc_rwnd_decrease()
1561 asoc->rwnd = 0; in sctp_assoc_rwnd_decrease()
1565 __func__, asoc, len, asoc->rwnd, asoc->rwnd_over, in sctp_assoc_rwnd_decrease()