New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network socket info using objcore #63339
Merged
carlescufi
merged 2 commits into
zephyrproject-rtos:main
from
jukkar:obj-core-for-sockets
Oct 24, 2023
Merged
Network socket info using objcore #63339
carlescufi
merged 2 commits into
zephyrproject-rtos:main
from
jukkar:obj-core-for-sockets
Oct 24, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This looks great so far! |
jukkar
force-pushed
the
obj-core-for-sockets
branch
from
October 23, 2023 11:53
fb9e5c5
to
4275deb
Compare
jukkar
force-pushed
the
obj-core-for-sockets
branch
from
October 23, 2023 12:41
4275deb
to
f405364
Compare
rlubos
reviewed
Oct 23, 2023
Use the generic object core support to track network sockets and their statistics. Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
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>
jukkar
force-pushed
the
obj-core-for-sockets
branch
from
October 23, 2023 14:55
f405364
to
f73258c
Compare
peter-mitsis
approved these changes
Oct 23, 2023
rlubos
approved these changes
Oct 24, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Experimenting with object core API to get information about network sockets and show the info in net-shell.