Searched refs:rwnd (Results 1 - 10 of 10) sorted by relevance

/linux-master/include/trace/events/
H A Dsctp.h64 __field(__u32, rwnd)
76 __entry->rwnd = asoc->peer.rwnd;
81 "rwnd=%u unack_data=%d",
83 __entry->peer_port, __entry->pathmtu, __entry->rwnd,
/linux-master/net/sctp/
H A Dassociola.c163 asoc->rwnd = SCTP_DEFAULT_MINWINDOW;
165 asoc->rwnd = sk->sk_rcvbuf/2;
167 asoc->a_rwnd = asoc->rwnd;
170 asoc->peer.rwnd = SCTP_DEFAULT_MAXWINDOW;
1110 asoc->peer.rwnd = new->peer.rwnd;
1457 if ((asoc->rwnd > asoc->a_rwnd) &&
1458 ((asoc->rwnd - asoc->a_rwnd) >= max_t(__u32,
1469 /* Increase asoc's rwnd by len and send any window update SACK if needed. */
1479 asoc->rwnd
[all...]
H A Doutput.c303 asoc->a_rwnd = asoc->rwnd;
675 size_t datasize, rwnd, inflight, flight_size; local
683 * any destination transport address if its peer's rwnd indicates
684 * that the peer has no buffer space (i.e. rwnd is 0, see Section
685 * 6.2.1). However, regardless of the value of rwnd (including if it
688 * allows the sender to probe for a change in rwnd that the sender
693 rwnd = asoc->peer.rwnd;
699 if (datasize > rwnd && inflight > 0)
762 u32 rwnd local
[all...]
H A Doutqueue.c477 q->asoc->peer.rwnd += sctp_data_size(chunk);
495 * chunks to the rwnd.
497 q->asoc->peer.rwnd += sctp_data_size(chunk);
1385 /* ii) Set rwnd equal to the newly received a_rwnd minus the
1399 asoc->peer.rwnd = sack_a_rwnd;
1672 if (!q->asoc->peer.rwnd &&
H A Dsm_sideeffect.c205 asoc->a_rwnd = asoc->rwnd;
1694 sackh.a_rwnd = htonl(asoc->peer.rwnd +
H A Dsm_statefuns.c1459 new_asoc->rwnd = asoc->rwnd;
3369 * ii) Set rwnd equal to the newly received a_rwnd minus the number
5793 * We are here likely because the receiver had its rwnd
6544 if ((datalen >= asoc->rwnd) && (!asoc->ulpq.pd_mode)) {
6552 /* Spill over rwnd a little bit. Note: While allowed, this spill over
6557 if ((!chunk->data_accepted) && (!asoc->rwnd || asoc->rwnd_over ||
6558 (datalen > asoc->rwnd + asoc->frag_point))) {
6571 pr_debug("%s: discard tsn:%u len:%zu, rwnd:%d\n",
6572 __func__, tsn, datalen, asoc->rwnd);
[all...]
H A Dsm_make_chunk.c236 init.a_rwnd = htonl(asoc->rwnd);
403 initack.a_rwnd = htonl(asoc->rwnd);
2468 /* Peer Rwnd : Current calculated value of the peer's rwnd. */
2469 asoc->peer.rwnd = asoc->peer.i.a_rwnd;
H A Dsocket.c2174 * rwnd by that amount. If all the data in the skb is read,
2175 * rwnd is updated when the event is freed.
2195 * rwnd.
3479 * invoked to help free up rwnd space for the peer. Setting this to a
3497 * it to be, also initial rwnd is based on rcvbuf/2.
5201 info->sctpi_peer_rwnd = asoc->peer.rwnd;
5440 status.sstat_rwnd = asoc->peer.rwnd;
5467 pr_debug("%s: len:%d, state:%d, rwnd:%d, assoc_id:%d\n",
6632 assocparams.sasoc_peer_rwnd = asoc->peer.rwnd;
/linux-master/include/net/sctp/
H A Dstructs.h1612 /* rwnd
1614 * Peer Rwnd : Current calculated value of the peer's rwnd.
1616 __u32 rwnd; member in struct:sctp_association::__anon2538
1898 __u32 rwnd; member in struct:sctp_association
1900 /* This is the last advertised value of rwnd over a SACK chunk. */
1903 /* Number of bytes by which the rwnd has slopped. The rwnd is allowed
1908 /* Keeps treack of rwnd pressure. This happens when we have
/linux-master/include/net/
H A Dtcp.h2695 int rwnd; local
2697 rwnd = tcp_call_bpf(sk, BPF_SOCK_OPS_RWND_INIT, 0, NULL);
2699 if (rwnd < 0)
2700 rwnd = 0;
2701 return rwnd;

Completed in 398 milliseconds