mirror of https://github.com/tongzx/nt5src
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
66 lines
1.0 KiB
|
|
|
|
typedef struct _tnfilterstate {
|
|
GUID gFilterID;
|
|
GUID gPolicyID;
|
|
HANDLE hTnFilter;
|
|
struct _tnfilterstate * pNext;
|
|
} TNFILTERSTATE, * PTNFILTERSTATE;
|
|
|
|
|
|
DWORD
|
|
PAAddTnFilterSpecs(
|
|
PIPSEC_NFA_DATA pIpsecNFAData
|
|
);
|
|
|
|
DWORD
|
|
PACreateTnFilterState(
|
|
PIPSEC_NEGPOL_DATA pIpsecNegPolData,
|
|
PIPSEC_NFA_DATA pIpsecNFAData,
|
|
PIPSEC_FILTER_SPEC pFilterSpec,
|
|
PTNFILTERSTATE * ppTnFilterState
|
|
);
|
|
|
|
DWORD
|
|
PACreateTnFilter(
|
|
PIPSEC_NEGPOL_DATA pIpsecNegPolData,
|
|
PIPSEC_NFA_DATA pIpsecNFAData,
|
|
PIPSEC_FILTER_SPEC pFilterSpec,
|
|
PQMPOLICYSTATE pQMPolicyState,
|
|
PTUNNEL_FILTER * ppSPDTnFilter
|
|
);
|
|
|
|
VOID
|
|
PAFreeTnFilter(
|
|
PTUNNEL_FILTER pSPDTnFilter
|
|
);
|
|
|
|
DWORD
|
|
PADeleteAllTnFilters(
|
|
);
|
|
|
|
VOID
|
|
PAFreeTnFilterStateList(
|
|
PTNFILTERSTATE pTnFilterState
|
|
);
|
|
|
|
DWORD
|
|
PADeleteTnFilterSpecs(
|
|
PIPSEC_NFA_DATA pIpsecNFAData
|
|
);
|
|
|
|
DWORD
|
|
PADeleteTnFilter(
|
|
GUID gFilterID
|
|
);
|
|
|
|
VOID
|
|
PADeleteTnFilterState(
|
|
PTNFILTERSTATE pTnFilterState
|
|
);
|
|
|
|
PTNFILTERSTATE
|
|
FindTnFilterState(
|
|
GUID gFilterID
|
|
);
|
|
|