home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / ipinfoid.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  3KB  |  67 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. #define __ROUTING_IPINFOID_H__
  18.  
  19. #define IP_ROUTER_MANAGER_VERSION 1
  20.  
  21. //////////////////////////////////////////////////////////////////////////////
  22. //                                                                          //
  23. // These are the ids used for different information types supported by      //
  24. // IP Router Manager. These ids live in the same space as the IP Routing    //
  25. // Protocol IDs, so any addition to them must be done with care             //
  26. //                                                                          //
  27. //////////////////////////////////////////////////////////////////////////////
  28.  
  29. #define IP_GENERAL_INFO_BASE            0xffff0000
  30.  
  31. #define IP_IN_FILTER_INFO               IP_GENERAL_INFO_BASE + 1
  32. #define IP_OUT_FILTER_INFO              IP_GENERAL_INFO_BASE + 2
  33. #define IP_GLOBAL_INFO                  IP_GENERAL_INFO_BASE + 3
  34. #define IP_INTERFACE_STATUS_INFO        IP_GENERAL_INFO_BASE + 4
  35. #define IP_ROUTE_INFO                   IP_GENERAL_INFO_BASE + 5
  36. #define IP_PROT_PRIORITY_INFO           IP_GENERAL_INFO_BASE + 6
  37. #define IP_ROUTER_DISC_INFO             IP_GENERAL_INFO_BASE + 7
  38.  
  39.  
  40. //////////////////////////////////////////////////////////////////////////////
  41. //                                                                          //
  42. // The following IDS are defined in routprot.h and given here for           //
  43. // informational purposes only                                              //
  44. //                                                                          //
  45. // #define IP_OTHER         1                                               //
  46. // #define IP_LOCAL         2                                               //
  47. // #define IP_NETMGMT       3                                               //
  48. // #define IP_ICMP          4                                               //
  49. // #define IP_EGP           5                                               //
  50. // #define IP_GGP           6                                               //
  51. // #define IP_HELLO         7                                               //
  52. // #define IP_RIP           8                                               //
  53. // #define IP_IS_IS         9                                               //
  54. // #define IP_ES_IS         10                                              //
  55. // #define IP_CISCO         11                                              //
  56. // #define IP_BBN           12                                              //
  57. // #define IP_OSPF          13                                              //
  58. // #define IP_BGP           14                                              //
  59. //                                                                          //
  60. // #define IP_BOOTP         9999                                            //
  61. // #define IPRTRMGR_PID     10000                                           //
  62. // #define IP_NT_AUTOSTATIC 10002                                           //
  63. //                                                                          //
  64. //////////////////////////////////////////////////////////////////////////////
  65.  
  66. #endif //__ROUTING_IPINFOID_H__
  67.