1 #define PF_AX25 AF_AX25
2 #define AX25_MTU 256
3 #define AX25_MAX_DIGIS 8
4
5 typedef struct
6 {
7 char ax25_call[7];
8 }
9 ax25_address;
10
11 struct sockaddr_ax25
12 {
13 short sax25_family;
14 ax25_address sax25_call;
15 int sax25_ndigis;
16
17 };
18
19 #define sax25_uid sax25_ndigis
20
21 struct full_sockaddr_ax25
22 {
23 struct sockaddr_ax25 fsa_ax25;
24 ax25_address fsa_digipeater[AX25_MAX_DIGIS];
25 };
26
27 #define AX25_WINDOW 1
28 #define AX25_T1 2
29 #define AX25_N2 3
30 #define AX25_T3 4
31 #define AX25_T2 5
32 #define AX25_BACKOFF 6
33
34 #define SIOCAX25GETUID (SIOCPROTOPRIVATE)
35 #define SIOCAX25ADDUID (SIOCPROTOPRIVATE+1)
36 #define SIOCAX25DELUID (SIOCPROTOPRIVATE+2)
37 #define SIOCAX25NOUID (SIOCPROTOPRIVATE+3)
38
39 #define AX25_NOUID_DEFAULT 0
40 #define AX25_NOUID_BLOCK 1