nuttx/net/procfs
chao an 7190e56a14 net/procfs: add tcp profs support
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>
2022-09-09 19:33:46 +08:00
..
Kconfig
Make.defs net/procfs: add tcp profs support 2022-09-09 19:33:46 +08:00
net_mld.c
net_procfs_route.c Replace all strncpy with strlcpy for safety 2022-08-25 13:38:36 +08:00
net_procfs.c net/procfs: add tcp profs support 2022-09-09 19:33:46 +08:00
net_statistics.c
net_tcp.c net/procfs: add tcp profs support 2022-09-09 19:33:46 +08:00
netdev_statistics.c Net thread-safe ntoa functions 2022-08-02 21:04:19 +08:00
procfs.h net/procfs: add tcp profs support 2022-09-09 19:33:46 +08:00