PcapSendQueue.queue
int queue(const(pcap_pkthdr) * header, const(ubyte) * data)Adds a packet to the queue.
Parameters
header | The packet header. |
data | The packet data. |
Returns
0 on success, -1 if the queue is full.
int queue(const(pcap_pkthdr) * header, const(ubyte) * data)Adds a packet to the queue.
header | The packet header. |
data | The packet data. |