ddn.lib.pcap.win.sendqueue
Windows-specific send queue support for libpcap.
This module provides the PcapSendQueue RAII wrapper for managing high-performance packet transmission on Windows.
License
BSD-3-Clause
Copyright
© 2026 DDN (D Developer Network) Members
struct PcapSendQueue
Types 1
structPcapSendQueue
RAII wrapper for libpcap's pcap_send_queue.
Fields
private pcap_send_queue * _queueMethods
void destroy()Frees the queue resources.int queue(const(pcap_pkthdr) * header, const(ubyte) * data)Adds a packet to the queue.uint transmit(ref PcapHandle handle, bool sync = false)Transmits the contents of the queue.Constructors
this(uint memSize)Constructor allocates a new send queue.Destructors
~thisDestructor destroys the queue.