Hello
Suppose I would like to add few interfaces user /pfring_open() /
and then wait for incoming packets from any of them using
/pfring_recv()/ (wait_for_incoming_packet = 1).
The current method I'm testing is looping on all the attached interfaces
one after another, in a non blocking mode (wait_for_incoming_packet = 0).
While it's working, It's a CPU intense method.
Is there a better way to collect packets from multiple interfaces?
Thank you,
Eitan.
Suppose I would like to add few interfaces user /pfring_open() /
and then wait for incoming packets from any of them using
/pfring_recv()/ (wait_for_incoming_packet = 1).
The current method I'm testing is looping on all the attached interfaces
one after another, in a non blocking mode (wait_for_incoming_packet = 0).
While it's working, It's a CPU intense method.
Is there a better way to collect packets from multiple interfaces?
Thank you,
Eitan.