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.

85 lines
1.4 KiB

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