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

typedef struct _txfilterstate {
GUID gFilterID;
GUID gPolicyID;
HANDLE hTxFilter;
struct _txfilterstate * pNext;
} TXFILTERSTATE, * PTXFILTERSTATE;
DWORD
PAAddQMFilters(
PIPSEC_NFA_DATA * ppIpsecNFAData,
DWORD dwNumNFACount
);
DWORD
PAAddTxFilterSpecs(
PIPSEC_NFA_DATA pIpsecNFAData
);
DWORD
PACreateTxFilterState(
PIPSEC_NEGPOL_DATA pIpsecNegPolData,
PIPSEC_NFA_DATA pIpsecNFAData,
PIPSEC_FILTER_SPEC pFilterSpec,
PTXFILTERSTATE * ppTxFilterState
);
DWORD
PACreateTxFilter(
PIPSEC_NEGPOL_DATA pIpsecNegPolData,
PIPSEC_NFA_DATA pIpsecNFAData,
PIPSEC_FILTER_SPEC pFilterSpec,
PQMPOLICYSTATE pQMPolicyState,
PTRANSPORT_FILTER * ppSPDTxFilter
);
VOID
SetFilterActions(
PQMPOLICYSTATE pQMPolicyState,
PFILTER_FLAG pInboundFilterFlag,
PFILTER_FLAG pOutboundFilterFlag
);
VOID
PAFreeTxFilter(
PTRANSPORT_FILTER pSPDTxFilter
);
DWORD
PADeleteAllTxFilters(
);
VOID
PAFreeTxFilterStateList(
PTXFILTERSTATE pTxFilterState
);
DWORD
PADeleteQMFilters(
PIPSEC_NFA_DATA * ppIpsecNFAData,
DWORD dwNumNFACount
);
DWORD
PADeleteTxFilterSpecs(
PIPSEC_NFA_DATA pIpsecNFAData
);
DWORD
PADeleteTxFilter(
GUID gFilterID
);
VOID
PADeleteTxFilterState(
PTXFILTERSTATE pTxFilterState
);
PTXFILTERSTATE
FindTxFilterState(
GUID gFilterID
);