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.

58 lines
1.6 KiB

  1. /********************************************************************/
  2. /** Microsoft LAN Manager **/
  3. /** Copyright(c) Microsoft Corp., 1990-1993 **/
  4. /********************************************************************/
  5. /* :ts=4 */
  6. #ifndef _SECFLTR_INCLUDED
  7. #define _SECFLTR_INCLUDED 1
  8. //** SECFLTR.H - Security filtering support
  9. //
  10. // This file contains definitions related to security filtering.
  11. //
  12. //
  13. // Functions
  14. //
  15. extern void
  16. InitializeSecurityFilters(void);
  17. extern void
  18. CleanupSecurityFilters(void);
  19. extern uint
  20. IsSecurityFilteringEnabled(void);
  21. extern void
  22. ControlSecurityFiltering(uint IsEnabled);
  23. extern void
  24. AddProtocolSecurityFilter(IPAddr InterfaceAddress, ulong Protocol,
  25. NDIS_HANDLE ConfigHandle);
  26. extern void
  27. DeleteProtocolSecurityFilter(IPAddr InterfaceAddress, ulong Protocol);
  28. extern TDI_STATUS
  29. AddValueSecurityFilter(IPAddr InterfaceAddress, ulong Protocol,
  30. ulong FilterValue);
  31. extern TDI_STATUS
  32. DeleteValueSecurityFilter(IPAddr InterfaceAddress, ulong Protocol,
  33. ulong FilterValue);
  34. extern void
  35. EnumerateSecurityFilters(IPAddr InterfaceAddress, ulong Protocol,
  36. ulong Value, uchar *Buffer, ulong BufferSize,
  37. ulong *EntriesReturned, ulong *EntriesAvailable);
  38. extern BOOLEAN
  39. IsPermittedSecurityFilter(IPAddr InterfaceAddress, void *IPContext,
  40. ulong Protocol, ulong FilterValue);
  41. #endif // _SECFLTR_INCLUDED
  42.