home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Include / IPINFOID.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-26  |  3.5 KB  |  69 lines

  1. /*++
  2.  
  3. Copyright (c) 1995 - 1997  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_S*/
  18. #define __ROUTING_IPINFOID_H__
  19.  
  20. #define IP_ROUTER_MANAGER_VERSION 1
  21.  
  22. //////////////////////////////////////////////////////////////////////////////
  23. //                                                                          //
  24. // These are the ids used for different information types supported by      //
  25. // IP Router Manager. These ids live in the same space as the IP Routing    //
  26. // Protocol IDs, so any addition to them must be done with care             //
  27. //                                                                          //
  28. //////////////////////////////////////////////////////////////////////////////
  29.  
  30. #define IP_GENERAL_INFO_BASE            0xffff0000
  31.  
  32. #define IP_IN_FILTER_INFO               IP_GENERAL_INFO_BASE + 1
  33. #define IP_OUT_FILTER_INFO              IP_GENERAL_INFO_BASE + 2
  34. #define IP_GLOBAL_INFO                  IP_GENERAL_INFO_BASE + 3
  35. #define IP_INTERFACE_STATUS_INFO        IP_GENERAL_INFO_BASE + 4
  36. #define IP_ROUTE_INFO                   IP_GENERAL_INFO_BASE + 5
  37. #define IP_PROT_PRIORITY_INFO           IP_GENERAL_INFO_BASE + 6
  38. #define IP_ROUTER_DISC_INFO             IP_GENERAL_INFO_BASE + 7
  39.  
  40.  
  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.  
  67. #pragma option pop /*P_O_Pop*/
  68. #endif //__ROUTING_IPINFOID_H__
  69.