home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / Xenon / C++ / FreeCommandLineTools.exe / Include / ipinfoid.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-01-31  |  4.0 KB  |  80 lines

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