|
Click
|
This iterator allows to iterate the content in the buffer seamlessly accross the packets. More...
#include <flowbuffer.hh>
Public Member Functions | |
| FlowBufferContentIter (FlowBuffer *_flowBuffer, Packet *packet, int posInFirstPacket=0) | |
| Construct a FlowBufferContentIter. | |
| bool | operator== (const FlowBufferContentIter &other) const |
| Compare two FlowBufferContentIter. | |
| bool | operator!= (const FlowBufferContentIter &other) const |
| Compare two FlowBufferContentIter. | |
| unsigned char & | operator* () |
| Return the byte to which this iterator points. | |
| unsigned char * | get_ptr () |
| Return the byte to which this iterator points. | |
| FlowBufferContentIter & | operator++ () |
| Move the iterator to the next byte in the buffer. | |
| FlowBufferContentIter & | operator+= (int p) |
| Move the iterator to the next N bytes in the buffer. | |
| operator bool () const | |
| PacketBatch * | flush () |
| Packet * | current () |
| bool | lastChunk () |
| void | moveToNextChunk () |
| int | leftInChunk () |
| void | print_ascii () |
This iterator allows to iterate the content in the buffer seamlessly accross the packets.
|
inline |
Construct a FlowBufferContentIter.
| _flowBuffer | The FlowBuffer to which this iterator is linked |
| _entry | The entry in the buffer to which this iterator points |
|
inline |
Compare two FlowBufferContentIter.
| other | The FlowBufferContentIter to be compared to |
|
inline |
Compare two FlowBufferContentIter.
| other | The FlowBufferContentIter to be compared to |
|
inline |
Return the byte to which this iterator points.
|
inline |
Return the byte to which this iterator points.
|
inline |
Move the iterator to the next byte in the buffer.
|
inline |
Move the iterator to the next N bytes in the buffer.
|
inline |
Return all packets up to the current position, not included