source: svn/trunk/newcon3bcm2_21bu/toolchain/mips-linux-uclibc/include/linux/netrom.h @ 2

Last change on this file since 2 was 2, checked in by jglee, 11 years ago

first commit

  • Property svn:executable set to *
File size: 719 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.