zephyr/subsys/net/lib/shell
Jukka Rissanen 8a58104396 net: shell: Add net-sockets command
The new "net sockets" command will utilize the object core
support to track and show information about BSD sockets that
are created in the system. This command is able to show info
for all network sockets (native, offloaded etc) in the system.

Example of the output of the new command:

uart:~$ net sockets
 Creator  Name       Flags  FD   Lifetime (ms) Sent  Received

    main  af_inet46  6ST    0    3260          819   498
    main  af_inet46  4ST    1    2110          469   142
    main  af_inet46  6DU    2    2110          9941  9941
    main  af_inet46  4DU    3    2110          1375  621

4 active sockets found.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2023-10-24 11:11:30 +02:00
..
allocs.c net: shell: Add allocs command 2023-10-23 10:40:28 +02:00
arp.c net: shell: Add arp command 2023-10-23 10:40:28 +02:00
capture.c net: shell: Add capture command 2023-10-23 10:40:28 +02:00
CMakeLists.txt net: shell: Add net-sockets command 2023-10-24 11:11:30 +02:00
common.h net: shell: Allow dynamic interface name expansion 2023-10-23 10:40:28 +02:00
conn.c net: shell: Add conn command 2023-10-23 10:40:28 +02:00
dns.c net: shell: Add dns command 2023-10-23 10:40:28 +02:00
events.c net: shell: Add events command 2023-10-23 10:40:28 +02:00
gptp.c net: shell: Add gptp command 2023-10-23 10:40:28 +02:00
iface_dynamic.h net: shell: Allow dynamic interface name expansion 2023-10-23 10:40:28 +02:00
iface.c net: shell: stats: Use generic iface idx dynamic completion 2023-10-23 10:40:28 +02:00
ipv4.c net: shell: Add ipv4 command 2023-10-23 10:40:28 +02:00
ipv6.c net: shell: Add ipv6 command 2023-10-23 10:40:28 +02:00
mem.c net: shell: Add mem command 2023-10-23 10:40:28 +02:00
nbr.c net: shell: Add nbr command 2023-10-23 10:40:28 +02:00
net_shell.c net: shell: Print v4-mapping-to-v6 address properly 2023-10-23 09:57:22 -05:00
net_shell.h
ping.c net: shell: Fix unexpected timeout on loopback ping 2023-10-24 09:05:20 +02:00
pkt.c net: shell: Add pkt command 2023-10-23 10:40:28 +02:00
ppp.c net: shell: Add ppp command 2023-10-23 10:40:28 +02:00
resume.c net: shell: fix compilation errors 2023-10-23 14:20:23 +01:00
route.c net: shell: Add route command 2023-10-23 10:40:28 +02:00
sockets.c net: shell: Add net-sockets command 2023-10-24 11:11:30 +02:00
stats.c net: shell: stats: Use generic iface idx dynamic completion 2023-10-23 10:40:28 +02:00
suspend.c net: shell: fix compilation errors 2023-10-23 14:20:23 +01:00
tcp.c net: shell: Fix TCP connect behavior 2023-10-23 16:08:37 +02:00
udp.c net: shell: Add udp command 2023-10-23 10:40:28 +02:00
virtual.c net: shell: Add virtual command 2023-10-23 10:40:28 +02:00
vlan.c net: shell: vlan: Enforce arg count via shell macro 2023-10-23 10:40:28 +02:00
websocket.c net: shell: Add websocket command 2023-10-23 10:40:28 +02:00