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.

70 lines
1.2 KiB

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