Home | History | Annotate | Download | only in misc

Lines Matching full:info

1284 		struct tcp_info *info;
1288 if (len < sizeof(*info)) {
1289 info = alloca(sizeof(*info));
1290 memset(info, 0, sizeof(*info));
1291 memcpy(info, RTA_DATA(tb[INET_DIAG_INFO]), len);
1293 info = RTA_DATA(tb[INET_DIAG_INFO]);
1296 if (info->tcpi_options & TCPI_OPT_TIMESTAMPS)
1298 if (info->tcpi_options & TCPI_OPT_SACK)
1300 if (info->tcpi_options & TCPI_OPT_ECN)
1307 if (info->tcpi_options & TCPI_OPT_WSCALE)
1308 printf(" wscale:%d,%d", info->tcpi_snd_wscale,
1309 info->tcpi_rcv_wscale);
1310 if (info->tcpi_rto && info->tcpi_rto != 3000000)
1311 printf(" rto:%g", (double)info->tcpi_rto/1000);
1312 if (info->tcpi_rtt)
1313 printf(" rtt:%g/%g", (double)info->tcpi_rtt/1000,
1314 (double)info->tcpi_rttvar/1000);
1315 if (info->tcpi_ato)
1316 printf(" ato:%g", (double)info->tcpi_ato/1000);
1317 if (info->tcpi_snd_cwnd != 2)
1318 printf(" cwnd:%d", info->tcpi_snd_cwnd);
1319 if (info->tcpi_snd_ssthresh < 0xFFFF)
1320 printf(" ssthresh:%d", info->tcpi_snd_ssthresh);
1322 rtt = (double) info->tcpi_rtt;
1332 if (rtt > 0 && info->tcpi_snd_mss && info->tcpi_snd_cwnd) {
1334 sprint_bw(b1, (double) info->tcpi_snd_cwnd *
1335 (double) info->tcpi_snd_mss * 8000000.
1339 if (info->tcpi_rcv_rtt)
1340 printf(" rcv_rtt:%g", (double) info->tcpi_rcv_rtt/1000);
1341 if (info->tcpi_rcv_space)
1342 printf(" rcv_space:%d", info->tcpi_rcv_space);
2349 " -i, --info show internal TCP information\n"
2418 { "info", 0, 0, 'i' },