aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netrom.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netrom.h')
-rw-r--r--include/linux/netrom.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/include/linux/netrom.h b/include/linux/netrom.h
new file mode 100644
index 000000000000..6939b32f66a0
--- /dev/null
+++ b/include/linux/netrom.h
@@ -0,0 +1,34 @@
1/*
2 * These are the public elements of the Linux kernel NET/ROM implementation.
3 * For kernel AX.25 see the file ax25.h. This file requires ax25.h for the
4 * definition of the ax25_address structure.
5 */
6
7#ifndef NETROM_KERNEL_H
8#define NETROM_KERNEL_H
9
10#define NETROM_MTU 236
11
12#define NETROM_T1 1
13#define NETROM_T2 2
14#define NETROM_N2 3
15#define NETROM_T4 6
16#define NETROM_IDLE 7
17
18#define SIOCNRDECOBS (SIOCPROTOPRIVATE+2)
19
20struct nr_route_struct {
21#define NETROM_NEIGH 0
22#define NETROM_NODE 1
23 int type;
24 ax25_address callsign;
25 char device[16];
26 unsigned int quality;
27 char mnemonic[7];
28 ax25_address neighbour;
29 unsigned int obs_count;
30 unsigned int ndigis;
31 ax25_address digipeaters[AX25_MAX_DIGIS];
32};
33
34#endif