ipxconst.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. #define ADMIN_STATE_DISABLED 1
  9. #define ADMIN_STATE_ENABLED 2
  10. #define ADMIN_STATE_ENABLED_ONLY_FOR_NETBIOS_STATIC_ROUTING 3
  11. #define ADMIN_STATE_ENABLED_ONLY_FOR_OPER_STATE_UP 4
  12. #define OPER_STATE_DOWN 1
  13. #define OPER_STATE_UP 2
  14. #define OPER_STATE_SLEEPING 3
  15. #define OPER_STATE_STARTING 4
  16. #define OPER_STATE_STOPPING 5
  17. #define IPX_STANDARD_UPDATE 1
  18. #define IPX_NO_UPDATE 2
  19. #define IPX_AUTO_STATIC_UPDATE 3
  20. #define IPX_STANDARD_PACKET_TYPE 1
  21. #define IPX_RELIABLE_DELIVERY_PACKET_TYPE 2
  22. #define IPX_PACE_DEFVAL 18
  23. #define IPX_UPDATE_INTERVAL_DEFVAL 60
  24. #define R_Interface RR_InterfaceID
  25. #define R_Protocol RR_RoutingProtocol
  26. #define R_Network RR_Network.N_NetNumber
  27. #define R_TickCount RR_FamilySpecificData.FSD_TickCount
  28. #define R_HopCount RR_FamilySpecificData.FSD_HopCount
  29. #define R_NextHopMacAddress RR_NextHopAddress.NHA_Mac
  30. #define R_Flags RR_FamilySpecificData.FSD_Flags
  31. #define MAX_INTERFACE_INDEX 0xFFFFFFFE
  32. #define GLOBAL_INTERFACE_INDEX 0xFFFFFFFF
  33. #define GLOBAL_WAN_ROUTE 0x00000001
  34. #define DO_NOT_ADVERTISE_ROUTE 0x00000002
  35. #endif