Merge remote branch 'origin/topic/jsiwek/snaplen'

* origin/topic/jsiwek/snaplen:
  Change default snaplen to 65535, add -l/--snaplen command line option.

Closes #447.
This commit is contained in:
Robin Sommer 2011-09-04 08:32:37 -07:00
commit ccad24b685
3 changed files with 14 additions and 8 deletions

View file

@ -75,6 +75,9 @@ extern bool terminating;
// True if the remote serializer is to be activated.
extern bool using_communication;
// Snaplen passed to libpcap.
extern int snaplen;
extern const struct pcap_pkthdr* current_hdr;
extern const u_char* current_pkt;
extern int current_dispatched;