1NETROM(4) Linux Programmer's Manual NETROM(4)
2
3
4
6 AF_NETROM - NET/ROM amateur packet radio protocol family
7
9 NET/ROM is a protocol used extensively by radio amateurs. The Linux
10 NET/ROM protocol family permits access to these protocols via the stan‐
11 dard networking socket metaphor.
12
13 The NET/ROM protocol layer only supports connected mode. IP traffic may
14 be stacked on top of NET/ROM frames using a non-standard extension to
15 the NET/ROM protocol.
16
17 The only mode of operation is connected mode which is the mode used for
18 a socket of type SOCK_SEQPACKET (stream sockets are not available in
19 NET/ROM). This requires that the user ensures output data is suitably
20 packetised, and that input data is read a packet at a time into a buf‐
21 fer of suitable size.
22
23 NET/ROM addresses consist of 6 ascii characters and a number called the
24 SSID. These are encoded into a sockaddr_ax25 structure which is pro‐
25 vided to the relevant system calls.
26
27 NET/ROM has some unusual properties. Notably in a multi-user system an
28 AX.25 address is often associated with a user, and some users may not
29 have such an association. a set of ioctl calls are provided to manage
30 an association table.
31
32 NET/ROM supports the following socket options for SOL_NETROM. NETROM_T1
33 is the T1 timer in 1/10ths of a second, NETROM_T2 is the T2 timer in
34 1/10ths of a second. NETROM_N2, the retry counter is also configurable.
35 There is no 'infinite retry' option supported however. It is possible
36 for an application to request that the NET/ROM layer return the NET/ROM
37 header as well as the application data, this is done via the
38 NETROM_HDRINCL socket option.
39
41 call(1), socket(2), setsockopt(2), getsockopt(2), nrbroadcast(5),
42 nrports(5), netromd(8), noderest(8), nodesave(8), nrctl(8), nrparms(8).
43
45 Jonathan Naylor G4KLX <g4klx@g4klx.demon.co.uk>
46
47
48
49Linux 25 July 1996 NETROM(4)