[PATCH][ROSE][NETROM] display neigh instead of address
From: Bernard Pidoux F6BVP <hidden>
Date: 2008-02-29 22:45:03
Also in:
linux-hams
Attachments
- neigh_show_2.6.24.patch [text/x-patch] 868 bytes · preview
From: Bernard Pidoux F6BVP <hidden>
Date: 2008-02-29 22:45:03
Also in:
linux-hams
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 ----------------