Alin Jerpelea
67d02a45eb
net: migrate to SPDX identifier
...
Most tools used for compliance and SBOM generation use SPDX identifiers
This change brings us a step closer to an easy SBOM generation.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2024-09-12 01:08:11 +08:00
chao an
f286012c0d
net/procfs: disable tcp/udp proc node if no stack available
...
Signed-off-by: chao an <anchao@xiaomi.com>
2022-09-19 15:45:19 +08:00
chao an
d10cd8d585
net/procfs: add udp profs support
...
add proc node /proc/net/udp to show the active udp connections from procfs
nuttx style:
server> cat /proc/net/udp
UDP sl local_address remote_address flg txsz rxsz (IPv4)
1: 0.0.0.0: 5285 192.168.31.22: 7779 9 0 1041
2: 0.0.0.0: 5286 192.168.31.22: 7779 9 0 1041
3: 0.0.0.0: 5287 192.168.31.22: 7779 9 0 1041
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
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
chao an
4068b2eccc
net/procfs: add entry mapping table
...
add entry mapping table to simplify new component registration
Signed-off-by: chao an <anchao@xiaomi.com>
2022-09-08 09:03:34 +08:00
Alin Jerpelea
37d5c1b0d9
net: Author Gregory Nutt: update licenses to Apache
...
Gregory Nutt has submitted the SGA and we can migrate the licenses
to Apache.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2021-02-20 00:38:18 -08:00
Gregory Nutt
f58e7976df
net/procfs: Add support to provide MLD stats at /proc/net/mld. net/mld: Fix a couple more bugs found in further MLD testing.
2018-11-06 10:42:53 -06:00
Gregory Nutt
e2c442cdcb
net/procfs: Fix a design REVISIT from the integration the IFINDEX logic and the existing ifconfig/procfs logic.
2018-06-25 17:42:56 -06:00
Gregory Nutt
65698da12d
procfs: Add support for routing tables.
2017-08-11 15:33:58 -06:00
Masayuki Ishikawa
0260891c96
net procfs: Fix buffer corruption and refactor netdev_statistics.c
...
Signed-off-by: Masayuki Ishikawa <masayuki.ishikawa@gmail.com>
2017-05-19 06:09:06 +09:00
Gregory Nutt
795ddd7e80
OS modules: Add basic procfs support. A module registry that will eventually be used to support lsmod
2015-12-12 17:42:25 -06:00
Gregory Nutt
eb8668b0f7
net/: Add procfs support for network device status
2015-11-27 16:39:14 -06:00
Gregory Nutt
9d8462aa23
net/: Move net_procfs.c to net/procfs/. Partition logic a little better to make space to support net device procfs as well
2015-11-27 13:53:33 -06:00