FwxFirewallEventType Enumeration

The FwxFirewallEventType enumerated type contains values that specify the types of events raised by the Microsoft Firewall service for which a filter may receive notifications. Each value in this enumeration represents a single bit. Values can be combined by using the bitwise OR operator to specify a set of events.

Syntax

typedef enum FwxFirewallEventType {
  fwx_Connect_Tcp
fwx_Connect_Tcp

Request to connect to a TCP socket. Information related to an event of this type is supplied in an FwxConnectEvent structure.

			 = 0x00000001,
  fwx_Udp_Destination
fwx_Udp_Destination

Request to connect to or send data to a UDP socket. Information related to an event of this type is supplied in an FwxUdpDestination structure.

		 = 0x00000002,
  fwx_Bind_Tcp
fwx_Bind_Tcp

Request to bind to a TCP socket. Information related to an event of this type is supplied in an FwxBindEvent structure.

				= 0x00000004,
  fwx_Bind_Udp
fwx_Bind_Udp

Request to connect to a UDP socket. Information related to an event of this type is supplied in an FwxBindEvent structure.

				= 0x00000008,
  fwx_Listen
fwx_Listen

Request to listen on a TCP socket. Information related to an event of this type is supplied in an FwxListenEvent structure.

				= 0x00000010,
  fwx_AcceptedConnection
fwx_AcceptedConnection

Arrival of an inbound connection on a listening TCP socket. Information related to an event of this type is supplied in an FwxAcceptEvent structure.

	= 0x00000020,
  fwx_GetHostByName
fwx_GetHostByName

Call to the gethostbyname function by a Firewall client. This event is not generated for a SecureNAT client. Information related to an event of this type is supplied in an FwxGetHostByNameEvent structure.

		 = 0x00000040,
  fwx_GetHostByAddr
fwx_GetHostByAddr

Call to the gethostbyaddr function by a Firewall client. This event is not generated for a SecureNAT client. Information related to an event of this type is supplied in an FwxGetHostByAddrEvent structure.

		 = 0x00000080,
  fwx_ConnectionTerminating
fwx_ConnectionTerminating

Existence of a connection object that will be deleted when all references to it are released. Information related to an event of this type is supplied in an FwxEndConnectionEvent structure.

   = 0x00000100,
  fwx_EstablishedConnection
fwx_EstablishedConnection

Establishment of a connection as a result of a call to the IFWXSession::AllowFutureConnect, IFWXSession::BindForClient, or IFWXSession::RedirectConnections method. Information related to an event of this type is supplied in an FwxEstablishedConnectionEvent structure.

   = 0x00000200
} FwxFirewallEventType;

Constants

fwx_Connect_Tcp

Request to connect to a TCP socket. Information related to an event of this type is supplied in an FwxConnectEvent structure.

fwx_Udp_Destination

Request to connect to or send data to a UDP socket. Information related to an event of this type is supplied in an FwxUdpDestination structure.

fwx_Bind_Tcp

Request to bind to a TCP socket. Information related to an event of this type is supplied in an FwxBindEvent structure.

fwx_Bind_Udp

Request to connect to a UDP socket. Information related to an event of this type is supplied in an FwxBindEvent structure.

fwx_Listen

Request to listen on a TCP socket. Information related to an event of this type is supplied in an FwxListenEvent structure.

fwx_AcceptedConnection

Arrival of an inbound connection on a listening TCP socket. Information related to an event of this type is supplied in an FwxAcceptEvent structure.

fwx_GetHostByName

Call to the gethostbyname function by a Firewall client. This event is not generated for a SecureNAT client. Information related to an event of this type is supplied in an FwxGetHostByNameEvent structure.

fwx_GetHostByAddr

Call to the gethostbyaddr function by a Firewall client. This event is not generated for a SecureNAT client. Information related to an event of this type is supplied in an FwxGetHostByAddrEvent structure.

fwx_ConnectionTerminating

Existence of a connection object that will be deleted when all references to it are released. Information related to an event of this type is supplied in an FwxEndConnectionEvent structure.

fwx_EstablishedConnection

Establishment of a connection as a result of a call to the IFWXSession::AllowFutureConnect, IFWXSession::BindForClient, or IFWXSession::RedirectConnections method. Information related to an event of this type is supplied in an FwxEstablishedConnectionEvent structure.

Requirements

Server Requires Windows Server 2008.
Version Requires Forefront Threat Management Gateway (TMG).
Header

Declared in Wspfwext.idl.

See Also

Filter Enumerated Types
IFWXConnection
IFWXSession::SetDataFilterFactory


Send comments about this topic to Microsoft

Build date: 11/30/2009

© 2008 Microsoft Corporation. All rights reserved.

[an error occurred while processing this directive]