Lines Matching refs:irp
95 save_tcpinfo(struct iperf_stream *sp, struct iperf_interval_results *irp) in save_tcpinfo() argument
101 if (getsockopt(sp->socket, IPPROTO_TCP, TCP_INFO, (void *)&irp->tcpInfo, &tcp_info_length) < 0) in save_tcpinfo()
106 irp->tcpInfo.tcpi_snd_cwnd, irp->tcpInfo.tcpi_snd_mss, in save_tcpinfo()
107 irp->tcpInfo.tcpi_rtt); in save_tcpinfo()
115 get_total_retransmits(struct iperf_interval_results *irp) in get_total_retransmits() argument
118 return irp->tcpInfo.tcpi_total_retrans; in get_total_retransmits()
120 return irp->tcpInfo.tcpi_snd_rexmitpack; in get_total_retransmits()
122 return irp->tcpInfo.tcpi_snd_rexmitpack; in get_total_retransmits()
133 get_snd_cwnd(struct iperf_interval_results *irp) in get_snd_cwnd() argument
136 return irp->tcpInfo.tcpi_snd_cwnd * irp->tcpInfo.tcpi_snd_mss; in get_snd_cwnd()
138 return irp->tcpInfo.tcpi_snd_cwnd; in get_snd_cwnd()
140 return irp->tcpInfo.tcpi_snd_cwnd * irp->tcpInfo.tcpi_snd_mss; in get_snd_cwnd()
151 get_rtt(struct iperf_interval_results *irp) in get_rtt() argument
154 return irp->tcpInfo.tcpi_rtt; in get_rtt()
156 return irp->tcpInfo.tcpi_rtt; in get_rtt()
158 return irp->tcpInfo.tcpi_rtt; in get_rtt()
169 get_rttvar(struct iperf_interval_results *irp) in get_rttvar() argument
172 return irp->tcpInfo.tcpi_rttvar; in get_rttvar()
174 return irp->tcpInfo.tcpi_rttvar; in get_rttvar()
176 return irp->tcpInfo.tcpi_rttvar; in get_rttvar()
187 get_pmtu(struct iperf_interval_results *irp) in get_pmtu() argument
190 return irp->tcpInfo.tcpi_pmtu; in get_pmtu()