UdpBufferSize Property of the IFPCLowLevelSettings Interface

The UdpBufferSize property gets or sets the size of the buffers used by the Microsoft Firewall service when transferring data for connections using the UDP protocol.

C++

HRESULT put_UdpBufferSize(
    long lSize
);
HRESULT get_UdpBufferSize(
    long* plSize
);

Parameters

  • lSize
    A 32-bit integer that specifies the size of the buffers used by the Firewall service when transferring data for connections using the UDP protocol.

  • plSize
    Pointer to a variable that on return receives a 32-bit integer specifying the size of the buffers used by the Firewall service when transferring data for connections using the UDP protocol.

Return Value

These property methods return S_OK if the call is successful; otherwise, they return an error code.

Visual Basic

Property UdpBufferSize As Long

Property Value

A 32-bit integer that specifies the size of the buffers used by the Firewall service when transferring data for connections using the UDP protocol.

Remarks

This property is read/write. Its default value is 8,192, and its range of permissible values is from 256 through 65,535.

This property determines the maximum size of a UDP packet that is allowed by the Firewall service. When a UDP packet that is larger than the value set in this property arrives at the Forefront TMG computer, the Firewall service drops the packet and issues event 14152 (EVENT_RWS_UDP_BUFFER_SIZE), which can trigger an Oversized UDP Packet alert.

After the value of this property has been modified, the change must be written to persistent storage by calling the Save method on an object containing FPCLowLevelSettings as a subobject, and the Microsoft Firewall service must be restarted for the change to take effect. For more information about restarting the Firewall service to apply changes, see Restarting Services After Configuration Changes.

This property cannot be accessed through Forefront TMG Management.

Requirements

Client Requires Windows 7 or Windows Vista.
Server Requires Windows Server 2008 R2 or Windows Server 2008 x64 Edition with SP2.
Version Requires Forefront Threat Management Gateway (TMG) 2010.
IDL

Declared in Msfpccom.idl.

DLL

Requires Msfpccom.dll.

See Also

FPCLowLevelSettings

Send comments about this topic to Microsoft

Build date: 6/30/2010