[<prev] [next>] [day] [month] [year] [list]
Message-ID: <4BC20569.5030504@upmc.fr>
Date: Sun, 11 Apr 2010 19:22:49 +0200
From: Bernard Pidoux <bernard.pidoux@...c.fr>
To: dc6iq@...u1.etec.uni-karlsruhe.de, net-tools@...a.inka.de,
Linux Netdev List <netdev@...r.kernel.org>, philb@....org
Subject: [PATCH] netstat 1.42 patch adding ROSE support
Hi,
In netstat README file one can read :
"route/netstat -r do not yet support different address families
cleanly. IPX/DDP/AX25 people, please feel free to add the code."
This is why I am sending this patch against netstat v 1.42 included
in net-tools 1.60-23.
The patch adds AMPR ROSE address family support as may be seen here :
[root@...vp-11 net-tools-1.60-23]# netstat -V
net-tools 1.60
netstat 1.42 (2001-04-15)
Fred Baumgarten, Alan Cox, Bernd Eckenfels, Phil Blundell, Tuan Hoang and others
+NEW_ADDRT +RTF_IRTT +RTF_REJECT -FW_MASQUERADE -I18N
AF: (inet) +UNIX +INET -INET6 -IPX +AX25 +NETROM -X25 -ATALK -ECONET +ROSE
HW: +ETHER -ARC -SLIP -PPP -TUNNEL -TR +AX25 +NETROM -X25 -FR +ROSE -ASH -SIT -FDDI -HIPPI -HDLC/LAPB
[root@...vp-11 net-tools-1.60-23]# netstat -h
usage: netstat [-veenNcCF] [<Af>] -r netstat {-V|--version|-h|--help}
------
------
<Socket>={-t|--tcp} {-u|--udp} {-w|--raw} {-x|--unix} --ax25 --ipx --netrom --rose
<AF>=Use '-A <af>' or '--<af>'; default: inet
List of possible address families (which support routing):
inet (DARPA Internet) ax25 (AMPR AX.25) netrom (AMPR NET/ROM)
rose (AMPR ROSE)
[root@...vp-11 net-tools-1.60-23]# netstat --rose
Active ROSE sockets
dest_addr dest_call src_addr src_call dev lci neigh state
2080175520 WP-0 2080175502 WP-0 rose0 32 16 ESTABLISHED
* * 2080175502 FE6BVP-1 rose0 0 0 LISTENING
2080175520 F6BVP-1 2080175502 F6BVP-12 rose0 0 0 LISTENING
2080175502 FPAD-0 2080175502 WP-0 rose0 32 1 ESTABLISHED
2080428501 F4BWT-10 2080175502 F6BVP-0 rose0 0 0 LISTENING
* * 2080175502 ROUTE-0 rose0 0 0 LISTENING
* * 2080175502 F6BVP-15 rose0 0 0 LISTENING
* * 2080175502 WP-0 rose0 0 0 LISTENING
2080175502 WP-0 2080175502 FPAD-0 rose0 1 1 ESTABLISHED
* * 2080175502 ??????-? rose0 0 0 LISTENING
Bernard Pidoux
View attachment "net-tools-1.60-23.netstat.rose.patch" of type "text/plain" (11562 bytes)
Powered by blists - more mailing lists