Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/sctp/
H A Dassociola.c160 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()
1449 if ((asoc->rwnd > asoc->a_rwnd) && in sctp_peer_needs_update()
1450 ((asoc->rwnd - asoc->a_rwnd) >= max_t(__u32, in sctp_peer_needs_update()
1461 /* Increase asoc's rwnd by len and send any window update SACK if needed. */
1471 asoc->rwnd in sctp_assoc_rwnd_increase()
[all...]
H A Doutput.c277 asoc->a_rwnd = asoc->rwnd; in sctp_packet_bundle_sack()
651 size_t datasize, rwnd, inflight, flight_size; in sctp_packet_can_append_data() local
659 * any destination transport address if its peer's rwnd indicates in sctp_packet_can_append_data()
660 * that the peer has no buffer space (i.e. rwnd is 0, see Section in sctp_packet_can_append_data()
661 * 6.2.1). However, regardless of the value of rwnd (including if it in sctp_packet_can_append_data()
664 * allows the sender to probe for a change in rwnd that the sender in sctp_packet_can_append_data()
669 rwnd = asoc->peer.rwnd; in sctp_packet_can_append_data()
675 if (datasize > rwnd && inflight > 0) in sctp_packet_can_append_data()
738 u32 rwnd in sctp_packet_append_data() local
[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()
1359 /* ii) Set rwnd equal to the newly received a_rwnd minus the in sctp_outq_sack()
1373 asoc->peer.rwnd = sack_a_rwnd; in sctp_outq_sack()
1646 if (!q->asoc->peer.rwnd && in sctp_check_transmitted()
H A Dsm_sideeffect.c205 asoc->a_rwnd = asoc->rwnd; in sctp_gen_sack()
1684 sackh.a_rwnd = htonl(asoc->peer.rwnd + in sctp_cmd_interpreter()
H A Dsm_statefuns.c1410 new_asoc->rwnd = asoc->rwnd; in sctp_tietags_populate()
3305 * ii) Set rwnd equal to the newly received a_rwnd minus the number
5693 * We are here likely because the receiver had its rwnd in sctp_sf_do_6_3_3_rtx()
6442 if ((datalen >= asoc->rwnd) && (!asoc->ulpq.pd_mode)) { in sctp_eat_data()
6450 /* Spill over rwnd a little bit. Note: While allowed, this spill over in sctp_eat_data()
6455 if ((!chunk->data_accepted) && (!asoc->rwnd || asoc->rwnd_over || in sctp_eat_data()
6456 (datalen > asoc->rwnd + asoc->frag_point))) { in sctp_eat_data()
6469 pr_debug("%s: discard tsn:%u len:%zu, rwnd:%d\n", in sctp_eat_data()
6470 __func__, tsn, datalen, asoc->rwnd); in sctp_eat_data()
[all...]
H A Dsm_make_chunk.c236 init.a_rwnd = htonl(asoc->rwnd); in sctp_make_init()
403 initack.a_rwnd = htonl(asoc->rwnd); in sctp_make_init_ack()
2422 /* Peer Rwnd : Current calculated value of the peer's rwnd. */ in sctp_process_init()
2423 asoc->peer.rwnd = asoc->peer.i.a_rwnd; in sctp_process_init()
H A Dsocket.c2168 * rwnd by that amount. If all the data in the skb is read, in sctp_recvmsg()
2169 * rwnd is updated when the event is freed. in sctp_recvmsg()
2189 * rwnd. in sctp_recvmsg()
3472 * invoked to help free up rwnd space for the peer. Setting this to a
3490 * it to be, also initial rwnd is based on rcvbuf/2. in sctp_setsockopt_partial_delivery_point()
5085 info->sctpi_peer_rwnd = asoc->peer.rwnd; in sctp_get_sctp_info()
5315 status.sstat_rwnd = asoc->peer.rwnd; in sctp_getsockopt_sctp_status()
5342 pr_debug("%s: len:%d, state:%d, rwnd:%d, assoc_id:%d\n", in sctp_getsockopt_sctp_status()
6507 assocparams.sasoc_peer_rwnd = asoc->peer.rwnd; in sctp_getsockopt_associnfo()
/kernel/linux/linux-6.6/net/sctp/
H A Dassociola.c163 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()
1457 if ((asoc->rwnd > asoc->a_rwnd) && in sctp_peer_needs_update()
1458 ((asoc->rwnd - asoc->a_rwnd) >= max_t(__u32, in sctp_peer_needs_update()
1469 /* Increase asoc's rwnd by len and send any window update SACK if needed. */
1479 asoc->rwnd 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 in sctp_packet_append_data() local
[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()
1672 if (!q->asoc->peer.rwnd && in sctp_check_transmitted()
H A Dsm_sideeffect.c205 asoc->a_rwnd = asoc->rwnd; in sctp_gen_sack()
1694 sackh.a_rwnd = htonl(asoc->peer.rwnd + in sctp_cmd_interpreter()
H A Dsm_statefuns.c1459 new_asoc->rwnd = asoc->rwnd; in sctp_tietags_populate()
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 in sctp_sf_do_6_3_3_rtx()
6544 if ((datalen >= asoc->rwnd) && (!asoc->ulpq.pd_mode)) { in sctp_eat_data()
6552 /* Spill over rwnd a little bit. Note: While allowed, this spill over in sctp_eat_data()
6557 if ((!chunk->data_accepted) && (!asoc->rwnd || asoc->rwnd_over || in sctp_eat_data()
6558 (datalen > asoc->rwnd + asoc->frag_point))) { in sctp_eat_data()
6571 pr_debug("%s: discard tsn:%u len:%zu, rwnd:%d\n", in sctp_eat_data()
6572 __func__, tsn, datalen, asoc->rwnd); in sctp_eat_data()
[all...]
H A Dsm_make_chunk.c236 init.a_rwnd = htonl(asoc->rwnd); in sctp_make_init()
403 initack.a_rwnd = htonl(asoc->rwnd); in sctp_make_init_ack()
2468 /* Peer Rwnd : Current calculated value of the peer's rwnd. */ in sctp_process_init()
2469 asoc->peer.rwnd = asoc->peer.i.a_rwnd; in sctp_process_init()
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()
5200 info->sctpi_peer_rwnd = asoc->peer.rwnd; in sctp_get_sctp_info()
5439 status.sstat_rwnd = asoc->peer.rwnd; in sctp_getsockopt_sctp_status()
5466 pr_debug("%s: len:%d, state:%d, rwnd:%d, assoc_id:%d\n", in sctp_getsockopt_sctp_status()
6631 assocparams.sasoc_peer_rwnd = asoc->peer.rwnd; in sctp_getsockopt_associnfo()
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-6.6/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,
/kernel/linux/linux-5.10/include/net/
H A Dtcp.h2365 int rwnd; in tcp_rwnd_init_bpf() local
2367 rwnd = tcp_call_bpf(sk, BPF_SOCK_OPS_RWND_INIT, 0, NULL); in tcp_rwnd_init_bpf()
2369 if (rwnd < 0) in tcp_rwnd_init_bpf()
2370 rwnd = 0; in tcp_rwnd_init_bpf()
2371 return rwnd; in tcp_rwnd_init_bpf()
/kernel/linux/linux-6.6/include/net/
H A Dtcp.h2487 int rwnd; in tcp_rwnd_init_bpf() local
2489 rwnd = tcp_call_bpf(sk, BPF_SOCK_OPS_RWND_INIT, 0, NULL); in tcp_rwnd_init_bpf()
2491 if (rwnd < 0) in tcp_rwnd_init_bpf()
2492 rwnd = 0; in tcp_rwnd_init_bpf()
2493 return rwnd; in tcp_rwnd_init_bpf()
/kernel/linux/linux-5.10/include/net/sctp/
H A Dstructs.h1591 /* rwnd
1593 * Peer Rwnd : Current calculated value of the peer's rwnd.
1595 __u32 rwnd; member
1875 __u32 rwnd; member
1877 /* This is the last advertised value of rwnd over a SACK chunk. */
1880 /* Number of bytes by which the rwnd has slopped. The rwnd is allowed
1885 /* Keeps treack of rwnd pressure. This happens when we have
/kernel/linux/linux-6.6/include/net/sctp/
H A Dstructs.h1615 /* rwnd
1617 * Peer Rwnd : Current calculated value of the peer's rwnd.
1619 __u32 rwnd; member
1901 __u32 rwnd; member
1903 /* This is the last advertised value of rwnd over a SACK chunk. */
1906 /* Number of bytes by which the rwnd has slopped. The rwnd is allowed
1911 /* Keeps treack of rwnd pressure. This happens when we have

Completed in 74 milliseconds