[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47C88AEF.4050504@free.fr>
Date: Fri, 29 Feb 2008 23:45:03 +0100
From: Bernard Pidoux F6BVP <f6bvp@...e.fr>
To: ralf@...ux-mips.org
CC: netdev@...r.kernel.org, linux-hams <linux-hams@...r.kernel.org>
Subject: [PATCH][ROSE][NETROM] display neigh instead of address
Hi,
I submit the following patch against kernel 2.6.24.3 to replace
labels "addr" in /proc/net/rose_neigh and /proc/net/nr_neigh
by labels "neigh" for the display of neighbour numbers in the
first columns.
This makes the reading of proc more consistent with the labels of
/proc/net/rose_nodes and /proc/net/nr_nodes.
Finding the callsign of a given node neighbour number becomes easier.
Here are some examples of the new display :
/proc/net/rose_neigh
neigh callsign dev count use mode restart t0 tf digipeaters
00012 F6BVP-7 ax0 2 0 DTE no 0 0
00011 F6BVP-9 ax0 3 0 DTE no 0 0
/proc/net/rose_nodes
address mask n neigh neigh neigh
2080175502 0010 1 00001
2080175520 0010 2 00011 00012
/proc/net/nr_neigh NetRom neigh
neigh callsign dev qual lock count failed digipeaters
00013 K4GBB-14 ax0 255 0 1 0
00012 KD4YAL-5 ax0 255 0 2 0
/proc/net/nr_nodes NetRom nodes
callsign mnemonic w n qual obs neigh qual obs neigh qual obs neigh
VK2AFY-0 AFYNOD 1 1 194 6 00005
F5KCK-13 LNXKCK 1 1 254 4 00003
KD4YAL-4 FBBYAL 1 2 254 6 00012 198 5 00005
73 de Bernard, f6bvp
----------------
View attachment "neigh_show_2.6.24.patch" of type "text/x-patch" (869 bytes)
Powered by blists - more mailing lists