windows-nt/Source/XPSP1/NT/net/tcpip/driver/tcp/secfltr.h
2020-09-26 16:20:57 +08:00

59 lines
1.5 KiB
C
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/********************************************************************/
/** Microsoft LAN Manager **/
/** Copyright(c) Microsoft Corp., 1990-1993 **/
/********************************************************************/
/* :ts=4 */
#ifndef _SECFLTR_INCLUDED
#define _SECFLTR_INCLUDED 1
//** SECFLTR.H - Security filtering support
//
// This file contains definitions related to security filtering.
//
//
// Functions
//
extern void
InitializeSecurityFilters(void);
extern void
CleanupSecurityFilters(void);
extern uint
IsSecurityFilteringEnabled(void);
extern void
ControlSecurityFiltering(uint IsEnabled);
extern void
AddProtocolSecurityFilter(IPAddr InterfaceAddress, ulong Protocol,
NDIS_HANDLE ConfigHandle);
extern void
DeleteProtocolSecurityFilter(IPAddr InterfaceAddress, ulong Protocol);
extern TDI_STATUS
AddValueSecurityFilter(IPAddr InterfaceAddress, ulong Protocol,
ulong FilterValue);
extern TDI_STATUS
DeleteValueSecurityFilter(IPAddr InterfaceAddress, ulong Protocol,
ulong FilterValue);
extern void
EnumerateSecurityFilters(IPAddr InterfaceAddress, ulong Protocol,
ulong Value, uchar *Buffer, ulong BufferSize,
ulong *EntriesReturned, ulong *EntriesAvailable);
extern BOOLEAN
IsPermittedSecurityFilter(IPAddr InterfaceAddress, void *IPContext,
ulong Protocol, ulong FilterValue);
#endif // _SECFLTR_INCLUDED