20. The /proc/ file system entries
The /proc filesystem contains a number of files specifically related to the AX.25 and NET/ROM kernel software. These files are normally used by the AX52 utilities, but they are plainly formatted so you may be interested in reading them. The format is fairly easily understood so I don't think much explanation will be necessary.
- /proc/net/arp
contains the list of Address Resolution Protocol mappings of IP addresses to MAC layer protocol addresses. These can can AX.25, ethernet or some other MAC layer protocol.
- /proc/net/ax25
contains a list of AX.25 sockets opened. These might be listening for a connection, or active sessions.
- /proc/net/ax25_bpqether
contains the AX.25 over ethernet BPQ style callsign mappings.
- /proc/net/ax25_calls
contains the linux userid to callsign mappings set my the axparms -assoc command.
- /proc/net/ax25_route
contains AX.25 digipeater path information.
- /proc/net/nr
contains a list of NET/ROM sockets opened. These might be listening for a connection, or active sessions.
- /proc/net/nr_neigh
contains information about the NET/ROM neighbours known to the NET/ROM software.
- /proc/net/nr_nodes
contains information about the NET/ROM nodes known to the NET/ROM software.
- /proc/net/rose
contains a list of ROSE sockets opened. These might be listening for a connection, or active sessions.
- /proc/net/rose_nodes
contains a mapping of ROSE destinations to ROSE neighbours.
- /proc/net/rose_neigh
contains a list of known ROSE neighbours.
- /proc/net/rose_routes
contains a list of all established ROSE connections.