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.

66 lines
1.0 KiB

  1. typedef struct _tnfilterstate {
  2. GUID gFilterID;
  3. GUID gPolicyID;
  4. HANDLE hTnFilter;
  5. struct _tnfilterstate * pNext;
  6. } TNFILTERSTATE, * PTNFILTERSTATE;
  7. DWORD
  8. PAAddTnFilterSpecs(
  9. PIPSEC_NFA_DATA pIpsecNFAData
  10. );
  11. DWORD
  12. PACreateTnFilterState(
  13. PIPSEC_NEGPOL_DATA pIpsecNegPolData,
  14. PIPSEC_NFA_DATA pIpsecNFAData,
  15. PIPSEC_FILTER_SPEC pFilterSpec,
  16. PTNFILTERSTATE * ppTnFilterState
  17. );
  18. DWORD
  19. PACreateTnFilter(
  20. PIPSEC_NEGPOL_DATA pIpsecNegPolData,
  21. PIPSEC_NFA_DATA pIpsecNFAData,
  22. PIPSEC_FILTER_SPEC pFilterSpec,
  23. PQMPOLICYSTATE pQMPolicyState,
  24. PTUNNEL_FILTER * ppSPDTnFilter
  25. );
  26. VOID
  27. PAFreeTnFilter(
  28. PTUNNEL_FILTER pSPDTnFilter
  29. );
  30. DWORD
  31. PADeleteAllTnFilters(
  32. );
  33. VOID
  34. PAFreeTnFilterStateList(
  35. PTNFILTERSTATE pTnFilterState
  36. );
  37. DWORD
  38. PADeleteTnFilterSpecs(
  39. PIPSEC_NFA_DATA pIpsecNFAData
  40. );
  41. DWORD
  42. PADeleteTnFilter(
  43. GUID gFilterID
  44. );
  45. VOID
  46. PADeleteTnFilterState(
  47. PTNFILTERSTATE pTnFilterState
  48. );
  49. PTNFILTERSTATE
  50. FindTnFilterState(
  51. GUID gFilterID
  52. );