No description
Find a file
Paul Sokolovsky 52e3e5c68d net: shell: conn: Dump local/remote ports for contexts.
Without port numbers, information printed by net shell's "conn" command
is unclear and non-differentiating. Also, improve handling of unknown
address families - don't abort early, still pring context address, iface
address, etc.

Example of "conn" output with these changes from echo_server sample:

net> conn
     Context   	Iface         Flags Local           	Remote
[ 1] 0x001126e0	0x001121a0    6DU   [::]:4242	[::]:0
[ 2] 0x00112738	0x001121a0    4DU   0.0.0.0:4242	0.0.0.0:0
[ 3] 0x00112790	0x001121a0    6ST   [::]:4242	[::]:0
[ 4] 0x001127e8	0x001121a0    4ST   0.0.0.0:4242	0.0.0.0:0

TCP        Src port  Dst port   Send-Seq   Send-Ack  MSS    State
0x00112b00     4242         0  497073352          0  1280
0x00112b98     4242         0  497543793          0  1460

Change-Id: I2f03efd933979b5571f608c28a7a7a4bd7f5346a
Signed-off-by: Paul Sokolovsky <paul.sokolovsky@linaro.org>
2017-04-21 14:19:49 +03:00
.known-issues net: dns: Remove dns_client API and sample application 2017-04-13 15:21:45 +03:00
arch Introduce new sized integer typedefs 2017-04-20 16:07:08 +00:00
boards xtensa port: Added documentation for xt-sim board. 2017-04-20 21:07:15 +00:00
doc kernel: remove legacy kernel support 2017-04-19 15:48:37 +00:00
drivers Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
dts arm: dts: Add DTS support for NRF52832 SoC 2017-04-14 05:56:54 -05:00
ext ext: tinycrypt: update README to reflect correct version and hash 2017-04-20 12:30:42 +00:00
include Bluetooth: convert to using newly introduced integer sized types 2017-04-20 13:25:23 -05:00
kernel Introduce new sized integer typedefs 2017-04-20 16:07:08 +00:00
lib lib: convert to using newly introduced integer sized types 2017-04-20 11:56:00 -05:00
misc misc: Support left-justification in printk() 2017-04-21 11:06:16 +00:00
samples Merge "Merge bluetooth branch into master" 2017-04-20 16:55:36 +00:00
scripts Introduce new sized integer typedefs 2017-04-20 16:07:08 +00:00
subsys net: shell: conn: Dump local/remote ports for contexts. 2017-04-21 14:19:49 +03:00
tests Merge "Merge bluetooth branch into master" 2017-04-20 16:55:36 +00:00
.checkpatch.conf checkpatch: Remove reference to legacy IP stack 2017-02-08 13:05:27 +00:00
.gitattributes First commit 2015-04-10 16:44:37 -07:00
.gitignore doc: tweak .gitignore to allow doc theme dev 2017-02-23 13:20:04 +00:00
.gitreview Add a .gitreview file 2016-02-20 14:25:01 +00:00
.mailmap mailmap: added axy (for Anas Nashif) 2016-12-21 13:49:59 +00:00
defaults.tc testcases: catch more fatal kernel error messages 2016-11-11 13:21:16 +00:00
Kbuild build: Add separate DTS target 2017-04-20 14:36:10 +00:00
Kconfig license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
Kconfig.zephyr license: Replace Apache boilerplate with SPDX tag 2017-01-19 03:50:58 +00:00
LICENSE add top level Apache 2.0 license file 2016-02-05 20:24:37 -05:00
MAINTAINERS MAINTAINERS: remove references to legacy headers 2017-04-20 14:11:16 +00:00
Makefile build: Add separate DTS target 2017-04-20 14:36:10 +00:00
Makefile.inc build: Add separate DTS target 2017-04-20 14:36:10 +00:00
Makefile.test tests: introduce Makefile.test 2017-01-03 17:48:44 +00:00
zephyr-env.sh zephyr-env.sh: only reset scripts_path on Windows 2017-03-31 15:42:31 -04:00