Returns a structure containing the following fields:
The number of octets/bytes sent out the output hook.
The number of frames/packets sent out the output hook.
The number of octets queued from the input hook.
The number of frames queued from the input hook.
The time the last start message was received.
The time the last end message was received or the output packet count was reached.
Either endTime - startTime or current time - startTime.
Clears and resets the statistics returned by getstats (except queueOctets and queueFrames).
As getstats but clears the statistics at the same time.
This message requires a single .Vt uint64_t parameter which is the number of packets to send before stopping. Node starts sending the queued packets out the output hook. The output hook must be connected and node must have interface configured.
Stops the node if it is active.
Clears the packets queued from the input hook.
This message requires the name of the interface to be configured as an argument.