Home
last modified time | relevance | path

Searched refs:tcp_rwnd (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/stand/lib/tcp/
H A Dtcp.c231 uint32_t rwnd = (tcp)->tcp_rwnd; \
1354 tcp->tcp_rwnd = MAX(MSS_ROUNDUP(tcp->tcp_rwnd, mss), in tcp_connect()
1356 tcp->tcp_rwnd_max = tcp->tcp_rwnd; in tcp_connect()
1358 U32_TO_ABE16((tcp->tcp_rwnd >> tcp->tcp_rcv_ws), in tcp_connect()
1544 acceptor->tcp_rwnd = MSS_ROUNDUP( in tcp_accept_comm()
1545 (acceptor->tcp_rwnd == 0 ? listener->tcp_rwnd_max : in tcp_accept_comm()
1546 acceptor->tcp_rwnd), acceptor->tcp_mss); in tcp_accept_comm()
1555 (void) tcp_rwnd_set(acceptor, acceptor->tcp_rwnd); in tcp_accept_comm()
1962 old_max_rwnd = tcp->tcp_rwnd; in tcp_rwnd_set()
1998 tcp->tcp_rwnd = old_max_rwnd = rwnd; in tcp_rwnd_set()
[all …]
H A Dtcp_inet.h121 uint32_t tcp_rwnd; /* Current receive window */ member
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_socket.c126 connp->conn_rcvbuf == connp->conn_tcp->tcp_rwnd); in tcp_activate()
640 tcp->tcp_rwnd = connp->conn_rcvbuf; in tcp_clr_flowctrl()
952 if (eager->tcp_rcv_cnt > eager->tcp_rwnd) in tcp_fallback_eager()
953 eager->tcp_rwnd = 0; in tcp_fallback_eager()
955 eager->tcp_rwnd -= eager->tcp_rcv_cnt; in tcp_fallback_eager()
H A Dtcp.c457 uint32_t rwnd = tcp->tcp_rwnd; in tcp_set_ws_value()
669 tcp->tcp_rwnd = MIN(uinfo.iulp_rpipe, in tcp_set_destination()
2064 tcp->tcp_rwnd = connp->conn_rcvbuf; in tcp_reinit()
2180 DONTCARE(tcp->tcp_rwnd); /* Set in tcp_reinit() */ in tcp_reinit_values()
2475 tcp->tcp_rwnd = connp->conn_rcvbuf; in tcp_init_values()
3021 htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws); in tcp_rwnd_set()
3037 old_max_rwnd = tcp->tcp_rwnd; in tcp_rwnd_set()
3068 tcp->tcp_rwnd = old_max_rwnd = rwnd; in tcp_rwnd_set()
3091 tcp->tcp_rwnd += rwnd - old_max_rwnd; in tcp_rwnd_set()
3097 htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws); in tcp_rwnd_set()
[all …]
H A Dtcp_input.c1714 eager->tcp_rwnd = 0; in tcp_input_listener()
1812 eager->tcp_rwnd = MSS_ROUNDUP( in tcp_input_listener()
1813 (eager->tcp_rwnd == 0 ? econnp->conn_rcvbuf : in tcp_input_listener()
1814 eager->tcp_rwnd), eager->tcp_mss); in tcp_input_listener()
1823 (void) tcp_rwnd_set(eager, eager->tcp_rwnd); in tcp_input_listener()
1826 eager->tcp_connp->conn_rcvbuf == eager->tcp_rwnd); in tcp_input_listener()
1829 econnp->conn_rcvbuf == eager->tcp_rwnd); in tcp_input_listener()
2206 tcp->tcp_rwnd -= seg_len; in tcp_rcv_enqueue()
2281 htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws); in tcp_ack_mp()
3118 rgap = tcp->tcp_rwnd - (gap + seg_len); in tcp_input_data()
[all …]
H A Dtcp_fusion.c621 peer_tcp->tcp_rwnd += recv_size; in tcp_fuse_output()
808 tcp->tcp_rwnd = tcp->tcp_connp->conn_rcvbuf; in tcp_fuse_rcv_drain()
852 tcp->tcp_rwnd = rwnd; in tcp_fuse_set_rcv_hiwat()
H A Dtcp_time_wait.c637 rgap = tcp->tcp_rwnd - (gap + seg_len); in tcp_time_wait_processing()
H A Dtcp_output.c517 tcp->tcp_tcpha->tha_win = htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws); in tcp_wput_data()
1296 tcpha->tha_win = htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws); in tcp_output()
2452 tcpha->tha_win = htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws); in tcp_xmit_ctl()
3180 tcp->tcp_tcpha->tha_win = htons(tcp->tcp_rwnd >> tcp->tcp_rcv_ws); in tcp_xmit_mp()
H A Dtcp_opt_data.c748 MIN(tcp->tcp_rwnd, val * tcp->tcp_mss); in tcp_opt_set()
H A Dtcp_stats.c131 tcei->ce_rwnd = tcp->tcp_rwnd; in tcp_set_conninfo()
H A Dtcp_tpi.c1166 tcp->tcp_rwnd = connp->conn_rcvbuf; in tcp_accept_finish()
/illumos-gate/usr/src/uts/common/inet/
H A Dtcp.h178 uint32_t tcp_rwnd; member
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dtcp.d.in240 tcps_rwnd = T ? T->tcp_rwnd : 0;
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dnet.c588 tcp->tcp_swnd, tcp->tcp_snxt, tcp->tcp_suna, tcp->tcp_rwnd, in netstat_tcp_verbose_pr()