Merge tag 'trace-printf-v6.13' of git://git.kernel.org/pub/scm/linux/kernel/git/trace...
[drm/drm-misc.git] / include / uapi / linux / netrom.h
blob7498ea3c3940520c12b274e68b0f71d906e96984
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3 * These are the public elements of the Linux kernel NET/ROM implementation.
4 * For kernel AX.25 see the file ax25.h. This file requires ax25.h for the
5 * definition of the ax25_address structure.
6 */
8 #ifndef NETROM_KERNEL_H
9 #define NETROM_KERNEL_H
11 #include <linux/ax25.h>
13 #define NETROM_MTU 236
15 #define NETROM_T1 1
16 #define NETROM_T2 2
17 #define NETROM_N2 3
18 #define NETROM_T4 6
19 #define NETROM_IDLE 7
21 #define SIOCNRDECOBS (SIOCPROTOPRIVATE+2)
23 struct nr_route_struct {
24 #define NETROM_NEIGH 0
25 #define NETROM_NODE 1
26 int type;
27 ax25_address callsign;
28 char device[16];
29 unsigned int quality;
30 char mnemonic[7];
31 ax25_address neighbour;
32 unsigned int obs_count;
33 unsigned int ndigis;
34 ax25_address digipeaters[AX25_MAX_DIGIS];
37 #endif