Microsoft Internet Security and Acceleration Server 2004 SDK |
The FwxGetHostByAddrEvent structure contains parameters for an event of the fwx_GetHostByAddr type, as defined in the FwxFirewallEventType enumerated type.
An event of this type event is a notification of a Firewall client operation that uses the Winsock gethostbyaddr function, which requests the host information corresponding to a specific network address. Such an event allows the filter to modify or block a name resolution request generated by gethostbyaddr by calling the IFWXGetXByY::SetResult or IFWXGetXByY::Deny method. Two events are generated, one before and one after the actual name resolution.
typedef struct _tagFwxGetHostByAddrEvent {
BYTE* Address;
DWORD AddressLength;
INT AddressType;
LPHOSTENT Hostent;
DWORD HostentLength;
BOOL fBeforeAction;
FwxFilterAccess FilterAccess;
IFWXGetXByY* piGetXByY; } FwxGetHostByAddrEvent;
The events for which this structure is used are generated only for Firewall clients (sources of type fwxSourceWSP, as defined in the FwxFirewallEventSource enumerated type). They are not generated for SecureNAT clients.
Server: Requires Windows Server 2003 or
Windows 2000.
Version: Requires Internet Security and Acceleration
Server 2004.
Header: Declared in Wspfwext.idl.