Allow libpcap buffer size to be set manually.

This commit is contained in:
Kris Nielander 2015-08-09 22:08:46 +02:00
parent 4c2aa804e1
commit f5429ee794
6 changed files with 62 additions and 2 deletions

View file

@ -73,6 +73,9 @@ extern bool using_communication;
// Snaplen passed to libpcap.
extern int snaplen;
// Buffer size passed to libpcap.
extern int bufsize;
extern const Packet* current_pkt;
extern int current_dispatched;
extern double current_timestamp;