Home
last modified time | relevance | path

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

/linux/include/trace/events/
H A Dsctp.h64 __field(__u32, rwnd)
76 __entry->rwnd = asoc->peer.rwnd;
83 __entry->peer_port, __entry->pathmtu, __entry->rwnd,
/linux/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()
1479 asoc->rwnd += (len - asoc->rwnd_over); in sctp_assoc_rwnd_increase()
1483 asoc->rwnd += len; in sctp_assoc_rwnd_increase()
1493 asoc->rwnd += change; 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
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
771 if (datasize < rwnd) in sctp_packet_append_data()
772 rwnd -= datasize; in sctp_packet_append_data()
774 rwnd = 0; in sctp_packet_append_data()
776 asoc->peer.rwnd = rwnd; in sctp_packet_append_data()
H A Doutqueue.c477 q->asoc->peer.rwnd += sctp_data_size(chunk); in sctp_retransmit_mark()
497 q->asoc->peer.rwnd += sctp_data_size(chunk); in sctp_retransmit_mark()
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.c1460 new_asoc->rwnd = asoc->rwnd; in sctp_tietags_populate()
6555 if ((datalen >= asoc->rwnd) && (!asoc->ulpq.pd_mode)) { in sctp_eat_data()
6568 if ((!chunk->data_accepted) && (!asoc->rwnd || asoc->rwnd_over || in sctp_eat_data()
6569 (datalen > asoc->rwnd + asoc->frag_point))) { in sctp_eat_data()
6583 __func__, tsn, datalen, asoc->rwnd); in sctp_eat_data()
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()
2469 asoc->peer.rwnd = asoc->peer.i.a_rwnd; in sctp_process_init()
H A Dsocket.c5206 info->sctpi_peer_rwnd = asoc->peer.rwnd; in sctp_get_sctp_info()
5445 status.sstat_rwnd = asoc->peer.rwnd; in sctp_getsockopt_sctp_status()
6637 assocparams.sasoc_peer_rwnd = asoc->peer.rwnd; in sctp_getsockopt_associnfo()
/linux/include/net/
H A Dtcp.h2715 int rwnd; in tcp_rwnd_init_bpf() local
2717 rwnd = tcp_call_bpf(sk, BPF_SOCK_OPS_RWND_INIT, 0, NULL); in tcp_rwnd_init_bpf()
2719 if (rwnd < 0) in tcp_rwnd_init_bpf()
2720 rwnd = 0; in tcp_rwnd_init_bpf()
2721 return rwnd; in tcp_rwnd_init_bpf()
/linux/include/net/sctp/
H A Dstructs.h1616 __u32 rwnd; member
1898 __u32 rwnd; member