Searched refs:rwnd (Results 1 – 9 of 9) sorted by relevance
| /linux/include/trace/events/ |
| H A D | sctp.h | 64 __field(__u32, rwnd) 76 __entry->rwnd = asoc->peer.rwnd; 83 __entry->peer_port, __entry->pathmtu, __entry->rwnd,
|
| /linux/net/sctp/ |
| H A D | associola.c | 164 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() 1462 asoc->rwnd += (len - asoc->rwnd_over); in sctp_assoc_rwnd_increase() 1466 asoc->rwnd += len; in sctp_assoc_rwnd_increase() 1476 asoc->rwnd += change; in sctp_assoc_rwnd_increase() [all …]
|
| H A D | output.c | 303 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 D | outqueue.c | 477 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() 1671 if (!q->asoc->peer.rwnd && in sctp_check_transmitted()
|
| H A D | sm_sideeffect.c | 205 asoc->a_rwnd = asoc->rwnd; in sctp_gen_sack() 1700 sackh.a_rwnd = htonl(asoc->peer.rwnd + in sctp_cmd_interpreter()
|
| H A D | sm_statefuns.c | 1464 new_asoc->rwnd = asoc->rwnd; in sctp_tietags_populate() 3389 * ii) Set rwnd equal to the newly received a_rwnd minus the number 5813 * We are here likely because the receiver had its rwnd in sctp_sf_do_6_3_3_rtx() 6564 if ((datalen >= asoc->rwnd) && (!asoc->ulpq.pd_mode)) { in sctp_eat_data() 6572 /* Spill over rwnd a little bit. Note: While allowed, this spill over in sctp_eat_data() 6577 if ((!chunk->data_accepted) && (!asoc->rwnd || asoc->rwnd_over || in sctp_eat_data() 6578 (datalen > asoc->rwnd + asoc->frag_point))) { in sctp_eat_data() 6591 pr_debug("%s: discard tsn:%u len:%zu, rwnd:%d\n", in sctp_eat_data() 6592 __func__, tsn, datalen, asoc->rwnd); in sctp_eat_data() [all...] |
| H A D | sm_make_chunk.c | 228 init.a_rwnd = htonl(asoc->rwnd); in sctp_make_init() 395 initack.a_rwnd = htonl(asoc->rwnd); in sctp_make_init_ack() 2448 /* Peer Rwnd : Current calculated value of the peer's rwnd. */ in sctp_process_init() 2449 asoc->peer.rwnd = asoc->peer.i.a_rwnd; in sctp_process_init()
|
| H A D | socket.c | 2182 * rwnd by that amount. If all the data in the skb is read, in sctp_recvmsg() 2183 * rwnd is updated when the event is freed. in sctp_recvmsg() 2203 * rwnd. in sctp_recvmsg() 3487 * invoked to help free up rwnd space for the peer. Setting this to a 3505 * it to be, also initial rwnd is based on rcvbuf/2. in sctp_setsockopt_partial_delivery_point() 5263 info->sctpi_peer_rwnd = asoc->peer.rwnd; in sctp_get_sctp_info() 5517 status.sstat_rwnd = asoc->peer.rwnd; in sctp_getsockopt_sctp_status() 5544 pr_debug("%s: len:%d, state:%d, rwnd:%d, assoc_id:%d\n", 6703 assocparams.sasoc_peer_rwnd = asoc->peer.rwnd; in sctp_getsockopt_associnfo()
|
| /linux/include/net/ |
| H A D | tcp.h | 2969 int rwnd; in tcp_timeout_init() 2971 rwnd = tcp_call_bpf(sk, BPF_SOCK_OPS_RWND_INIT, 0, NULL); in tcp_timeout_init() 2973 if (rwnd < 0) in tcp_timeout_init() 2974 rwnd = 0; 2975 return rwnd; in tcp_rwnd_init_bpf() 2977 int rwnd; tcp_rwnd_init_bpf() local
|