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.

322 lines
6.9 KiB

  1. DWORD
  2. PADeleteObseleteISAKMPData(
  3. PIPSEC_ISAKMP_DATA * ppOldIpsecISAKMPData,
  4. DWORD dwNumOldPolicies,
  5. PIPSEC_NFA_DATA * ppOldIpsecNFAData,
  6. DWORD dwNumOldNFACount,
  7. PIPSEC_ISAKMP_DATA * ppNewIpsecISAKMPData,
  8. DWORD dwNumNewPolicies
  9. );
  10. PIPSEC_ISAKMP_DATA
  11. FindISAKMPData(
  12. PIPSEC_ISAKMP_DATA pIpsecISAKMPData,
  13. PIPSEC_ISAKMP_DATA * ppIpsecISAKMPData,
  14. DWORD dwNumPolicies
  15. );
  16. DWORD
  17. PADeleteObseleteNFAData(
  18. PIPSEC_ISAKMP_DATA pNewIpsecISAKMPData,
  19. PIPSEC_NFA_DATA * ppOldIpsecNFAData,
  20. DWORD dwNumOldNFACount,
  21. PIPSEC_NFA_DATA * ppNewIpsecNFAData,
  22. DWORD dwNumNewNFACount
  23. );
  24. PIPSEC_NFA_DATA
  25. FindNFAData(
  26. PIPSEC_NFA_DATA pIpsecNFAData,
  27. PIPSEC_NFA_DATA * ppIpsecNFAData,
  28. DWORD dwNumNFACount
  29. );
  30. DWORD
  31. PAUpdateISAKMPData(
  32. PIPSEC_ISAKMP_DATA * ppNewIpsecISAKMPData,
  33. DWORD dwNumNewPolicies,
  34. PIPSEC_NFA_DATA * ppOldIpsecNFAData,
  35. DWORD dwNumOldNFACount,
  36. PIPSEC_ISAKMP_DATA * ppOldIpsecISAKMPData,
  37. DWORD dwNumOldPolicies,
  38. IN DWORD dwSource
  39. );
  40. DWORD
  41. PAUpdateNFAData(
  42. PIPSEC_ISAKMP_DATA pNewIpsecISAKMPData,
  43. PIPSEC_NFA_DATA * ppNewIpsecNFAData,
  44. DWORD dwNumNewNFACount,
  45. PIPSEC_NFA_DATA * ppOldIpsecNFAData,
  46. DWORD dwNumOldNFACount,
  47. DWORD dwSource
  48. );
  49. DWORD
  50. PAProcessISAKMPUpdate(
  51. PIPSEC_ISAKMP_DATA pOldIpsecISAKMPData,
  52. PIPSEC_NFA_DATA * ppOldIpsecNFAData,
  53. DWORD dwNumOldNFACount,
  54. PIPSEC_ISAKMP_DATA pNewIpsecISAKMPData,
  55. IN DWORD dwSource
  56. );
  57. BOOL
  58. EqualISAKMPData(
  59. PIPSEC_ISAKMP_DATA pOldIpsecISAKMPData,
  60. PIPSEC_ISAKMP_DATA pNewIpsecISAKMPData
  61. );
  62. BOOL
  63. EqualCryptoBundle(
  64. PCRYPTO_BUNDLE pOldBundle,
  65. PCRYPTO_BUNDLE pNewBundle
  66. );
  67. DWORD
  68. PAProcessNFAUpdate(
  69. PIPSEC_ISAKMP_DATA pNewIpsecISAKMPData,
  70. PIPSEC_NFA_DATA pOldIpsecNFAData,
  71. PIPSEC_NFA_DATA pNewIpsecNFAData,
  72. DWORD dwSource
  73. );
  74. DWORD
  75. PAUpdateAuthMethod(
  76. PIPSEC_ISAKMP_DATA pNewIpsecISAKMPData,
  77. PIPSEC_NFA_DATA pOldIpsecNFAData,
  78. PIPSEC_NFA_DATA pNewIpsecNFAData,
  79. PBOOL pbAddedMMFilters,
  80. DWORD dwSource
  81. );
  82. BOOL
  83. EqualAuthMethodData(
  84. PIPSEC_NFA_DATA pOldIpsecNFAData,
  85. PIPSEC_NFA_DATA pNewIpsecNFAData
  86. );
  87. BOOL
  88. EqualAuthBundle(
  89. PIPSEC_AUTH_METHOD pOldAuthMethod,
  90. PIPSEC_AUTH_METHOD pNewAuthMethod
  91. );
  92. DWORD
  93. PAProcessQMNFAUpdate(
  94. PIPSEC_NFA_DATA pOldIpsecNFAData,
  95. PIPSEC_NFA_DATA pNewIpsecNFAData,
  96. DWORD dwSource
  97. );
  98. DWORD
  99. PADeleteQMInfoForNFA(
  100. PIPSEC_NFA_DATA pOldIpsecNFAData
  101. );
  102. DWORD
  103. PAAddQMInfoForNFA(
  104. PIPSEC_NFA_DATA pNewIpsecNFAData,
  105. DWORD dwSource
  106. );
  107. DWORD
  108. PAProcessNegPolUpdate(
  109. PIPSEC_NFA_DATA pOldIpsecNFAData,
  110. PIPSEC_NFA_DATA pNewIpsecNFAData,
  111. PBOOL pbAddedQMFilters,
  112. DWORD dwSource
  113. );
  114. BOOL
  115. EqualNegPolData(
  116. PIPSEC_NEGPOL_DATA pOldIpsecNegPolData,
  117. PIPSEC_NEGPOL_DATA pNewIpsecNegPolData
  118. );
  119. BOOL
  120. EqualSecurityMethod(
  121. PIPSEC_SECURITY_METHOD pOldBundle,
  122. PIPSEC_SECURITY_METHOD pNewBundle
  123. );
  124. DWORD
  125. PAUpdateMMFilters(
  126. PIPSEC_ISAKMP_DATA pNewIpsecISAKMPData,
  127. PIPSEC_NFA_DATA pOldIpsecNFAData,
  128. PIPSEC_NFA_DATA pNewIpsecNFAData,
  129. IN DWORD dwSource
  130. );
  131. BOOL
  132. EqualFilterKeysInNegPols(
  133. PIPSEC_NEGPOL_DATA pOldIpsecNegPolData,
  134. PIPSEC_NEGPOL_DATA pNewIpsecNegPolData
  135. );
  136. BOOL
  137. EqualFilterKeysInNFAs(
  138. PIPSEC_NFA_DATA pOldIpsecNFAData,
  139. PIPSEC_NFA_DATA pNewIpsecNFAData
  140. );
  141. DWORD
  142. PAProcessMMFilterDataForNFAs(
  143. PIPSEC_ISAKMP_DATA pNewIpsecISAKMPData,
  144. PIPSEC_NFA_DATA pOldIpsecNFAData,
  145. PIPSEC_NFA_DATA pNewIpsecNFAData,
  146. DWORD dwSource
  147. );
  148. DWORD
  149. PADeleteObseleteMMFilterSpecs(
  150. PIPSEC_ISAKMP_DATA pNewIpsecISAKMPData,
  151. PIPSEC_NFA_DATA pOldIpsecNFAData,
  152. DWORD dwNumOldFilterSpecs,
  153. PIPSEC_FILTER_SPEC * ppOldFilterSpecs,
  154. PIPSEC_NFA_DATA pNewIpsecNFAData,
  155. DWORD dwNumNewFilterSpecs,
  156. PIPSEC_FILTER_SPEC * ppNewFilterSpecs
  157. );
  158. PIPSEC_FILTER_SPEC
  159. FindFilterSpec(
  160. PIPSEC_FILTER_SPEC pFilterSpec,
  161. PIPSEC_FILTER_SPEC * ppFilterSpecs,
  162. DWORD dwNumFilterSpecs
  163. );
  164. DWORD
  165. PAUpdateMMFilterSpecs(
  166. PIPSEC_ISAKMP_DATA pNewIpsecISAKMPData,
  167. PIPSEC_NFA_DATA pOldIpsecNFAData,
  168. DWORD dwNumOldFilterSpecs,
  169. PIPSEC_FILTER_SPEC * ppOldFilterSpecs,
  170. PIPSEC_NFA_DATA pNewIpsecNFAData,
  171. DWORD dwNumNewFilterSpecs,
  172. PIPSEC_FILTER_SPEC * ppNewFilterSpecs,
  173. DWORD dwSource
  174. );
  175. DWORD
  176. PAAddMMFilterSpec(
  177. PIPSEC_ISAKMP_DATA pIpsecISAKMPData,
  178. PIPSEC_NFA_DATA pIpsecNFAData,
  179. PIPSEC_FILTER_SPEC pFilterSpec,
  180. DWORD dwSource
  181. );
  182. BOOL
  183. EqualFilterSpecs(
  184. PIPSEC_FILTER_SPEC pOldFilterSpec,
  185. PIPSEC_FILTER_SPEC pNewFilterSpec
  186. );
  187. DWORD
  188. PAUpdateQMFilters(
  189. PIPSEC_NFA_DATA pOldIpsecNFAData,
  190. PIPSEC_NFA_DATA pNewIpsecNFAData,
  191. DWORD dwSource
  192. );
  193. DWORD
  194. PAAddQMFilterSpecs(
  195. PIPSEC_NFA_DATA pNewIpsecNFAData,
  196. DWORD dwSource
  197. );
  198. DWORD
  199. PADeleteQMFilterSpecs(
  200. PIPSEC_NFA_DATA pOldIpsecNFAData
  201. );
  202. DWORD
  203. PAProcessQMFilterDataForNFAs(
  204. PIPSEC_NFA_DATA pOldIpsecNFAData,
  205. PIPSEC_NFA_DATA pNewIpsecNFAData,
  206. DWORD dwSource
  207. );
  208. DWORD
  209. PADeleteObseleteQMFilterSpecs(
  210. PIPSEC_NFA_DATA pOldIpsecNFAData,
  211. DWORD dwNumOldFilterSpecs,
  212. PIPSEC_FILTER_SPEC * ppOldFilterSpecs,
  213. PIPSEC_NFA_DATA pNewIpsecNFAData,
  214. DWORD dwNumNewFilterSpecs,
  215. PIPSEC_FILTER_SPEC * ppNewFilterSpecs
  216. );
  217. DWORD
  218. PAUpdateQMFilterSpecs(
  219. PIPSEC_NFA_DATA pOldIpsecNFAData,
  220. DWORD dwNumOldFilterSpecs,
  221. PIPSEC_FILTER_SPEC * ppOldFilterSpecs,
  222. PIPSEC_NFA_DATA pNewIpsecNFAData,
  223. DWORD dwNumNewFilterSpecs,
  224. PIPSEC_FILTER_SPEC * ppNewFilterSpecs,
  225. DWORD dwSource
  226. );
  227. DWORD
  228. PADeleteQMFilter(
  229. PIPSEC_NFA_DATA pIpsecNFAData,
  230. GUID FilterSpecGUID
  231. );
  232. DWORD
  233. PAAddQMFilterSpec(
  234. PIPSEC_NFA_DATA pIpsecNFAData,
  235. PQMPOLICYSTATE pQMPolicyState,
  236. PIPSEC_FILTER_SPEC pFilterSpec,
  237. DWORD dwSource
  238. );
  239. DWORD
  240. PAAddTxFilterSpec(
  241. PIPSEC_NFA_DATA pIpsecNFAData,
  242. PQMPOLICYSTATE pQMPolicyState,
  243. PIPSEC_FILTER_SPEC pFilterSpec,
  244. DWORD dwSource
  245. );
  246. DWORD
  247. PAAddTnFilterSpec(
  248. PIPSEC_NFA_DATA pIpsecNFAData,
  249. PQMPOLICYSTATE pQMPolicyState,
  250. PIPSEC_FILTER_SPEC pFilterSpec,
  251. DWORD dwSource
  252. );
  253. BOOL
  254. AllowsSoft(
  255. DWORD dwSecurityMethodCount,
  256. PIPSEC_SECURITY_METHOD pIpsecSecurityMethods
  257. );
  258. DWORD
  259. PAUpdateQMFilterSpec(
  260. PIPSEC_NFA_DATA pIpsecNFAData,
  261. PQMPOLICYSTATE pQMPolicyState,
  262. PIPSEC_FILTER_SPEC pFilterSpec,
  263. DWORD dwSource
  264. );
  265. DWORD
  266. PAUpdateTxFilterSpec(
  267. PIPSEC_NFA_DATA pIpsecNFAData,
  268. PQMPOLICYSTATE pQMPolicyState,
  269. PIPSEC_FILTER_SPEC pFilterSpec,
  270. DWORD dwSource
  271. );
  272. DWORD
  273. PAUpdateTnFilterSpec(
  274. PIPSEC_NFA_DATA pIpsecNFAData,
  275. PQMPOLICYSTATE pQMPolicyState,
  276. PIPSEC_FILTER_SPEC pFilterSpec,
  277. DWORD dwSource
  278. );