LiteSpeed QUIC Library
Data Fields
lsquic_packout_mem_if Struct Reference

#include <lsquic.h>

Data Fields

void *(* pmi_allocate )(void *pmi_ctx, size_t sz)
 
void(* pmi_release )(void *pmi_ctx, void *obj)
 

Detailed Description

The packet out memory interface is used by LSQUIC to get buffers to which outgoing packets will be written before they are passed to ea_packets_out callback. pmi_release() is called at some point, usually after the packet is sent successfully, to return the buffer to the pool.

If not specified, malloc() and free() are used.


The documentation for this struct was generated from the following file: