Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
4.0 KiB

  1. /*++
  2. Copyright (c) Microsoft Corporation. All rights reserved.
  3. Module Name:
  4. ipinfoid.h
  5. Abstract:
  6. Defines the IDs needed for specifying various types of information
  7. to the router manager. Protocols use their ProtocolId for tagging
  8. information
  9. --*/
  10. #ifndef __ROUTING_IPINFOID_H__
  11. #define __ROUTING_IPINFOID_H__
  12. #if _MSC_VER > 1000
  13. #pragma once
  14. #endif
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif
  18. #define IP_ROUTER_MANAGER_VERSION 1
  19. //////////////////////////////////////////////////////////////////////////////
  20. // //
  21. // These are the ids used for different information types supported by //
  22. // IP Router Manager. These ids live in the same space as the IP Routing //
  23. // Protocol IDs, so any addition to them must be done with care //
  24. // //
  25. //////////////////////////////////////////////////////////////////////////////
  26. #define IP_GENERAL_INFO_BASE 0xffff0000
  27. #define IP_IN_FILTER_INFO IP_GENERAL_INFO_BASE + 1
  28. #define IP_OUT_FILTER_INFO IP_GENERAL_INFO_BASE + 2
  29. #define IP_GLOBAL_INFO IP_GENERAL_INFO_BASE + 3
  30. #define IP_INTERFACE_STATUS_INFO IP_GENERAL_INFO_BASE + 4
  31. #define IP_ROUTE_INFO IP_GENERAL_INFO_BASE + 5
  32. #define IP_PROT_PRIORITY_INFO IP_GENERAL_INFO_BASE + 6
  33. #define IP_ROUTER_DISC_INFO IP_GENERAL_INFO_BASE + 7
  34. // N.B. Unused ID available at IP_GENERAL_INFO_BASE + 8.
  35. #define IP_DEMAND_DIAL_FILTER_INFO IP_GENERAL_INFO_BASE + 9
  36. #define IP_MCAST_HEARBEAT_INFO IP_GENERAL_INFO_BASE + 10
  37. #define IP_MCAST_BOUNDARY_INFO IP_GENERAL_INFO_BASE + 11
  38. #define IP_IPINIP_CFG_INFO IP_GENERAL_INFO_BASE + 12
  39. #define IP_IFFILTER_INFO IP_GENERAL_INFO_BASE + 13
  40. #define IP_MCAST_LIMIT_INFO IP_GENERAL_INFO_BASE + 14
  41. //////////////////////////////////////////////////////////////////////////////
  42. // //
  43. // The following IDS are defined in routprot.h and given here for //
  44. // informational purposes only //
  45. // //
  46. // #define IP_OTHER 1 //
  47. // #define IP_LOCAL 2 //
  48. // #define IP_NETMGMT 3 //
  49. // #define IP_ICMP 4 //
  50. // #define IP_EGP 5 //
  51. // #define IP_GGP 6 //
  52. // #define IP_HELLO 7 //
  53. // #define IP_RIP 8 //
  54. // #define IP_IS_IS 9 //
  55. // #define IP_ES_IS 10 //
  56. // #define IP_CISCO 11 //
  57. // #define IP_BBN 12 //
  58. // #define IP_OSPF 13 //
  59. // #define IP_BGP 14 //
  60. // //
  61. // #define IP_BOOTP 9999 //
  62. // #define IPRTRMGR_PID 10000 //
  63. // #define IP_NT_AUTOSTATIC 10002 //
  64. // //
  65. //////////////////////////////////////////////////////////////////////////////
  66. #ifdef __cplusplus
  67. }
  68. #endif
  69. #endif //__ROUTING_IPINFOID_H__