Lines Matching refs:rwnd
160 asoc->rwnd = SCTP_DEFAULT_MINWINDOW; in sctp_association_init()
162 asoc->rwnd = sk->sk_rcvbuf/2; in sctp_association_init()
164 asoc->a_rwnd = asoc->rwnd; in sctp_association_init()
167 asoc->peer.rwnd = SCTP_DEFAULT_MAXWINDOW; in sctp_association_init()
1102 asoc->peer.rwnd = new->peer.rwnd; in sctp_assoc_update()
1450 if ((asoc->rwnd > asoc->a_rwnd) && in sctp_peer_needs_update()
1451 ((asoc->rwnd - asoc->a_rwnd) >= max_t(__u32, in sctp_peer_needs_update()
1472 asoc->rwnd += (len - asoc->rwnd_over); in sctp_assoc_rwnd_increase()
1476 asoc->rwnd += len; in sctp_assoc_rwnd_increase()
1486 asoc->rwnd += change; in sctp_assoc_rwnd_increase()
1491 __func__, asoc, len, asoc->rwnd, asoc->rwnd_over, in sctp_assoc_rwnd_increase()
1500 asoc->a_rwnd = asoc->rwnd; in sctp_assoc_rwnd_increase()
1503 "a_rwnd:%u\n", __func__, asoc, asoc->rwnd, in sctp_assoc_rwnd_increase()
1527 if (unlikely(!asoc->rwnd || asoc->rwnd_over)) in sctp_assoc_rwnd_decrease()
1530 asoc->rwnd, asoc->rwnd_over); in sctp_assoc_rwnd_decrease()
1545 if (asoc->rwnd >= len) { in sctp_assoc_rwnd_decrease()
1546 asoc->rwnd -= len; in sctp_assoc_rwnd_decrease()
1548 asoc->rwnd_press += asoc->rwnd; in sctp_assoc_rwnd_decrease()
1549 asoc->rwnd = 0; in sctp_assoc_rwnd_decrease()
1552 asoc->rwnd_over += len - asoc->rwnd; in sctp_assoc_rwnd_decrease()
1553 asoc->rwnd = 0; in sctp_assoc_rwnd_decrease()
1557 __func__, asoc, len, asoc->rwnd, asoc->rwnd_over, in sctp_assoc_rwnd_decrease()