Source code of Windows XP (NT5)
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.

93 lines
1.7 KiB

  1. /*++
  2. Copyright (c) 1996 Microsoft Corporation
  3. Module Name:
  4. Abstract:
  5. Author:
  6. Revision History:
  7. --*/
  8. #ifndef __ALLINC_H__
  9. #define __ALLINC_H__
  10. #include <nt.h>
  11. #include <ntrtl.h>
  12. #include <nturtl.h>
  13. #include <windows.h>
  14. #include <stdio.h>
  15. #include <stdarg.h>
  16. #include <stdlib.h>
  17. #include <string.h>
  18. #include <crt\stddef.h>
  19. #include <TCHAR.H>
  20. #include <snmp.h>
  21. #include <snmpexts.h>
  22. #include <snmputil.h>
  23. #include <iphlpapi.h>
  24. #include <iphlpint.h>
  25. #include <ipcmp.h>
  26. #include <winsock2.h>
  27. #include <tcpinfo.h>
  28. #include <ipinfo.h>
  29. #include <ntddip.h>
  30. #include <iphlpstk.h>
  31. #ifdef MIB_DEBUG
  32. #include <rtutils.h>
  33. extern DWORD g_hTrace;
  34. #endif
  35. #include "mibfuncs.h"
  36. #include "defs.h"
  37. #include "proto.h"
  38. #include "indices.h"
  39. extern DWORD g_dwLastUpdateTable[NUM_CACHE];
  40. extern DWORD g_dwTimeoutTable[NUM_CACHE];
  41. extern HANDLE g_hPrivateHeap;
  42. typedef
  43. DWORD
  44. (*PFNLOAD_FUNCTION)();
  45. extern PFNLOAD_FUNCTION g_pfnLoadFunctionTable[];
  46. typedef struct _MIB_CACHE
  47. {
  48. PMIB_SYSINFO pRpcSysInfo;
  49. PMIB_IFTABLE pRpcIfTable;
  50. PMIB_UDPTABLE pRpcUdpTable;
  51. PMIB_TCPTABLE pRpcTcpTable;
  52. PMIB_IPADDRTABLE pRpcIpAddrTable;
  53. PMIB_IPFORWARDTABLE pRpcIpForwardTable;
  54. PMIB_IPNETTABLE pRpcIpNetTable;
  55. PUDP6_LISTENER_TABLE pRpcUdp6ListenerTable;
  56. PTCP6_EX_TABLE pRpcTcp6Table;
  57. }MIB_CACHE, *PMIBCACHE;
  58. extern PMIB_IFSTATUS g_pisStatusTable;
  59. extern DWORD g_dwValidStatusEntries;
  60. extern DWORD g_dwTotalStatusEntries;
  61. extern MIB_CACHE g_Cache;
  62. extern BOOL g_bFirstTime;
  63. BOOL
  64. MibTrap(
  65. AsnInteger *paiGenericTrap,
  66. AsnInteger *paiSpecificTrap,
  67. RFC1157VarBindList *pr1157vblVariableBindings
  68. );
  69. #endif