xref: /aosp_15_r20/bionic/libc/kernel/uapi/linux/netrom.h (revision 8d67ca893c1523eb926b9080dbe4e2ffd2a27ba1)
1*8d67ca89SAndroid Build Coastguard Worker /*
2*8d67ca89SAndroid Build Coastguard Worker  * This file is auto-generated. Modifications will be lost.
3*8d67ca89SAndroid Build Coastguard Worker  *
4*8d67ca89SAndroid Build Coastguard Worker  * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5*8d67ca89SAndroid Build Coastguard Worker  * for more information.
6*8d67ca89SAndroid Build Coastguard Worker  */
7*8d67ca89SAndroid Build Coastguard Worker #ifndef NETROM_KERNEL_H
8*8d67ca89SAndroid Build Coastguard Worker #define NETROM_KERNEL_H
9*8d67ca89SAndroid Build Coastguard Worker #include <linux/ax25.h>
10*8d67ca89SAndroid Build Coastguard Worker #define NETROM_MTU 236
11*8d67ca89SAndroid Build Coastguard Worker #define NETROM_T1 1
12*8d67ca89SAndroid Build Coastguard Worker #define NETROM_T2 2
13*8d67ca89SAndroid Build Coastguard Worker #define NETROM_N2 3
14*8d67ca89SAndroid Build Coastguard Worker #define NETROM_T4 6
15*8d67ca89SAndroid Build Coastguard Worker #define NETROM_IDLE 7
16*8d67ca89SAndroid Build Coastguard Worker #define SIOCNRDECOBS (SIOCPROTOPRIVATE + 2)
17*8d67ca89SAndroid Build Coastguard Worker struct nr_route_struct {
18*8d67ca89SAndroid Build Coastguard Worker #define NETROM_NEIGH 0
19*8d67ca89SAndroid Build Coastguard Worker #define NETROM_NODE 1
20*8d67ca89SAndroid Build Coastguard Worker   int type;
21*8d67ca89SAndroid Build Coastguard Worker   ax25_address callsign;
22*8d67ca89SAndroid Build Coastguard Worker   char device[16];
23*8d67ca89SAndroid Build Coastguard Worker   unsigned int quality;
24*8d67ca89SAndroid Build Coastguard Worker   char mnemonic[7];
25*8d67ca89SAndroid Build Coastguard Worker   ax25_address neighbour;
26*8d67ca89SAndroid Build Coastguard Worker   unsigned int obs_count;
27*8d67ca89SAndroid Build Coastguard Worker   unsigned int ndigis;
28*8d67ca89SAndroid Build Coastguard Worker   ax25_address digipeaters[AX25_MAX_DIGIS];
29*8d67ca89SAndroid Build Coastguard Worker };
30*8d67ca89SAndroid Build Coastguard Worker #endif
31