summaryrefslogtreecommitdiffstats
path: root/include/linux/netrom.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
committer <ralf@linux-mips.org>1997-04-29 21:13:14 +0000
commit19c9bba94152148523ba0f7ef7cffe3d45656b11 (patch)
tree40b1cb534496a7f1ca0f5c314a523c69f1fee464 /include/linux/netrom.h
parent7206675c40394c78a90e74812bbdbf8cf3cca1be (diff)
Import of Linux/MIPS 2.1.36
Diffstat (limited to 'include/linux/netrom.h')
-rw-r--r--include/linux/netrom.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/include/linux/netrom.h b/include/linux/netrom.h
index a7557ccb3..5798e575e 100644
--- a/include/linux/netrom.h
+++ b/include/linux/netrom.h
@@ -3,7 +3,7 @@
* For kernel AX.25 see the file ax25.h. This file requires ax25.h for the
* definition of the ax25_address structure.
*/
-
+
#ifndef NETROM_KERNEL_H
#define NETROM_KERNEL_H
@@ -14,32 +14,33 @@
#define NETROM_T2 2
#define NETROM_N2 3
#define NETROM_HDRINCL 4
-#define NETROM_PACLEN 5
#define NETROM_T4 6
#define NETROM_IDLE 7
#define NETROM_KILL 99
-#define SIOCNRDECOBS (SIOCPROTOPRIVATE+0)
-#define SIOCNRCTLCON (SIOCPROTOPRIVATE+1)
+#define SIOCNRDECOBS (SIOCPROTOPRIVATE+2)
+#define SIOCNRCTLCON (SIOCPROTOPRIVATE+4)
struct nr_route_struct {
#define NETROM_NEIGH 0
#define NETROM_NODE 1
- int type;
- ax25_address callsign;
- char device[16];
- unsigned int quality;
- char mnemonic[7];
- ax25_address neighbour;
- unsigned int obs_count;
+ int type;
+ ax25_address callsign;
+ char device[16];
+ unsigned int quality;
+ char mnemonic[7];
+ ax25_address neighbour;
+ unsigned int obs_count;
+ unsigned int ndigis;
+ ax25_address digipeaters[AX25_MAX_DIGIS];
};
struct nr_ctl_struct {
- unsigned char index;
- unsigned char id;
- unsigned int cmd;
- unsigned long arg;
+ unsigned char index;
+ unsigned char id;
+ unsigned int cmd;
+ unsigned long arg;
};
#endif