• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * This header was generated from the Linux kernel headers by update_headers.py,
3  * to provide necessary information from kernel to userspace, such as constants,
4  * structures, and macros, and thus, contains no copyrightable information.
5  */
6 #ifndef	NETROM_KERNEL_H
7 #define	NETROM_KERNEL_H
8 #include <linux/ax25.h>
9 #define NETROM_MTU	236
10 #define NETROM_T1	1
11 #define NETROM_T2	2
12 #define NETROM_N2	3
13 #define	NETROM_T4	6
14 #define	NETROM_IDLE	7
15 #define	SIOCNRDECOBS		(SIOCPROTOPRIVATE+2)
16 struct nr_route_struct {
17 #define	NETROM_NEIGH	0
18 #define	NETROM_NODE	1
19 	int		type;
20 	ax25_address	callsign;
21 	char		device[16];
22 	unsigned int	quality;
23 	char		mnemonic[7];
24 	ax25_address	neighbour;
25 	unsigned int	obs_count;
26 	unsigned int	ndigis;
27 	ax25_address	digipeaters[AX25_MAX_DIGIS];
28 };
29 #endif
30