Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 69434
b: refs/heads/master
c: d603d0a
h: refs/heads/master
v: v3
  • Loading branch information
Jean Delvare authored and David S. Miller committed Oct 15, 2007
1 parent 276484a commit 4d29a9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9d6dda32c7570bbf189cf74fbc36338d0a94e999
refs/heads/master: d603d0ab863245050025a79a1f14ff84f2222f09
5 changes: 3 additions & 2 deletions trunk/Documentation/networking/proc_net_tcp.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
This document describes the interfaces /proc/net/tcp and /proc/net/tcp6.
Note that these interfaces are deprecated in favor of tcp_diag.

These /proc interfaces provide information about currently active TCP
connections, and are implemented by tcp_get_info() in net/ipv4/tcp_ipv4.c and
tcp6_get_info() in net/ipv6/tcp_ipv6.c, respectively.
connections, and are implemented by tcp4_seq_show() in net/ipv4/tcp_ipv4.c
and tcp6_seq_show() in net/ipv6/tcp_ipv6.c, respectively.

It will first list all listening TCP sockets, and next list all established
TCP connections. A typical entry of /proc/net/tcp would look like this (split
Expand Down

0 comments on commit 4d29a9c

Please sign in to comment.