7190e56a14
add proc node /proc/net/tcp to show the active tcp connections from procfs nuttx style: server> cat /proc/net/tcp TCP sl st flg ref tmr uack nrt rxsz local_address remote_address 1: 04 61 1 12 0 0 1024 0.0.0.0:4855 192.168.31.22:5001 2: 04 61 1 12 0 0 1024 0.0.0.0:4856 192.168.31.22:5001 3: 04 61 1 9 0 0 0 :::4853 fe80::b27b:25ff:fe28:4011:8789 4: 04 61 1 3 3 0 0 :::4854 fe80::b27b:25ff:fe28:4011:8789 linux kernel: https://www.kernel.org/doc/Documentation/networking/proc_net_tcp.txt Signed-off-by: chao an <anchao@xiaomi.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Make.defs | ||
net_mld.c | ||
net_procfs_route.c | ||
net_procfs.c | ||
net_statistics.c | ||
net_tcp.c | ||
netdev_statistics.c | ||
procfs.h |