|
Lines 1318-1328
Link Here
|
| 1318 |
if (info->tcpi_snd_ssthresh < 0xFFFF) |
1318 |
if (info->tcpi_snd_ssthresh < 0xFFFF) |
| 1319 |
printf(" ssthresh:%d", info->tcpi_snd_ssthresh); |
1319 |
printf(" ssthresh:%d", info->tcpi_snd_ssthresh); |
| 1320 |
|
1320 |
|
| 1321 |
if (info->tcpi_rcv_rtt) |
1321 |
// if (info->tcpi_rcv_rtt) |
| 1322 |
printf(" rcv_rtt:%g", (double) info->tcpi_rcv_rtt/1000); |
1322 |
// printf(" rcv_rtt:%g", (double) info->tcpi_rcv_rtt/1000); |
| 1323 |
if (info->tcpi_rcv_space) |
1323 |
// if (info->tcpi_rcv_space) |
| 1324 |
printf(" rcv_space:%d", info->tcpi_rcv_space); |
1324 |
// printf(" rcv_space:%d", info->tcpi_rcv_space); |
| 1325 |
|
1325 |
|
|
|
1326 |
#ifdef TCPDIAG_VEGASINFO |
| 1326 |
if (tb[TCPDIAG_VEGASINFO]) { |
1327 |
if (tb[TCPDIAG_VEGASINFO]) { |
| 1327 |
const struct tcpvegas_info *vinfo |
1328 |
const struct tcpvegas_info *vinfo |
| 1328 |
= RTA_DATA(tb[TCPDIAG_VEGASINFO]); |
1329 |
= RTA_DATA(tb[TCPDIAG_VEGASINFO]); |
|
Lines 1340-1345
Link Here
|
| 1340 |
8000000. / (double) vinfo->tcpv_rtt); |
1341 |
8000000. / (double) vinfo->tcpv_rtt); |
| 1341 |
} |
1342 |
} |
| 1342 |
} |
1343 |
} |
|
|
1344 |
#endif |
| 1343 |
} |
1345 |
} |
| 1344 |
} |
1346 |
} |
| 1345 |
|
1347 |
|