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.

70 lines
1.1 KiB

  1. /*++
  2. Copyright (c) 1999 Microsoft Corporation
  3. Module Name:
  4. structs.h
  5. Abstract:
  6. This module contains all of the internal structures
  7. for IPSecSPD Service.
  8. Author:
  9. abhisheV 30-September-1999
  10. Environment
  11. User Level: Win32
  12. Revision History:
  13. --*/
  14. #ifdef __cplusplus
  15. extern "C" {
  16. #endif
  17. #define TCP_PROTOCOL 6
  18. #define UDP_PROTOCOL 17
  19. #define WEIGHT_SPECIFIC_SOURCE_PORT 0x00000001
  20. #define WEIGHT_SPECIFIC_DESTINATION_PORT 0x00000002
  21. #define WEIGHT_SPECIFIC_PROTOCOL 0x00000100
  22. #define WEIGHT_TUNNEL_FILTER 0x00001000
  23. #define WEIGHT_SPECIFIC_TUNNEL_FILTER 0x00002000
  24. typedef struct _IPSEC_INTERFACE {
  25. DWORD dwInterfaceType;
  26. ULONG IpAddress;
  27. DWORD dwIndex;
  28. BOOL bIsASuspect;
  29. GUID gInterfaceID;
  30. LPWSTR pszInterfaceName;
  31. LPWSTR pszDeviceName;
  32. struct _IPSEC_INTERFACE * pNext;
  33. } IPSEC_INTERFACE, * PIPSEC_INTERFACE;
  34. typedef struct _matching_addr {
  35. ULONG uIpAddr;
  36. GUID gInterfaceID;
  37. } MATCHING_ADDR, * PMATCHING_ADDR;
  38. #ifdef __cplusplus
  39. }
  40. #endif