Lines Matching refs:rwnd

173 		asoc->rwnd = SCTP_DEFAULT_MINWINDOW;  in sctp_association_init()
175 asoc->rwnd = sk->sk_rcvbuf/2; in sctp_association_init()
177 asoc->a_rwnd = asoc->rwnd; in sctp_association_init()
180 asoc->peer.rwnd = SCTP_DEFAULT_MAXWINDOW; in sctp_association_init()
1098 asoc->peer.rwnd = new->peer.rwnd; in sctp_assoc_update()
1429 if ((asoc->rwnd > asoc->a_rwnd) && in sctp_peer_needs_update()
1430 ((asoc->rwnd - asoc->a_rwnd) >= max_t(__u32, in sctp_peer_needs_update()
1451 asoc->rwnd += (len - asoc->rwnd_over); in sctp_assoc_rwnd_increase()
1455 asoc->rwnd += len; in sctp_assoc_rwnd_increase()
1463 if (asoc->rwnd_press && asoc->rwnd >= asoc->rwnd_press) { in sctp_assoc_rwnd_increase()
1465 asoc->rwnd += change; in sctp_assoc_rwnd_increase()
1470 __func__, asoc, len, asoc->rwnd, asoc->rwnd_over, in sctp_assoc_rwnd_increase()
1479 asoc->a_rwnd = asoc->rwnd; in sctp_assoc_rwnd_increase()
1482 "a_rwnd:%u\n", __func__, asoc, asoc->rwnd, in sctp_assoc_rwnd_increase()
1506 if (unlikely(!asoc->rwnd || asoc->rwnd_over)) in sctp_assoc_rwnd_decrease()
1509 asoc->rwnd, asoc->rwnd_over); in sctp_assoc_rwnd_decrease()
1524 if (asoc->rwnd >= len) { in sctp_assoc_rwnd_decrease()
1525 asoc->rwnd -= len; in sctp_assoc_rwnd_decrease()
1527 asoc->rwnd_press += asoc->rwnd; in sctp_assoc_rwnd_decrease()
1528 asoc->rwnd = 0; in sctp_assoc_rwnd_decrease()
1531 asoc->rwnd_over = len - asoc->rwnd; in sctp_assoc_rwnd_decrease()
1532 asoc->rwnd = 0; in sctp_assoc_rwnd_decrease()
1536 __func__, asoc, len, asoc->rwnd, asoc->rwnd_over, in sctp_assoc_rwnd_decrease()