Searched refs:rwnd (Results 1 – 10 of 10) 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() 1107 asoc->peer.rwnd = new->peer.rwnd; in sctp_assoc_update() 1455 if ((asoc->rwnd > asoc->a_rwnd) && in sctp_peer_needs_update() 1456 ((asoc->rwnd - asoc->a_rwnd) >= max_t(__u32, in sctp_peer_needs_update() 1477 asoc->rwnd += (len - asoc->rwnd_over); in sctp_assoc_rwnd_increase() 1481 asoc->rwnd += len; in sctp_assoc_rwnd_increase() 1491 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() 681 size_t datasize, rwnd, inflight, flight_size; in sctp_packet_can_append_data() local 699 rwnd = asoc->peer.rwnd; in sctp_packet_can_append_data() 705 if (datasize > rwnd && inflight > 0) in sctp_packet_can_append_data() 768 u32 rwnd = asoc->peer.rwnd; in sctp_packet_append_data() local 777 if (datasize < rwnd) in sctp_packet_append_data() 778 rwnd -= datasize; in sctp_packet_append_data() 780 rwnd = 0; in sctp_packet_append_data() 782 asoc->peer.rwnd = rwnd; in sctp_packet_append_data()
|
| H A D | outqueue.c | 480 q->asoc->peer.rwnd += sctp_data_size(chunk); in sctp_retransmit_mark() 498 * chunks to the rwnd. in sctp_retransmit_mark() 500 q->asoc->peer.rwnd += sctp_data_size(chunk); in sctp_retransmit_mark() 1389 /* ii) Set rwnd equal to the newly received a_rwnd minus the in sctp_outq_sack() 1403 asoc->peer.rwnd = sack_a_rwnd; in sctp_outq_sack() 1675 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() 1702 sackh.a_rwnd = htonl(asoc->peer.rwnd + in sctp_cmd_interpreter()
|
| H A D | sm_statefuns.c | 1480 new_asoc->rwnd = asoc->rwnd; in sctp_tietags_populate() 3428 * ii) Set rwnd equal to the newly received a_rwnd minus the number 5855 * We are here likely because the receiver had its rwnd in sctp_sf_do_6_3_3_rtx() 6613 if ((datalen >= asoc->rwnd) && (!asoc->ulpq.pd_mode)) { in sctp_eat_data() 6621 /* Spill over rwnd a little bit. Note: While allowed, this spill over in sctp_eat_data() 6626 if ((!chunk->data_accepted) && (!asoc->rwnd || asoc->rwnd_over || in sctp_eat_data() 6627 (datalen > asoc->rwnd + asoc->frag_point))) { in sctp_eat_data() 6640 pr_debug("%s: discard tsn:%u len:%zu, rwnd:%d\n", in sctp_eat_data() 6641 __func__, tsn, datalen, asoc->rwnd); in sctp_eat_data() [all...] |
| H A D | sm_make_chunk.c | 236 init.a_rwnd = htonl(asoc->rwnd); in sctp_make_init() 403 initack.a_rwnd = htonl(asoc->rwnd); in sctp_make_init_ack() 2479 /* Peer Rwnd : Current calculated value of the peer's rwnd. */ in sctp_process_init() 2480 asoc->peer.rwnd = asoc->peer.i.a_rwnd; in sctp_process_init()
|
| H A D | socket.c | 2237 * rwnd by that amount. If all the data in the skb is read, in sctp_setsockopt_events() 2238 * rwnd is updated when the event is freed. in sctp_setsockopt_events() 2258 * rwnd. in sctp_setsockopt_events() 3542 * invoked to help free up rwnd space for the peer. Setting this to a in sctp_setsockopt_maxburst() 3560 * it to be, also initial rwnd is based on rcvbuf/2. in sctp_setsockopt_maxburst() 5319 info->sctpi_peer_rwnd = asoc->peer.rwnd; in sctp_get_sctp_info() 5573 status.sstat_rwnd = asoc->peer.rwnd; 5600 pr_debug("%s: len:%d, state:%d, rwnd:%d, assoc_id:%d\n", in sctp_getsockopt_peer_addr_info() 6759 assocparams.sasoc_peer_rwnd = asoc->peer.rwnd; in sctp_getsockopt_mappedv4()
|
| /linux/include/net/ |
| H A D | tcp.h | 3234 int rwnd; 3236 rwnd = tcp_call_bpf(sk, BPF_SOCK_OPS_RWND_INIT); 3237 rwnd = bpf_tcp_ops_call_int(rwnd_init, rwnd, sk); 3238 if (rwnd < 0) 3239 rwnd = 0; 3240 return rwnd; 2975 int rwnd; tcp_rwnd_init_bpf() local
|
| /linux/include/net/sctp/ |
| H A D | structs.h | 1590 __u32 rwnd; member 1872 __u32 rwnd; member
|