Partager via


IPFreeBuff function

Do not write a firewall-hook driver to process incoming and outgoing packets. For more information, see Firewall-Hook Drivers.

The IPFreeBuff function releases memory for a chain of buffers and their descriptors.

Syntax

VOID IPFreeBuff(
  _In_ IPRcvBuf *pRcvBuf
);

Parameters

  • pRcvBuf [in]
    Pointer to an IPRcvBuf structure that represents the buffer descriptor at the head of a chain of buffer descriptors for which IPFreeBuff releases memory.

Return value

None

Remarks

If a firewall-hook driver previously created a chain of buffer descriptors and called the IPAllocBuff function to allocate memory for each buffer in each descriptor, the firewall-hook driver should call IPFreeBuff to release the memory for the chain.

Requirements

Target platform

Desktop

Header

Ipfirewall.h (include Ipfirewall.h)

Library

Tcpip.lib

See also

IPAllocBuff

 

 

Send comments about this topic to Microsoft