PageRenderTime 63ms CodeModel.GetById 59ms app.highlight 3ms RepoModel.GetById 0ms app.codeStats 0ms

/packages/libc/src/nnetromh.inc

https://github.com/slibre/freepascal
Unknown | 63 lines | 54 code | 9 blank | 0 comment | 0 complexity | 5c74beebfd786c93cb23d6895c089534 MD5 | raw file
Possible License(s): LGPL-2.0, LGPL-2.1, LGPL-3.0
 1
 2const
 3   SOL_NETROM = 259;
 4   NETROM_T1 = 1;
 5   NETROM_T2 = 2;
 6   NETROM_N2 = 3;
 7   NETROM_PACLEN = 5;
 8   NETROM_T4 = 6;
 9   NETROM_IDLE = 7;
10   NETROM_KILL = 99;
11   NETROM_NEIGH = 0;
12   NETROM_NODE = 1;
13
14type
15   Pnr_route_struct = ^nr_route_struct;
16   nr_route_struct = record
17        _type : longint;
18        callsign : ax25_address;
19        device : array[0..15] of char;
20        quality : dword;
21        mnemonic : array[0..6] of char;
22        neighbour : ax25_address;
23        obs_count : dword;
24        ndigis : dword;
25        digipeaters : array[0..(AX25_MAX_DIGIS)-1] of ax25_address;
26     end;
27
28
29const
30   SIOCNRGETPARMS = SIOCPROTOPRIVATE + 0;
31   SIOCNRSETPARMS = SIOCPROTOPRIVATE + 1;
32   SIOCNRDECOBS = SIOCPROTOPRIVATE + 2;
33   SIOCNRRTCTL = SIOCPROTOPRIVATE + 3;
34   SIOCNRCTLCON = SIOCPROTOPRIVATE + 4;
35
36type
37   Pnr_parms_struct = ^nr_parms_struct;
38   nr_parms_struct = record
39        quality : dword;
40        obs_count : dword;
41        ttl : dword;
42        timeout : dword;
43        ack_delay : dword;
44        busy_delay : dword;
45        tries : dword;
46        window : dword;
47        paclen : dword;
48     end;
49
50   Pnr_ctl_struct = ^nr_ctl_struct;
51   nr_ctl_struct = record
52        index : byte;
53        id : byte;
54        cmd : dword;
55        arg : dword;
56     end;
57
58
59{ ---------------------------------------------------------------------
60    Borland compatibility types
61  ---------------------------------------------------------------------}
62
63// Type