kmemtrace: SLOB hooks.
[linux-2.6/kmemtrace.git] / include / linux / netrom.h
blob6939b32f66a00352fd1777a17e6386492d1cad79
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 */
7 #ifndef NETROM_KERNEL_H
8 #define NETROM_KERNEL_H
10 #define NETROM_MTU 236
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
18 #define SIOCNRDECOBS (SIOCPROTOPRIVATE+2)
20 struct 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];
34 #endif