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.

92 lines
1.6 KiB

  1. typedef struct _txfilterstate {
  2. GUID gFilterID;
  3. GUID gNFAIdentifier;
  4. GUID gPolicyID;
  5. HANDLE hTxFilter;
  6. struct _txfilterstate * pNext;
  7. } TXFILTERSTATE, * PTXFILTERSTATE;
  8. DWORD
  9. PAAddQMFilters(
  10. PIPSEC_NFA_DATA * ppIpsecNFAData,
  11. DWORD dwNumNFACount,
  12. DWORD dwSource,
  13. BOOL * pbHardError
  14. );
  15. DWORD
  16. PAAddTxFilterSpecs(
  17. PIPSEC_NFA_DATA pIpsecNFAData,
  18. DWORD dwSource,
  19. BOOL * pbHardError
  20. );
  21. DWORD
  22. PACreateTxFilterState(
  23. PIPSEC_NEGPOL_DATA pIpsecNegPolData,
  24. PIPSEC_NFA_DATA pIpsecNFAData,
  25. PIPSEC_FILTER_SPEC pFilterSpec,
  26. PTXFILTERSTATE * ppTxFilterState
  27. );
  28. DWORD
  29. PACreateTxFilter(
  30. PIPSEC_NEGPOL_DATA pIpsecNegPolData,
  31. PIPSEC_NFA_DATA pIpsecNFAData,
  32. PIPSEC_FILTER_SPEC pFilterSpec,
  33. PQMPOLICYSTATE pQMPolicyState,
  34. PTRANSPORT_FILTER * ppSPDTxFilter
  35. );
  36. VOID
  37. SetFilterActions(
  38. PQMPOLICYSTATE pQMPolicyState,
  39. PFILTER_ACTION pInboundFilterAction,
  40. PFILTER_ACTION pOutboundFilterAction
  41. );
  42. VOID
  43. PAFreeTxFilter(
  44. PTRANSPORT_FILTER pSPDTxFilter
  45. );
  46. DWORD
  47. PADeleteAllTxFilters(
  48. );
  49. VOID
  50. PAFreeTxFilterStateList(
  51. PTXFILTERSTATE pTxFilterState
  52. );
  53. DWORD
  54. PADeleteQMFilters(
  55. PIPSEC_NFA_DATA * ppIpsecNFAData,
  56. DWORD dwNumNFACount
  57. );
  58. DWORD
  59. PADeleteTxFilterSpecs(
  60. PIPSEC_NFA_DATA pIpsecNFAData
  61. );
  62. DWORD
  63. PADeleteTxFilter(
  64. GUID gFilterID,
  65. GUID gNFAIdentifier
  66. );
  67. VOID
  68. PADeleteTxFilterState(
  69. PTXFILTERSTATE pTxFilterState
  70. );
  71. PTXFILTERSTATE
  72. FindTxFilterState(
  73. GUID gFilterID,
  74. GUID gNFAIdentifier
  75. );