1 /**
2  * This file has no copyright assigned and is placed in the Public Domain.
3  * This file is part of the mingw-w64 runtime package.
4  * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5  */
6 #ifndef _IPXCONST_
7 #define _IPXCONST_
8 
9 #define ADMIN_STATE_DISABLED 1
10 #define ADMIN_STATE_ENABLED 2
11 
12 #define ADMIN_STATE_ENABLED_ONLY_FOR_NETBIOS_STATIC_ROUTING 3
13 #define ADMIN_STATE_ENABLED_ONLY_FOR_OPER_STATE_UP 4
14 
15 #define OPER_STATE_DOWN 1
16 #define OPER_STATE_UP 2
17 #define OPER_STATE_SLEEPING 3
18 #define OPER_STATE_STARTING 4
19 #define OPER_STATE_STOPPING 5
20 
21 #define IPX_STANDARD_UPDATE 1
22 #define IPX_NO_UPDATE 2
23 #define IPX_AUTO_STATIC_UPDATE 3
24 
25 #define IPX_STANDARD_PACKET_TYPE 1
26 #define IPX_RELIABLE_DELIVERY_PACKET_TYPE 2
27 
28 #define IPX_PACE_DEFVAL 18
29 
30 #define IPX_UPDATE_INTERVAL_DEFVAL 60
31 
32 #define R_Interface RR_InterfaceID
33 #define R_Protocol RR_RoutingProtocol
34 
35 #define R_Network RR_Network.N_NetNumber
36 #define R_TickCount RR_FamilySpecificData.FSD_TickCount
37 #define R_HopCount RR_FamilySpecificData.FSD_HopCount
38 #define R_NextHopMacAddress RR_NextHopAddress.NHA_Mac
39 
40 #define R_Flags RR_FamilySpecificData.FSD_Flags
41 
42 #define MAX_INTERFACE_INDEX 0xFFFFFFFE
43 #define GLOBAL_INTERFACE_INDEX 0xFFFFFFFF
44 
45 #define GLOBAL_WAN_ROUTE 0x00000001
46 #define DO_NOT_ADVERTISE_ROUTE 0x00000002
47 #endif
48