FwxFirewallEventType enumeration

Applies to: desktop apps only

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            = 0x00000001,
  fwx_Udp_Destination        = 0x00000002,
  fwx_Bind_Tcp               = 0x00000004,
  fwx_Bind_Udp               = 0x00000008,
  fwx_Listen                 = 0x00000010,
  fwx_AcceptedConnection     = 0x00000020,
  fwx_GetHostByName          = 0x00000040,
  fwx_GetHostByAddr          = 0x00000080,
  fwx_ConnectionTerminating  = 0x00000100,
  fwx_EstablishedConnection  = 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 Forefront TMG Client or Firewall Client computer. 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 Forefront TMG Client or Firewall Client computer. 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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only)

Version

Forefront Threat Management Gateway (TMG) 2010

Header

Wspfwext.idl

See also

Filter Enumerated Types

IFWXConnection

IFWXSession::SetDataFilterFactory

 

 

Build date: 7/12/2010