Home
last modified time | relevance | path

Searched full:rwnd (Results 1 – 12 of 12) sorted by relevance

/linux/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/net/sctp/
H A Dassociola.c164 asoc->rwnd = SCTP_DEFAULT_MINWINDOW; in sctp_association_init()
166 asoc->rwnd = sk->sk_rcvbuf/2; in sctp_association_init()
168 asoc->a_rwnd = asoc->rwnd; in sctp_association_init()
171 asoc->peer.rwnd = SCTP_DEFAULT_MAXWINDOW; in sctp_association_init()
1093 asoc->peer.rwnd = new->peer.rwnd; in sctp_assoc_update()
1440 if ((asoc->rwnd > asoc->a_rwnd) && in sctp_peer_needs_update()
1441 ((asoc->rwnd - asoc->a_rwnd) >= max_t(__u32, in sctp_peer_needs_update()
1452 /* Increase asoc's rwnd by len and send any window update SACK if needed. */
1462 asoc->rwnd += (len - asoc->rwnd_over); in sctp_assoc_rwnd_increase()
1466 asoc->rwnd += len; in sctp_assoc_rwnd_increase()
[all …]
H A Doutput.c303 asoc->a_rwnd = asoc->rwnd; in sctp_packet_bundle_sack()
675 size_t datasize, rwnd, inflight, flight_size; in sctp_packet_can_append_data() local
683 * any destination transport address if its peer's rwnd indicates in sctp_packet_can_append_data()
684 * that the peer has no buffer space (i.e. rwnd is 0, see Section in sctp_packet_can_append_data()
685 * 6.2.1). However, regardless of the value of rwnd (including if it in sctp_packet_can_append_data()
688 * allows the sender to probe for a change in rwnd that the sender in sctp_packet_can_append_data()
693 rwnd = asoc->peer.rwnd; in sctp_packet_can_append_data()
699 if (datasize > rwnd && inflight > 0) in sctp_packet_can_append_data()
762 u32 rwnd = asoc->peer.rwnd; in sctp_packet_append_data() local
770 /* Update our view of the receiver's rwnd. */ in sctp_packet_append_data()
[all …]
H A Doutqueue.c477 q->asoc->peer.rwnd += sctp_data_size(chunk); in sctp_retransmit_mark()
495 * chunks to the rwnd. in sctp_retransmit_mark()
497 q->asoc->peer.rwnd += sctp_data_size(chunk); in sctp_retransmit_mark()
1385 /* ii) Set rwnd equal to the newly received a_rwnd minus the in sctp_outq_sack()
1399 asoc->peer.rwnd = sack_a_rwnd; in sctp_outq_sack()
1671 if (!q->asoc->peer.rwnd && in sctp_check_transmitted()
H A Dulpevent.c1084 /* Set the owner and charge rwnd for bytes received. */ in sctp_ulpevent_receive_data()
1092 * fragment of the real event. However, we still need to do rwnd in sctp_ulpevent_receive_data()
1161 * to the owner, updating the rwnd in case of a DATA event and freeing the
H A Dsm_statefuns.c1462 new_asoc->rwnd = asoc->rwnd; in sctp_tietags_populate()
3388 * ii) Set rwnd equal to the newly received a_rwnd minus the number
5812 * We are here likely because the receiver had its rwnd in sctp_sf_do_6_3_3_rtx()
6563 if ((datalen >= asoc->rwnd) && (!asoc->ulpq.pd_mode)) { in sctp_eat_data()
6571 /* Spill over rwnd a little bit. Note: While allowed, this spill over in sctp_eat_data()
6576 if ((!chunk->data_accepted) && (!asoc->rwnd || asoc->rwnd_over || in sctp_eat_data()
6577 (datalen > asoc->rwnd + asoc->frag_point))) { in sctp_eat_data()
6590 pr_debug("%s: discard tsn:%u len:%zu, rwnd:%d\n", in sctp_eat_data()
6591 __func__, tsn, datalen, asoc->rwnd); in sctp_eat_data()
6689 * chunk needs the updated rwnd. in sctp_eat_data()
H A Dsm_sideeffect.c205 asoc->a_rwnd = asoc->rwnd; in sctp_gen_sack()
1700 sackh.a_rwnd = htonl(asoc->peer.rwnd + in sctp_cmd_interpreter()
H A Dsocket.c2173 * rwnd by that amount. If all the data in the skb is read, in sctp_recvmsg()
2174 * rwnd is updated when the event is freed. in sctp_recvmsg()
2194 * rwnd. in sctp_recvmsg()
3478 * invoked to help free up rwnd space for the peer. Setting this to a
3496 * it to be, also initial rwnd is based on rcvbuf/2. in sctp_setsockopt_partial_delivery_point()
5254 info->sctpi_peer_rwnd = asoc->peer.rwnd; in sctp_get_sctp_info()
5493 status.sstat_rwnd = asoc->peer.rwnd; in sctp_getsockopt_sctp_status()
5520 pr_debug("%s: len:%d, state:%d, rwnd:%d, assoc_id:%d\n", in sctp_getsockopt_sctp_status()
6679 assocparams.sasoc_peer_rwnd = asoc->peer.rwnd; in sctp_getsockopt_associnfo()
H A Dulpqueue.c1018 /* Partial deliver the first message as there is pressure on rwnd. */
H A Dprotocol.c1369 /* Set the default rwnd update threshold */ in sctp_defaults_init()
/linux/include/net/
H A Dtcp.h2976 int rwnd; in tcp_rwnd_init_bpf() local
2978 rwnd = tcp_call_bpf(sk, BPF_SOCK_OPS_RWND_INIT, 0, NULL); in tcp_rwnd_init_bpf()
2980 if (rwnd < 0) in tcp_rwnd_init_bpf()
2981 rwnd = 0; in tcp_rwnd_init_bpf()
2982 return rwnd; in tcp_rwnd_init_bpf()
/linux/net/ipv4/
H A Dtcp_input.c1241 /* Dubious DSACK: DSACKed range greater than maximum advertised rwnd */ in tcp_dsack_seen()