Leaked source code of windows server 2003
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.

117 lines
2.0 KiB

  1. //
  2. // PAStore Interface types.
  3. //
  4. #define PASTORE_IF_TYPE_NONE 0x00000000
  5. #define PASTORE_IF_TYPE_DIALUP 0xFFFFFFFF
  6. #define PASTORE_IF_TYPE_LAN 0xFFFFFFFE
  7. #define PASTORE_IF_TYPE_ALL 0xFFFFFFFD
  8. typedef struct _mmfilterstate {
  9. GUID gFilterID;
  10. GUID gNFAIdentifier;
  11. GUID gPolicyID;
  12. GUID gMMAuthID;
  13. HANDLE hMMFilter;
  14. struct _mmfilterstate * pNext;
  15. } MMFILTERSTATE, * PMMFILTERSTATE;
  16. DWORD
  17. PAAddMMFilters(
  18. PIPSEC_ISAKMP_DATA pIpsecISAKMPData,
  19. PIPSEC_NFA_DATA * ppIpsecNFAData,
  20. DWORD dwNumNFACount,
  21. DWORD dwSource
  22. );
  23. DWORD
  24. PAAddMMFilterSpecs(
  25. PIPSEC_ISAKMP_DATA pIpsecISAKMPData,
  26. PIPSEC_NFA_DATA pIpsecNFAData,
  27. DWORD dwSource
  28. );
  29. DWORD
  30. PACreateMMFilterState(
  31. PIPSEC_ISAKMP_DATA pIpsecISAKMPData,
  32. PIPSEC_NFA_DATA pIpsecNFAData,
  33. PIPSEC_FILTER_SPEC pFilterSpec,
  34. PMMFILTERSTATE * ppMMFilterState
  35. );
  36. DWORD
  37. PACreateMMFilter(
  38. PIPSEC_ISAKMP_DATA pIpsecISAKMPData,
  39. PIPSEC_NFA_DATA pIpsecNFAData,
  40. PIPSEC_FILTER_SPEC pFilterSpec,
  41. PMM_FILTER * ppSPDMMFilter
  42. );
  43. VOID
  44. PASetInterfaceType(
  45. DWORD dwInterfaceType,
  46. PIF_TYPE pInterfaceType
  47. );
  48. VOID
  49. PASetAddress(
  50. ULONG uMask,
  51. ULONG uAddr,
  52. PADDR pAddr
  53. );
  54. VOID
  55. PASetTunnelAddress(
  56. ULONG uAddr,
  57. PADDR pAddr
  58. );
  59. VOID
  60. PAFreeMMFilter(
  61. PMM_FILTER pSPDMMFilter
  62. );
  63. DWORD
  64. PADeleteAllMMFilters(
  65. );
  66. VOID
  67. PAFreeMMFilterStateList(
  68. PMMFILTERSTATE pMMFilterState
  69. );
  70. DWORD
  71. PADeleteMMFilters(
  72. PIPSEC_ISAKMP_DATA pIpsecISAKMPData,
  73. PIPSEC_NFA_DATA * ppIpsecNFAData,
  74. DWORD dwNumNFACount
  75. );
  76. DWORD
  77. PADeleteMMFilterSpecs(
  78. PIPSEC_ISAKMP_DATA pIpsecISAKMPData,
  79. PIPSEC_NFA_DATA pIpsecNFAData
  80. );
  81. DWORD
  82. PADeleteMMFilter(
  83. GUID gFilterID,
  84. GUID gNFAIdentifier
  85. );
  86. VOID
  87. PADeleteMMFilterState(
  88. PMMFILTERSTATE pMMFilterState
  89. );
  90. PMMFILTERSTATE
  91. FindMMFilterState(
  92. GUID gFilterID,
  93. GUID gNFAIdentifier
  94. );