diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2012-10-30 03:20:56 -0400 |
| commit | 53279f36dccffc26ff536003fd6bb97cc21c3b82 (patch) | |
| tree | 9d16e497c0e4158c7c054c479bd0e9ff0388d7bb /include/uapi/linux/netrom.h | |
| parent | a6e8c0a25377e27958b11b20e1927885ae7c9857 (diff) | |
| parent | 8f0d8163b50e01f398b14bcd4dc039ac5ab18d64 (diff) | |
Merge tag 'v3.7-rc3' into next to sync up with recent USB and MFD changes
Diffstat (limited to 'include/uapi/linux/netrom.h')
| -rw-r--r-- | include/uapi/linux/netrom.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/include/uapi/linux/netrom.h b/include/uapi/linux/netrom.h new file mode 100644 index 000000000000..af7313cc9cb6 --- /dev/null +++ b/include/uapi/linux/netrom.h | |||
| @@ -0,0 +1,36 @@ | |||
| 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 | #include <linux/ax25.h> | ||
| 11 | |||
| 12 | #define NETROM_MTU 236 | ||
| 13 | |||
| 14 | #define NETROM_T1 1 | ||
| 15 | #define NETROM_T2 2 | ||
| 16 | #define NETROM_N2 3 | ||
| 17 | #define NETROM_T4 6 | ||
| 18 | #define NETROM_IDLE 7 | ||
| 19 | |||
| 20 | #define SIOCNRDECOBS (SIOCPROTOPRIVATE+2) | ||
| 21 | |||
| 22 | struct nr_route_struct { | ||
| 23 | #define NETROM_NEIGH 0 | ||
| 24 | #define NETROM_NODE 1 | ||
| 25 | int type; | ||
| 26 | ax25_address callsign; | ||
| 27 | char device[16]; | ||
| 28 | unsigned int quality; | ||
| 29 | char mnemonic[7]; | ||
| 30 | ax25_address neighbour; | ||
| 31 | unsigned int obs_count; | ||
| 32 | unsigned int ndigis; | ||
| 33 | ax25_address digipeaters[AX25_MAX_DIGIS]; | ||
| 34 | }; | ||
| 35 | |||
| 36 | #endif | ||
