Home | History | Annotate | Download | only in misc

Lines Matching refs:tcp

37 #include <linux/tcp.h>
111 static const char *TCP_PROTO = "tcp";
312 return generic_proc_open("PROC_NET_TCP", "net/tcp");
1604 return "tcp";
2414 /* Sigh... We have to parse /proc/net/tcp... */
3480 else if (strcmp(id, "TCP:") == 0)
3515 if (get_snmp_int("Tcp:", "CurrEstab", &sn.tcp_estab) < 0)
3522 printf("TCP: %d (estab %d, closed %d, orphaned %d, synrecv %d, timewait %d/%d), ports %d\n",
3537 printf("TCP %-9d %-9d %-9d\n", s.tcp4_hashed+s.tcp6_hashed, s.tcp4_hashed, s.tcp6_hashed);
3565 " -i, --info show internal TCP information\n"
3576 " -t, --tcp display only TCP sockets\n"
3586 " QUERY := {all|inet|tcp|udp|raw|unix|unix_dgram|unix_stream|unix_seqpacket|packet|netlink}[,QUERY]\n"
3588 " -D, --diag=FILE Dump raw information about TCP sockets to FILE\n"
3591 " STATE-FILTER := {all|connected|synchronized|bucket|big|TCP-STATES}\n"
3592 " TCP-STATES := {established|syn-sent|syn-recv|fin-wait-{1,2}|time-wait|closed|close-wait|last-ack|listen|closing}\n"
3655 { "tcp", 0, 0, 't' },
3797 } else if (strcmp(p, "tcp") == 0) {
3940 fprintf(stderr, "ss: tcpdiag dump requested and no tcp in filter.\n");