Add generic intrusive FIFO queue
We need several FIFO queues (a queue of packets, a queue of messages, etc.). Some of them are implemented using cbuf, a generic circular buffer. But for recording, we need to store the packets in an unbounded queue until they are written, so the queue was implemented manually. Create a generic implementation (using macros) to avoid reimplementing it every time.
R
Romain Vimont committed
53b6ee2cf493fc8574d41290df7462ffb6e7eb7c
Parent: 26213f1